Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
SPYFF authored and yonghong-song committed Aug 3, 2020
1 parent 8105317 commit 6432324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/trace_example.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ objdump --disassemble=main --prefix-addresses a.out
000000000000109e <main+0x3e> retq

The 0xdead and later the 0xbeef values are moved into the edx register.
As the dissassembly shows the edx register contains the 0xdead value
As the disassembly shows the edx register contains the 0xdead value
after the 0xd offset and 0xbeef after the 0x25 offset. To verify this
with trace lets insert probes to those offsets. The following
command insert two uprobe one after the 0xd offset and another one
command inserts two uprobe one after the 0xd offset and another one
after the 0x25 offset of the main function. The probe print the
value of the edx register which will show us the correct values.

Expand Down

0 comments on commit 6432324

Please sign in to comment.