MCPcopy Create free account
hub / github.com/eigenform/perfect / cur_addr

Method cur_addr

perfect/src/asm.rs:171–171  ·  view source on GitHub ↗

Return the current virtual address.

(&self)

Source from the content-addressed store, hash-verified

169
170 /// Return the current virtual address.
171 pub fn cur_addr(&self) -> usize { self.base_addr() + self.cursor() }
172
173 /// Return a function pointer [MeasuredFn] to this block of emitted code.
174 #[inline(always)]

Callers 5

emitMethod · 0.80
pad_cc_untilMethod · 0.80
pad_1b_untilMethod · 0.80
pad_untilMethod · 0.80
emit_jmp_rel32Method · 0.80

Calls 2

base_addrMethod · 0.80
cursorMethod · 0.80

Tested by

no test coverage detected