]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: unstrip: Add test for mismatched .strtab sections
authorKevin Cernekee <cernekee@chromium.org>
Sun, 23 Oct 2016 17:25:56 +0000 (10:25 -0700)
committerMark Wielaard <mjw@redhat.com>
Mon, 24 Oct 2016 10:48:43 +0000 (12:48 +0200)
commit33ca0e1b9dfb47c6f9836c7fc19d04bd34337767
tree008b0e81bbf00f98832d88be73fe34459f2e213c
parent502380c7acbb12055941fac248df77132caa7194
tests: unstrip: Add test for mismatched .strtab sections

Current unstrip test cases either have no .symtab/.strtab in the
stripped binary, or .strtab sections that are identical between the
stripped and debuginfo binaries.  Add a test case where .symtab/.strtab
in the stripped binary contains a small subset of the full unstripped
data.

Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
tests/ChangeLog
tests/Makefile.am
tests/run-unstrip-test4.sh [new file with mode: 0755]
tests/testfile-strtab.bz2 [new file with mode: 0644]
tests/testfile-strtab.debuginfo.bz2 [new file with mode: 0644]
tests/testfile-strtab.stripped.bz2 [new file with mode: 0644]