Uses of Class
org.objectweb.asm.tree.analysis.Frame
-
Packages that use Frame Package Description org.objectweb.asm.tree.analysis Provides a framework for static code analysis based on the asm.tree package.org.objectweb.asm.util Provides ASM visitors that can be useful for programming and debugging purposes. -
-
Uses of Frame in org.objectweb.asm.tree.analysis
Fields in org.objectweb.asm.tree.analysis declared as Frame Modifier and Type Field Description private Frame<V>[]
Analyzer. frames
The execution stack frames of the currently analyzed method (one per instruction index).Methods in org.objectweb.asm.tree.analysis that return Frame Modifier and Type Method Description Frame<V>[]
Analyzer. analyze(java.lang.String owner, MethodNode method)
Analyzes the given method.Frame<V>[]
Analyzer. analyzeAndComputeMaxs(java.lang.String owner, MethodNode method)
Analyzes the given method and computes and sets its maximum stack size and maximum number of local variables.private Frame<V>
Analyzer. computeInitialFrame(java.lang.String owner, MethodNode method)
Computes the initial execution stack frame of the given method.Frame<V>[]
Analyzer. getFrames()
Returns the symbolic execution stack frame for each instruction of the last analyzed method.Frame<V>
Frame. init(Frame<? extends V> frame)
Copies the state of the given frame into this frame.protected Frame<V>
Analyzer. newFrame(int numLocals, int numStack)
Constructs a new frame with the given size.protected Frame<V>
Analyzer. newFrame(Frame<? extends V> frame)
Constructs a copy of the given frame.Methods in org.objectweb.asm.tree.analysis with parameters of type Frame Modifier and Type Method Description private static int
Analyzer. computeMaxStack(Frame<?>[] frames)
Computes and returns the maximum stack size of a method, given its stack map frames.Frame<V>
Frame. init(Frame<? extends V> frame)
Copies the state of the given frame into this frame.private void
Analyzer. merge(int insnIndex, Frame<V> frameBeforeJsr, Frame<V> frameAfterRet, Subroutine subroutineBeforeJsr, boolean[] localsUsed)
Merges the given frame and subroutine into the frame and subroutines at the given instruction index (case of a RET instruction).private void
Analyzer. merge(int insnIndex, Frame<V> frame, Subroutine subroutine)
Merges the given frame and subroutine into the frame and subroutines at the given instruction index.boolean
Frame. merge(Frame<? extends V> frame, boolean[] localsUsed)
Merges the given frame into this frame (case of a subroutine).boolean
Frame. merge(Frame<? extends V> frame, Interpreter<V> interpreter)
Merges the given frame into this frame.V
Interpreter. newExceptionValue(TryCatchBlockNode tryCatchBlockNode, Frame<V> handlerFrame, Type exceptionType)
Creates a new value that represents the given exception type.protected Frame<V>
Analyzer. newFrame(Frame<? extends V> frame)
Constructs a copy of the given frame.Constructors in org.objectweb.asm.tree.analysis with parameters of type Frame Constructor Description Frame(Frame<? extends V> frame)
Constructs a copy of the given Frame. -
Uses of Frame in org.objectweb.asm.util
Methods in org.objectweb.asm.util that return Frame Modifier and Type Method Description private Frame<V>
CheckFrameAnalyzer. expandFrame(java.lang.String owner, Frame<V> previousFrame, FrameNode frameNode)
Returns the expanded representation of the givenFrameNode
.Methods in org.objectweb.asm.util with parameters of type Frame Modifier and Type Method Description private void
CheckFrameAnalyzer. checkFrame(int insnIndex, Frame<V> frame, boolean requireFrame)
Checks that the given frame is compatible with the frame at the given instruction index, if any.private java.lang.String
CheckFrameAnalyzer. checkMerge(Frame<V> srcFrame, Frame<V> dstFrame)
Checks that merging the two given frames would not produce any change, i.e.private Frame<V>
CheckFrameAnalyzer. expandFrame(java.lang.String owner, Frame<V> previousFrame, FrameNode frameNode)
Returns the expanded representation of the givenFrameNode
.private void
CheckFrameAnalyzer. expandFrames(java.lang.String owner, MethodNode method, Frame<V> initialFrame)
Expands theFrameNode
"instructions" of the given method intoFrame
objects and stores them at the corresponding indices of theAnalyzer.frames
array.
-