Skip to content

Instantly share code, notes, and snippets.

@bartosh
Created July 21, 2017 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bartosh/6e0e2c2c0c0a7f28a2c4d0c2814f223e to your computer and use it in GitHub Desktop.
Save bartosh/6e0e2c2c0c0a7f28a2c4d0c2814f223e to your computer and use it in GitHub Desktop.
$ diff -u test/m4.stripped.patched.ok.txt test/m4.stripped.patched.nok.txt
--- test/m4.stripped.patched.ok.txt 2017-07-21 07:05:22.572000000 +0000
+++ test/m4.stripped.patched.nok.txt 2017-07-21 07:05:31.936000000 +0000
@@ -80,9 +80,9 @@
000000000000001c 0000000000000000 0 0 4
[28] .shstrtab STRTAB 0000000000000000 0002247c
0000000000000132 0000000000000000 0 0 1
- [29] .interp PROGBITS 000000000002d000 00023000
+ [29] .interp PROGBITS 0000000000023000 00023000
000000000000001c 0000000000000000 A 0 0 8
- [30] .note.ABI-tag NOTE 000000000002d020 00023020
+ [30] .note.ABI-tag NOTE 0000000000023020 00023020
0000000000000020 0000000000000000 A 0 0 8
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
@@ -111,10 +111,10 @@
0x0000000000000c00 0x0000000000000c00 RW 0x20
DYNAMIC 0x0000000000021db0 0x0000000000022db0 0x0000000000022db0
0x00000000000001f0 0x00000000000001f0 RW 0x8
- INTERP 0x0000000000023000 0x000000000002d000 0x000000000002d000
+ INTERP 0x0000000000023000 0x0000000000023000 0x0000000000023000
0x000000000000001c 0x000000000000001c R 0x1
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
- LOAD 0x0000000000023000 0x000000000002d000 0x000000000002d000
+ LOAD 0x0000000000023000 0x0000000000023000 0x0000000000023000
0x0000000000000040 0x0000000000000040 RW 0x1000
Section to Segment mapping:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment