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

Method bss_bytes

crates/asm-to-binary/src/assembler/output.rs:66–68  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

64 }
65
66 /// Look up a section by kind, returning its byte content (or an empty slice).
67 pub fn section_bytes(&self, kind: &SectionKind) -> &[u8] {
68 self.sections
69 .iter()
70 .find(|s| s.kind.as_ref() == Some(kind))
71 .map(|s| s.bytes.as_slice())

Callers 1

linkFunction · 0.80

Calls 1

section_bytesMethod · 0.80

Tested by

no test coverage detected