Skip to content
Snippets Groups Projects
Commit 877fa55d authored by Jean-Romain Garnier's avatar Jean-Romain Garnier
Browse files

Reduce verbosity of macho comparator

parent 88041849
No related branches found
No related tags found
1 merge request!82Rework macho comparator
......@@ -302,7 +302,6 @@ class LlvmObjdump(Command):
"-demangle",
"-no-leading-addr",
"-no-show-raw-insn",
"-line-numbers",
]
def filter(self, line):
......
......@@ -30,7 +30,7 @@ from diffoscope.comparators.directory import FilesystemDirectory
from diffoscope.comparators.missing_file import MissingFile
from diffoscope.comparators.utils.specialize import specialize
from ..utils.data import data, load_fixture, get_data, assert_diff
from ..utils.data import data, load_fixture, assert_diff
from ..utils.tools import (
skip_unless_tools_exist,
skip_if_binutils_does_not_support_x86,
......@@ -194,8 +194,6 @@ def test_libmix_differences(libmix_differences):
mach_o_filenames = [
"elfmix_mach_o_expected_diff__text",
"elfmix_mach_o_expected_diff__compact_unwind",
"elfmix_mach_o_expected_diff__eh_frame",
]
for idx, diff in enumerate(mach_o.details):
assert_diff(diff, mach_o_filenames[idx])
......
@@ -1,9 +1,9 @@
_return42_or_3:
pushq %rbp
movq %rsp, %rbp
- movl $42, %eax
+ movl $43, %eax
popq %rbp
retq
Contents of (__LD,__compact_unwind) section
0000000000000010 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 01
0000000000000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -1,11 +1,11 @@
_return42_or_3:
pushq %rbp
movq %rsp, %rbp
- movl $42, %eax
+ movl $43, %eax
popq %rbp
retq
Contents of (__TEXT,__eh_frame) section
Unknown section type (0x0000000b)
0000000000000030 14 00 00 00 00 00 00 00 01 7a 52 00 01 78 10 01
0000000000000040 10 0c 07 08 90 01 00 00 24 00 00 00 1c 00 00 00
0000000000000050 b0 ff ff ff ff ff ff ff 0b 00 00 00 00 00 00 00
@@ -1,13 +1,13 @@
_return42_or_3:
pushq %rbp
movq %rsp, %rbp
- movl $42, %eax
+ movl $43, %eax
popq %rbp
retq
@@ -1,7 +1,7 @@
Contents of (__TEXT,__text) section
_return42_or_3:
pushq %rbp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment