fix: print correct length in DW_FORM_exprloc
This commit is contained in:
parent
49d52061f7
commit
66762058a9
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
|
@ -242,7 +242,7 @@ void parse_debuginfo_section(const void *file)
|
||||||
p += decode_leb128((uint8_t*)p, &length);
|
p += decode_leb128((uint8_t*)p, &length);
|
||||||
// TODO: save this data
|
// TODO: save this data
|
||||||
p += length;
|
p += length;
|
||||||
fprintf(stdout, "(%d bytes data)\n");
|
fprintf(stdout, "(%d bytes data)\n", length);
|
||||||
} break;
|
} break;
|
||||||
case DW_FORM_flag_present:
|
case DW_FORM_flag_present:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue