cisco-open / llvm-crash-analyzer

llvm crash analysis
Apache License 2.0
40 stars 17 forks source link

Patch to fix disassembly issue. #59

Closed gsidhard closed 9 months ago

gsidhard commented 9 months ago

Description

This patch fixes the disassembly issue raised by Ananth. Earlier, we were calling the the SBProcess::ReadMemory() method of the process to read the content of memory addresses. With this fix, we call the Target::ReadMemory(), which in turn will call the SBProcess::ReadMemory(), and will invoke code to read from the text section if this does not return the expected number of bytes in the buffer..

Type of Change

Checklist