lifting-bits / sleigh

Unofficial CMake build for Ghidra's C++ SLEIGH code
Apache License 2.0
130 stars 22 forks source link

Remove unnecessary `sign_extend` patch #194

Closed tetsuo-cpp closed 1 year ago

tetsuo-cpp commented 1 year ago

Sorry @ekilmer, I misunderstood what was going on earlier.

The issue was actually with the UBSAN patch to the sign_extend function and not the upstream commit itself. When https://github.com/NationalSecurityAgency/ghidra/commit/3c08b44a1e9e993bf0f5d4b87e20a66c0d049f3c landed, I had to regenerate the UBSAN patch but I botched the part of the patch that modifies sign_extend and introduced this bug.

Now that the UBSAN patch no longer touches this function, I should just get rid of the new patch and things should "just work".