You need to sign in or sign up before continuing.
Add new elfmix.a ELF test file with a range of different file types.
Now that StaticLibFile is out of the way, show off ArFile's recursive ability to: - not care about the .a suffix and not behave differently depending on filenames; - not crash and lose everything when some archive members are not ELF; - gracefully fall back and run the next best tool for a cross-compiled ELF and a sample of non-ELF members - including the corresponding .c source. Tests issue #64, see more details there. In addition to the .c source file, the regen_elfmix.sh script that generated the .a files is embedded in the .a files themselves if ever needed. For size considerations no cross-compiler is provided. Signed-off-by:Chris Lamb <lamby@debian.org> Gbp-Dch: ignore
Showing
- tests/comparators/test_elf.py 43 additions, 0 deletionstests/comparators/test_elf.py
- tests/data/elfmix1.not_a 0 additions, 0 deletionstests/data/elfmix1.not_a
- tests/data/elfmix2.a 0 additions, 0 deletionstests/data/elfmix2.a
- tests/data/elfmix_disassembly_expected_diff 12 additions, 0 deletionstests/data/elfmix_disassembly_expected_diff
- tests/data/elfmix_mach_o_expected_diff 17 additions, 0 deletionstests/data/elfmix_mach_o_expected_diff
- tests/data/elfmix_src_c_expected_diff 7 additions, 0 deletionstests/data/elfmix_src_c_expected_diff
- tests/data/elfmix_x_obj_expected_diff 6 additions, 0 deletionstests/data/elfmix_x_obj_expected_diff
tests/data/elfmix1.not_a
0 → 100644
File added
tests/data/elfmix2.a
0 → 100644
File added
tests/data/elfmix_disassembly_expected_diff
0 → 100644
tests/data/elfmix_mach_o_expected_diff
0 → 100644
tests/data/elfmix_src_c_expected_diff
0 → 100644
tests/data/elfmix_x_obj_expected_diff
0 → 100644
Please register or sign in to comment