[compiler-rt] [win/asan] GetInstructionSize: Make `83 E4 XX` a generic entry. (PR #119644)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 01:30:06 PST 2024


================
@@ -643,8 +644,7 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
       return 0;
   }
 
-  switch (0x00FFFFFF & *(u32*)address) {
-    case 0xF8E483:  // 83 E4 F8 : and esp, 0xFFFFFFF8
----------------
zmodem wrote:

Looks like we returned 7 for this before, which seems like a bug?

https://github.com/llvm/llvm-project/pull/119644


More information about the llvm-commits mailing list