Package ghidra.pcode.emu.jit.gen.access
Interface MethodAccessGen
- All Known Implementing Classes:
IntAccessGen,LongAccessGen
public interface MethodAccessGen
A generator whose implementation is to emit invocations of a named method in
JitCompiledPassage.
This is needed by LoadOpGen and StoreOpGen.
-
Method Summary
Modifier and TypeMethodDescriptionchooseReadName(int size) Choose the name of the read method, e.g.chooseWriteName(int size) Choose the name of the write method, e.g.
-
Method Details
-
chooseReadName
Choose the name of the read method, e.g.JitCompiledPassage.readInt1(byte[], int)to use for the given variable size.- Parameters:
size- the size in bytes- Returns:
- the name of the method
-
chooseWriteName
Choose the name of the write method, e.g.JitCompiledPassage.writeInt1(int,byte[], int)to use for the given variable size.- Parameters:
size- the size in bytes- Returns:
- the name of the method
-