[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 02:36:05 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
----------------
bernhardu wrote:

Thanks for catching, seems I got lost track of this information during perparing this instruction for submission.
I have pushed a new version, just changing the commit message.

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


More information about the llvm-commits mailing list