forked from OSchip/llvm-project
[asan] Add more x86 prologue decodings to handle x64 VC 2017 CRT
Fixes atoi and strtol interception. llvm-svn: 316482
This commit is contained in:
parent
ee68d8e41f
commit
80db37ec25
|
@ -553,7 +553,10 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
|
|||
case 0x246c8948: // 48 89 6C 24 XX : mov QWORD ptr [rsp + XX], rbp
|
||||
case 0x245c8948: // 48 89 5c 24 XX : mov QWORD PTR [rsp + XX], rbx
|
||||
case 0x24748948: // 48 89 74 24 XX : mov QWORD PTR [rsp + XX], rsi
|
||||
case 0x244C8948: // 48 89 4C 24 XX : mov QWORD PTR [rsp + XX], rcx
|
||||
return 5;
|
||||
case 0x24648348: // 48 83 64 24 XX : and QWORD PTR [rsp + XX], YY
|
||||
return 6;
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue