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

Method is_executable

crates/asm-to-binary/src/assembler/section.rs:33–35  ·  view source on GitHub ↗

True for sections that hold executable machine code.

(&self)

Source from the content-addressed store, hash-verified

31
32 /// True for sections that hold executable machine code.
33 pub fn is_executable(&self) -> bool {
34 matches!(self, Self::Text)
35 }
36}
37
38/// Accumulated bytes and local symbol table for one section.

Callers 2

to_objectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected