反伪c代码都成啥样了?还反汇编
反伪c代码都成啥样了?还反汇编
原代码:
void* hook_memset(void* s, int c, size_t size) {
uintptr_t ret = reinterpret_cast<uintptr_t>(builtin_return_address(0)) - libanogsBase;
LOGI("memset [size: %p] [ret: %p]", (void*)size, (void*)ret);
if (size == 0x18size == 0x820size == 0x420) {
return 0LL;
}
return memset(s, c, size);
}