MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / get_addr

Function get_addr

debugger/src/rvalue.rs:228–234  ·  view source on GitHub ↗
(value: &RValue)

Source from the content-addressed store, hash-verified

226}
227
228fn get_addr(value: &RValue) -> RefAddr {
229 if let RValue::Ref { addr, .. } = value {
230 *addr
231 } else {
232 RefAddr::Addr(Addr::from(0))
233 }
234}
235
236fn take_usize(value: PValue) -> Option<u64> {
237 match value {

Callers 1

liftMethod · 0.85

Calls 1

AddrClass · 0.85

Tested by

no test coverage detected