MCPcopy Index your code
hub / github.com/encounter/objdiff / Section

Class Section

objdiff-core/src/obj/mod.rs:71–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70#[derive(Debug, Clone, Default)]
71pub struct Section {
72 /// Unique section ID
73 pub id: String,
74 pub name: String,
75 pub address: u64,
76 pub size: u64,
77 pub kind: SectionKind,
78 pub data: SectionData,
79 pub flags: SectionFlagSet,
80 pub align: Option<NonZeroU64>,
81 pub relocations: Vec<Relocation>,
82 /// Line number info (.line or .debug_line section)
83 pub line_info: BTreeMap<u64, u32>,
84 /// Original virtual address (from .note.split section)
85 pub virtual_address: Option<u64>,
86}
87
88#[derive(Clone, Default)]
89#[repr(transparent)]

Callers 2

relocation_overrideMethod · 0.85
map_section_relocationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected