Skip to content

Commit 11b3361

Browse files
authored
Merge pull request #47 from joe-lawrence/ubsan
ppc64le, s390x, x86_64: add UBSAN instrumented objects
2 parents b1b6cc3 + e7b6269 commit 11b3361

File tree

9 files changed

+19
-0
lines changed

9 files changed

+19
-0
lines changed

ppc64le/cmdline-ubsan.ORIG.o

3.56 KB
Binary file not shown.

ppc64le/cmdline-ubsan.PATCHED.o

3.71 KB
Binary file not shown.

ppc64le/cmdline-ubsan.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
source $KPATCH_TEST_LIBRARY
3+
4+
# $ nm cmdline-ubsan.OUTPUT.o | grep -i " t "
5+
# 0000000000000008 t cmdline_proc_show
6+
assert_num_funcs 1

s390x/cmdline-ubsan.ORIG.o

3.22 KB
Binary file not shown.

s390x/cmdline-ubsan.PATCHED.o

3.32 KB
Binary file not shown.

s390x/cmdline-ubsan.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
source $KPATCH_TEST_LIBRARY
3+
4+
# $ nm cmdline-ubsan.OUTPUT.o | grep -i " t "
5+
# 0000000000000000 t cmdline_proc_show
6+
assert_num_funcs 1

x86_64/cmdline-ubsan.ORIG.o

4.77 KB
Binary file not shown.

x86_64/cmdline-ubsan.PATCHED.o

4.76 KB
Binary file not shown.

x86_64/cmdline-ubsan.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
source $KPATCH_TEST_LIBRARY
3+
4+
# $ nm cmdline-ubsan.OUTPUT.o | grep -i " t "
5+
# 0000000000000010 t cmdline_proc_show
6+
# 0000000000000000 t __pfx_cmdline_proc_show
7+
assert_num_funcs 2

0 commit comments

Comments
 (0)