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

Function write_u32_at

crates/asm-to-binary/src/object_linker.rs:412–422  ·  view source on GitHub ↗
(buf: &mut [u8], off: usize, word: u32)

Source from the content-addressed store, hash-verified

410 continue;
411 };
412 let start = running;
413 let end = start + sec.bytes.len() as u64;
414 map.push((kind.name(), start, end));
415 running = end;
416 }
417 map
418}
419
420// Find which section (name, start) contains `addr` in the module's address space.
421fn find_symbol_section_name_via_map<'a>(
422 map: &'a [(&str, u64, u64)],
423 addr: u64,
424) -> Option<(&'a str, u64)> {
425 for &(name, start, end) in map {

Callers 3

patch_call_pairFunction · 0.85
patch_jalFunction · 0.85
patch_laFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected