pub unsafe fn resolve_jit(addr: usize) -> usizeAvailable on x86-64 only.
Expand description
Follow one level of CoreCLR precode indirection.
Given a method’s precode address, returns the address it currently points
to — either the JIT’d native body or the prestub. A jmp qword ptr [slot]
returns the pointer stored in slot; a jmp rel32 returns its target. If
the address is not a jump, returns the input unchanged.
§Safety
addr must point to at least 16 bytes (one x86 instruction) of readable
memory containing a valid precode or native code, mapped for the call.