Package ghidra.pcode.emu.jit.gen
Class JitCodeGenerator.LineNumberer
java.lang.Object
ghidra.pcode.emu.jit.gen.JitCodeGenerator.LineNumberer
- Enclosing class:
JitCodeGenerator
For testing and debugging: A means to inject granular line number information
Typically, this is used to assign every bytecode offset (emitted by a certain generator) a line number, so that tools expecting/requiring line numbers will display something useful.
-
Constructor Summary
ConstructorsConstructorDescriptionLineNumberer
(org.objectweb.asm.MethodVisitor mv) Prepare to number lines on the given method visitor -
Method Summary
Modifier and TypeMethodDescriptionvoid
nextLine()
Increment the line number and add info on the next bytecode index
-
Constructor Details
-
LineNumberer
public LineNumberer(org.objectweb.asm.MethodVisitor mv) Prepare to number lines on the given method visitor- Parameters:
mv
- the method visitor
-
-
Method Details
-
nextLine
public void nextLine()Increment the line number and add info on the next bytecode index
-