From: John Chen Date: Sat, 4 Jun 2016 05:01:13 +0000 (-0700) Subject: Add more opcodes to x86 stack unwinder (#5491) X-Git-Tag: accepted/tizen/base/20180629.140029~4427 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=432c2fffd848e848f3cf81b897801c3eb84aa181;p=platform%2Fupstream%2Fcoreclr.git Add more opcodes to x86 stack unwinder (#5491) Add x86 opcodes 0x01 and 0x03 (ADD instruction) to stack unwinder. These instructions are generated by C++ compiler as part of the JIT_StaticFieldAddress_Dynamic method, triggering issue #5464. --- diff --git a/src/vm/i386/gmsx86.cpp b/src/vm/i386/gmsx86.cpp index 97557c8..e7e16b7 100644 --- a/src/vm/i386/gmsx86.cpp +++ b/src/vm/i386/gmsx86.cpp @@ -866,6 +866,8 @@ void LazyMachState::unwindLazyState(LazyMachState* baseState, datasize = b16bit?2:4; goto decodeRM; + case 0x01: // ADD mod/rm + case 0x03: case 0x29: // SUB mod/rm case 0x2B: datasize = 0;