bytedance / android-inline-hook

:fire: ShadowHook is an Android inline hook library which supports thumb, arm32 and arm64.
https://github.com/bytedance/android-inline-hook/tree/main/doc
MIT License
1.69k stars 294 forks source link

thumb16 IT指令存在问题 #80

Open i0rn opened 3 weeks ago

i0rn commented 3 weeks ago

ShadowHook Version

1

Android OS Version

1

Android ABIs

armeabi-v7a

Device Manufacturers and Models

code

Describe the Bug

sh_t16_parse_it中 it->firstcond = (uint8_t)(inst >> 4u); uint8_t firstcond_0 = it->firstcond & 1u;

memset(it, 0, sizeof(sh_t16_it_t)); it->insts_cnt = sh_t16_get_it_insts_count(inst);

it->firstcond永远为0

Colibrow commented 2 days ago

感谢反馈。当前问题在1.1.1版本中已经修复。