Skip to content

Commit

Permalink
Merge pull request #728 from wader/elf-fix-static-tests
Browse files Browse the repository at this point in the history
elf: Fix broken static and segfault tests
  • Loading branch information
wader authored Aug 2, 2023
2 parents 9c3d09b + 56fec2a commit dea9303
Show file tree
Hide file tree
Showing 36 changed files with 25,228 additions and 20,198 deletions.
2 changes: 1 addition & 1 deletion format/elf/testdata/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ a_stripped: a_dynamic
strip -o $@ $<

a_static: a.o libbbb.a
$(CC) -o $@ $+ libbbb.a
$(CC) -static -o $@ $+ libbbb.a

segfault: segfault.o
$(CC) -o $@ $<
Expand Down
Binary file modified format/elf/testdata/linux_386/a_dynamic
Binary file not shown.
2,354 changes: 1,177 additions & 1,177 deletions format/elf/testdata/linux_386/a_dynamic.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_386/a_static
Binary file not shown.
3,904 changes: 2,156 additions & 1,748 deletions format/elf/testdata/linux_386/a_static.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_386/a_stripped
Binary file not shown.
1,220 changes: 610 additions & 610 deletions format/elf/testdata/linux_386/a_stripped.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_386/coredump
Binary file not shown.
150 changes: 76 additions & 74 deletions format/elf/testdata/linux_386/coredump.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_amd64/a_dynamic
Binary file not shown.
2,376 changes: 1,188 additions & 1,188 deletions format/elf/testdata/linux_amd64/a_dynamic.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_amd64/a_static
Binary file not shown.
3,844 changes: 2,107 additions & 1,737 deletions format/elf/testdata/linux_amd64/a_static.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_amd64/a_stripped
Binary file not shown.
1,266 changes: 633 additions & 633 deletions format/elf/testdata/linux_amd64/a_stripped.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_amd64/coredump
Binary file not shown.
122 changes: 61 additions & 61 deletions format/elf/testdata/linux_amd64/coredump.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm64/a_dynamic
Binary file not shown.
2,584 changes: 1,292 additions & 1,292 deletions format/elf/testdata/linux_arm64/a_dynamic.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm64/a_static
Binary file not shown.
5,074 changes: 2,980 additions & 2,094 deletions format/elf/testdata/linux_arm64/a_static.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm64/a_stripped
Binary file not shown.
1,162 changes: 581 additions & 581 deletions format/elf/testdata/linux_arm64/a_stripped.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm_v6/a_dynamic
Binary file not shown.
3,537 changes: 1,770 additions & 1,767 deletions format/elf/testdata/linux_arm_v6/a_dynamic.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm_v6/a_static
Binary file not shown.
6,019 changes: 3,848 additions & 2,171 deletions format/elf/testdata/linux_arm_v6/a_static.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm_v6/a_stripped
Binary file not shown.
1,126 changes: 563 additions & 563 deletions format/elf/testdata/linux_arm_v6/a_stripped.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm_v7/a_dynamic
Binary file not shown.
3,537 changes: 1,770 additions & 1,767 deletions format/elf/testdata/linux_arm_v7/a_dynamic.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm_v7/a_static
Binary file not shown.
6,019 changes: 3,848 additions & 2,171 deletions format/elf/testdata/linux_arm_v7/a_static.fqtest

Large diffs are not rendered by default.

Binary file modified format/elf/testdata/linux_arm_v7/a_stripped
Binary file not shown.
1,126 changes: 563 additions & 563 deletions format/elf/testdata/linux_arm_v7/a_stripped.fqtest

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions format/elf/testdata/segfault.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
void main()
{
(*(int *)0) = 0;
}

0 comments on commit dea9303

Please sign in to comment.