summaryrefslogtreecommitdiff
path: root/misc/elf2diff.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-23 19:46:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-23 19:46:30 (GMT)
commit3c5bdffd74d21f6c156730a91d3c78b59eb83b42 (patch)
treeaf5f6fd7ef987ce2668c32feecb4bca2cb96ce91 /misc/elf2diff.c
parent27d9a07db9d3bc2027003ba218acee940ae7ed3f (diff)
Added binary diffing examples.
Diffstat (limited to 'misc/elf2diff.c')
-rw-r--r--misc/elf2diff.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/elf2diff.c b/misc/elf2diff.c
new file mode 100644
index 0000000..1057d3c
--- /dev/null
+++ b/misc/elf2diff.c
@@ -0,0 +1,16 @@
+
+#include <stdio.h>
+
+static void show_me(int n)
+{
+ printf("Hello World %d\n", n);
+
+}
+
+int main(void)
+{
+ show_me(NUMBER);
+
+ return 0;
+
+}