aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux/decompile
Commit message (Collapse)AuthorAgeFilesLines
* pkg/report: update decompile testsAleksandr Nogikh2023-07-112-3/+3
| | | | Newer arm compiler versions produce somewhat different output.
* pkg/report: don't decompile opcodes for hanged reportsAleksandr Nogikh2022-07-121-21/+0
| | | | | | | It doesn't bring any extra value and only makes the reports bigger. Don't do such decompilation for hang-related reports. Refactor the opcode tests to rely more on the more generic NewReporter constructor.
* pkg/report: make opcode decompilation more intelligentAleksandr Nogikh2021-08-199-28/+233
| | | | | | | | | | | 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-192-4/+4
| | | | | | | | 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-1212-0/+922
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.