MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / section_bytes

Method section_bytes

crates/asm-to-binary/src/assembler/output.rs:46–52  ·  view source on GitHub ↗

Look up a section by kind, returning its byte content (or an empty slice).

(&self, kind: &SectionKind)

Source from the content-addressed store, hash-verified

44 pub(crate) global_symbols: Vec<String>,
45 pub(crate) relocations: Vec<RelocationRecord>,
46 // pc-to-source line table (ascending by addr) and the file names it indexes.
47 pub(crate) line_table: Vec<LineEntry>,
48 pub(crate) file_table: Vec<String>,
49}
50
51impl AssembledOutput {
52 pub fn new() -> Self {
53 Self::default()
54 }
55

Callers 4

text_bytesMethod · 0.80
data_bytesMethod · 0.80
rodata_bytesMethod · 0.80
bss_bytesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected