MCPcopy Create free account
hub / github.com/encounter/objdiff / read_x86_combine_sections

Function read_x86_combine_sections

objdiff-core/tests/arch_x86.rs:25–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23#[test]
24#[cfg(feature = "x86")]
25fn read_x86_combine_sections() {
26 let diff_config = diff::DiffObjConfig {
27 combine_data_sections: true,
28 combine_text_sections: true,
29 ..Default::default()
30 };
31 let obj =
32 obj::read::parse(include_object!("data/x86/rtest.obj"), &diff_config, diff::DiffSide::Base)
33 .unwrap();
34 insta::assert_debug_snapshot!(obj.sections);
35}
36
37#[test]
38#[cfg(feature = "x86")]

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected