Function
get_symbol
(vm: &mut icicle_vm::Vm, symbol: &str)
Source from the content-addressed store, hash-verified
| 365 | } |
| 366 | |
| 367 | fn get_symbol(vm: &mut icicle_vm::Vm, symbol: &str) -> anyhow::Result<u64> { |
| 368 | parse_addr_or_symbol(symbol, vm) |
| 369 | .ok_or_else(|| anyhow::format_err!("Failed to resolve symbol: {symbol}")) |
| 370 | } |
| 371 | |
| 372 | /// Attempts to find an ELF binary with the same base name as target path to load debug info from. |
| 373 | fn find_elf_for_path(path: PathBuf) -> Option<PathBuf> { |
Tested by
no test coverage detected