aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux/decompile/arm64
Commit message (Collapse)AuthorAgeFilesLines
* pkg/report: make opcode decompilation more intelligentAleksandr Nogikh2021-08-192-8/+1
| | | | | | | | | | | Skip Code: lines that refer to user-space. Skip code listings where the trapping instruction is an intentionally invalid one (this happens in WARNINGs and most of BUG reports). Decompilation of such code fragments provides no value to the user. Add new tests and update the existing ones. Closes #2709 and #2710.
* pkg/report: decompile opcodes from reportsAleksandr Nogikh2021-08-124-0/+196
Improve Linux reports quality by decompiling "Code: " descriptions. As that line of opcodes is not guaranteed to begin at the boundary of an instruction, try to find the right boundary. Handle the cases of multiple "Code: ..." lines by only decompiling the first one. In most cases the last such line shows user-space bytes, which is usually not of great importance.