Skip to content

Commit

Permalink
Add basic test coverage for an objdump log with 'X'
Browse files Browse the repository at this point in the history
No visualization yet as I'm unsure how to replicate that in
the real world such that I can inspect the 'X' visually.

Relates-To: #527
  • Loading branch information
milianw committed Nov 11, 2023
1 parent 675e75f commit e935025
Show file tree
Hide file tree
Showing 3 changed files with 907 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/models/disassemblyoutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ DisassemblyOutput::ObjectdumpOutput DisassemblyOutput::objdumpParse(const QByteA
QString sourceFileName;
QString currentSourceFileName;

int sourceCodeLine = 0;
int sourceCodeLine = -1;
while (stream.readLineInto(&asmLine)) {
if (asmLine.isEmpty())
continue;
Expand Down
Loading

0 comments on commit e935025

Please sign in to comment.