You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
如果可以的话,该怎么实现呢?比如我hook fstream里面的
template <class _CharT, class _Traits>
void
basic_ifstream<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
{
if (_sb.open(__s, __mode | ios_base::in))
this->clear();
else
this->setstate(ios_base::failbit);
}
像这个open 函数可以hook 吗?
Beta Was this translation helpful? Give feedback.
All reactions