mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
disasm: Print correct offset-relative jumps in ELF file disassembly
This commit is contained in:
parent
8126104a03
commit
a2b99dd3ea
Notes:
sideshowbarker
2024-07-19 03:39:39 +09:00
Author: https://github.com/nico
Commit: a2b99dd3ea
Pull-request: https://github.com/SerenityOS/serenity/pull/3126
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ int main(int argc, char** argv)
|
|||
is_first_symbol = false;
|
||||
}
|
||||
|
||||
out() << String::format("%08x", virtual_offset) << " " << insn.value().to_string(offset);
|
||||
out() << String::format("%08x", virtual_offset) << " " << insn.value().to_string(virtual_offset);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue