microsoft / Detours

Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form.
MIT License
5.01k stars 979 forks source link

ARM64 is detour_does_code_end_function correct? #238

Open DavidXanatos opened 2 years ago

DavidXanatos commented 2 years ago

https://github.com/microsoft/Detours/blob/45a76a359989aa0ce037440449976a777fd01e63/src/detours.cpp#L1157

shouldn't br not be checking to match 0xd61f0000 ????

see here: https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/BR--Branch-to-Register-