cisco-open / llvm-crash-analyzer

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

Skip invalid instructions and Detect last frame in backtrace #46

Closed alirezamoshtaghi closed 1 year ago

alirezamoshtaghi commented 1 year ago

Description

Some times compiler generates dead code segments with invalid instructions. Our decompiler fails to recognize these segments and often fails to detect crash start. this pull request teaches the disassembler to skip these code segments and generate a note on the screen to notify user that there are invalid instructions.

Also, this PR fixes a bug in backtrace generation where the last frame is not detected.

Type of Change

Checklist