aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux/decompile/amd64/0.out
Commit message (Collapse)AuthorAgeFilesLines
* pkg/report: make opcode decompilation more intelligentAleksandr Nogikh2021-08-191-18/+0
| | | | | | | | | | | 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: return more information from opcode decompilerAleksandr Nogikh2021-08-191-1/+1
| | | | | | | | Let decompiler also parse the exact command name. Perform right trim on the full output line, as it may contain tabs and spaces at the end. Introduce an "-update" flag to facilitate mass updating of opcode decompilation tests after changes to this functionality.
* pkg/report: decompile opcodes from reportsAleksandr Nogikh2021-08-121-0/+66
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.