MCPcopy Create free account
hub / github.com/Technolution/rustig / iterate_compilation_unit

Function iterate_compilation_unit

lib/callgraph/src/callgraph/mod.rs:115–143  ·  view source on GitHub ↗

If the current compile unit was compiled as Rust code, this function returns all procedures in that compile unit. However: - If a function was inlined, it will not be returned - If the cursor was not at a compile unit entry, it will panic

(
    unit: CompilationUnitHeader<EndianBuf<LittleEndian>>,
    entries: &mut EntriesCursor<EndianBuf<LittleEndian>>,
    ctx: &Context,
    compilation_unit_dirs: &[&str],
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

Tested by

no test coverage detected