A B C D E F G H I J K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- aaload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
aaload, loading a reference element from an array. - AALOAD - com.tonic.util.Opcode
-
Pops an array reference and an int index, and pushes the reference element stored there.
- AALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the AALOAD instruction (0x32).
- AALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.AALoadInstruction
-
Constructs an AALOADInstruction.
- aastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
aastore, storing a reference element into an array. - AASTORE - com.tonic.util.Opcode
-
Pops an array reference, an int index and a reference value, and stores the value at that index.
- AAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the AASTORE instruction (0x53).
- AAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.AAStoreInstruction
-
Constructs an AASToreInstruction.
- ABORT - com.tonic.analysis.execution.debug.InterceptorAction
-
Stop the run outright rather than resuming later.
- ABORTED - com.tonic.analysis.execution.debug.DebugState.Status
-
Finished because the run was cut short from outside rather than reaching its end.
- ABSENT - com.tonic.analysis.query.value.ValueKind
-
No value at all, such as an attribute the queried element does not carry; every comparison against it fails.
- ABSENT - Static variable in interface com.tonic.analysis.query.value.Value
-
The sentinel for "could not be determined statically".
- ABSTRACT - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0400, declaring a class or method with no body of its own. - ABSTRACT - com.tonic.analysis.source.parser.TokenType
-
Modifier for a type or method declared without an implementation.
- ABSTRACT - Static variable in class com.tonic.util.Modifiers
- ABSTRACT_STRING_BUILDER - Static variable in class com.tonic.util.CommonTypes
- AbstractBlockVisitor - Class in com.tonic.analysis.ssa.visitor
-
Abstract visitor for processing SSA-form IR blocks and instructions.
- AbstractBlockVisitor() - Constructor for class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
- AbstractBytecodeListener - Class in com.tonic.analysis.execution.listener
-
Base listener that tracks the current method and a running instruction count for subclasses.
- AbstractBytecodeListener() - Constructor for class com.tonic.analysis.execution.listener.AbstractBytecodeListener
- AbstractBytecodeVisitor - Class in com.tonic.analysis.visitor
-
Base visitor over a method's decoded instructions whose per-instruction visit hooks are all no-ops.
- AbstractBytecodeVisitor() - Constructor for class com.tonic.analysis.visitor.AbstractBytecodeVisitor
- AbstractClassVisitor - Class in com.tonic.parser.visitor
-
Abstract visitor for processing class file elements including methods, fields, constant pool items, and attributes.
- AbstractClassVisitor() - Constructor for class com.tonic.parser.visitor.AbstractClassVisitor
- AbstractInterceptor - Class in com.tonic.analysis.execution.debug
-
No-op base implementation of
InstructionInterceptorwhose callbacks all continue execution. - AbstractInterceptor() - Constructor for class com.tonic.analysis.execution.debug.AbstractInterceptor
- AbstractIRVisitor<T> - Class in com.tonic.analysis.ssa.visitor
-
Abstract visitor with default implementations returning null.
- AbstractIRVisitor() - Constructor for class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- AbstractListener - Class in com.tonic.analysis.simulation.listener
-
No-op base implementation of every simulation listener callback.
- AbstractListener() - Constructor for class com.tonic.analysis.simulation.listener.AbstractListener
- AbstractMethodVisitor - Class in com.tonic.parser.visitor
-
Abstract visitor for processing method entries and their code attributes.
- AbstractMethodVisitor() - Constructor for class com.tonic.parser.visitor.AbstractMethodVisitor
- AbstractParser - Class in com.tonic.parser
-
An abstract parser for reading various data types from a byte array.
- AbstractSourceVisitor<T> - Class in com.tonic.analysis.source.visitor
-
Base SourceVisitor whose visit methods walk the whole tree and return
AbstractSourceVisitor.defaultValue(). - AbstractSourceVisitor() - Constructor for class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- AbstractState - Class in com.tonic.analysis.ssa.lift
-
The simulated operand stack and local slots at one point of bytecode lifting.
- AbstractState() - Constructor for class com.tonic.analysis.ssa.lift.AbstractState
-
Creates an empty state.
- AbstractState(AbstractState) - Constructor for class com.tonic.analysis.ssa.lift.AbstractState
-
Creates a deep copy of another state.
- ACC_ABSTRACT - Static variable in interface com.tonic.type.AccessFlags
- ACC_ANNOTATION - Static variable in interface com.tonic.type.AccessFlags
- ACC_BRIDGE - Static variable in interface com.tonic.type.AccessFlags
- ACC_ENUM - Static variable in interface com.tonic.type.AccessFlags
- ACC_FINAL - Static variable in interface com.tonic.type.AccessFlags
- ACC_INTERFACE - Static variable in interface com.tonic.type.AccessFlags
- ACC_MANDATED - Static variable in interface com.tonic.type.AccessFlags
- ACC_MODULE - Static variable in interface com.tonic.type.AccessFlags
- ACC_NATIVE - Static variable in interface com.tonic.type.AccessFlags
- ACC_PRIVATE - Static variable in interface com.tonic.type.AccessFlags
- ACC_PROTECTED - Static variable in interface com.tonic.type.AccessFlags
- ACC_PUBLIC - Static variable in interface com.tonic.type.AccessFlags
- ACC_STATIC - Static variable in interface com.tonic.type.AccessFlags
- ACC_STRICT - Static variable in interface com.tonic.type.AccessFlags
- ACC_SUPER - Static variable in interface com.tonic.type.AccessFlags
- ACC_SYNCHRONIZED - Static variable in interface com.tonic.type.AccessFlags
- ACC_SYNTHETIC - Static variable in interface com.tonic.type.AccessFlags
- ACC_TRANSIENT - Static variable in interface com.tonic.type.AccessFlags
- ACC_VARARGS - Static variable in interface com.tonic.type.AccessFlags
- ACC_VOLATILE - Static variable in interface com.tonic.type.AccessFlags
- accept(Condition.Visitor<R>) - Method in interface com.tonic.analysis.query.ast.Condition
-
Dispatches to the visitor method for this node's variant.
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.And
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Comparison
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Count
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Group
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Not
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Or
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Quantifier
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.Sequence
- accept(Condition.Visitor<R>) - Method in class com.tonic.analysis.query.ast.Condition.True
- accept(ScopeVisitor<T>) - Method in class com.tonic.analysis.query.ast.AllScope
- accept(ScopeVisitor<T>) - Method in class com.tonic.analysis.query.ast.ClassScope
- accept(ScopeVisitor<T>) - Method in class com.tonic.analysis.query.ast.DuringScope
- accept(ScopeVisitor<T>) - Method in class com.tonic.analysis.query.ast.MethodScope
- accept(ScopeVisitor<T>) - Method in interface com.tonic.analysis.query.ast.Scope
-
Dispatches to the visitor hook for this scope variant.
- accept(SourceVisitor<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Accepts a visitor for this node.
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.SuperExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.ThisExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.VoidSourceType
- accept(SourceVisitor<T>) - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.ConstantInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.CopyInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Accepts a visitor for this instruction.
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.LoadLocalInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.NewInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- accept(IRVisitor<T>) - Method in class com.tonic.analysis.ssa.ir.UnaryOpInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.CodeWriter
-
Accepts a BytecodeVisitor to traverse and operate on the instructions.
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.AALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.AAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.AConstNullInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ArithmeticInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ArithmeticShiftInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ArrayLengthInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.AStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ATHROWInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.BALOADInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.BAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.BipushInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.CALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.CAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.CheckCastInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.CompareInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ConversionInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DConstInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DLoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DNegInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.DupInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.FALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.FAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.FConstInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.FLoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.FNegInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.FStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.GetFieldInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.GotoInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.I2LInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IAndInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IConstInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IIncInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.ILoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.INegInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.Instruction
-
Accepts a visitor for bytecode analysis.
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IOrInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.IXorInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.JsrInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LandInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LConstInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LdcInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LdcWInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LLoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LNegInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LorInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.LXorInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.MethodReturnInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.MonitorEnterInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.MonitorExitInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.NarrowingConversionInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.NewObjectInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.NopInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.Pop2Instruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.PopInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.PutFieldInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.RetInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.SALoadInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.SAStoreInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.SipushInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.SwapInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.UnknownInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.WideIIncInstruction
- accept(AbstractBytecodeVisitor) - Method in class com.tonic.analysis.instruction.WideInstruction
- accept(AbstractClassVisitor) - Method in class com.tonic.parser.ClassFile
-
Dispatches the visitor over the constant pool, class attributes, fields, and methods.
- accept(AbstractClassVisitor) - Method in class com.tonic.parser.constpool.Item
-
Accepts a visitor for the visitor pattern.
- accept(AbstractClassVisitor) - Method in class com.tonic.parser.FieldEntry
-
Dispatches the visitor to this field.
- accept(AbstractClassVisitor) - Method in class com.tonic.parser.MethodEntry
-
Dispatches the class visitor to this method.
- accept(AbstractMethodVisitor) - Method in class com.tonic.parser.attribute.CodeAttribute
-
Accepts a visitor for bytecode analysis.
- accept(AbstractMethodVisitor) - Method in class com.tonic.parser.MethodEntry
-
Dispatches a method visitor over this method.
- access(int...) - Method in class com.tonic.builder.ClassBuilder
-
Replaces the access flags with the given flags ORed onto ACC_SUPER.
- AccessBuilder - Class in com.tonic.util
-
Builder class for constructing access flag integers using method chaining.
- AccessBuilder() - Constructor for class com.tonic.util.AccessBuilder
-
Constructs a new
AccessBuilderinstance with no access flags set. - AccessFlags - Interface in com.tonic.type
-
Class file constants: access flag bits, newarray primitive type codes, major version numbers and the load, store and return opcodes.
- AccessMetrics - Class in com.tonic.analysis.simulation.metrics
-
Immutable field and array access counts collected during simulation.
- AccessMode - Enum in com.tonic.analysis.ssa.ir
-
Whether an array or field access reads or writes.
- accessor() - Method in class com.tonic.analysis.query.ast.Condition.Comparison
- accessor() - Method in class com.tonic.analysis.query.ast.Operand.Ref
- accessor(Accessor) - Static method in interface com.tonic.analysis.query.ast.Operand
- Accessor - Class in com.tonic.analysis.query.ast
-
An immutable, fluent path of
Steps that projects a value (or a sub-subject stream) from a subject - e.g. - Accessor(List<Step>) - Constructor for class com.tonic.analysis.query.ast.Accessor
-
Creates an accessor from a non-empty step path.
- AccessStats() - Constructor for class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
- ACMPEQ - com.tonic.analysis.ssa.ir.CompareOp
-
If references are equal.
- ACMPNE - com.tonic.analysis.ssa.ir.CompareOp
-
If references are not equal.
- aconst_null() - Method in class com.tonic.builder.CodeBuilder
-
Appends
aconst_null. - ACONST_NULL - com.tonic.util.Opcode
-
Pushes a null reference onto the operand stack.
- AConstNullInstruction - Class in com.tonic.analysis.instruction
-
Represents the ACONST_NULL instruction (0x01).
- AConstNullInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.AConstNullInstruction
-
Constructs an AConstNullInstruction.
- ACTUAL_IN - com.tonic.analysis.pdg.node.PDGNodeType
-
The caller side of an argument, a dependence source bound to the callee's formal-in.
- ACTUAL_OUT - com.tonic.analysis.pdg.node.PDGNodeType
-
The caller side of a returned value, a dependence sink bound to the callee's formal-out.
- add(int, T) - Method in class com.tonic.analysis.source.ast.NodeList
- add(MethodFingerprint) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Stores a fingerprint and indexes it by each level hash it carries.
- add(SimulationListener) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
-
Appends a child at the end of the delegation order.
- add(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an addition node typed from the left operand.
- add(Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an addition expression.
- add(VerificationError) - Method in interface com.tonic.analysis.verifier.ErrorCollector
-
Routes an entry to
ErrorCollector.addError(com.tonic.analysis.verifier.VerificationError)orErrorCollector.addWarning(com.tonic.analysis.verifier.VerificationError)according to its severity. - add(T) - Method in class com.tonic.analysis.source.ast.NodeList
- ADD - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Addition,
+; also string concatenation when either operand is a string. - ADD - com.tonic.analysis.ssa.ir.BinaryOp
-
Addition.
- ADD_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Add and assign,
+=; also string append-assign. - addAConstNull() - Method in class com.tonic.analysis.Bytecode
-
Appends an ACONST_NULL instruction to push a null reference onto the stack.
- addActualIn(SDGActualInNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
-
Appends an argument node; no check is made for a duplicate parameter index.
- addAll(int, Collection<? extends T>) - Method in class com.tonic.analysis.source.ast.NodeList
- addAll(Collection<? extends T>) - Method in class com.tonic.analysis.source.ast.NodeList
- addAll(Collection<MethodFingerprint>) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Adds every fingerprint in the collection.
- addAllXrefs(Collection<Xref>) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Stores a batch of cross-references.
- addALoad(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an ALOAD instruction to the end of the bytecode.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Adds an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Adds an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Adds an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Appends an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Appends an annotation.
- addAnnotation(AnnotationExpr) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Appends an annotation.
- addArgument(Expression) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Adds a constructor argument.
- addArgument(Expression) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Appends an argument to the call.
- addArgument(Expression) - Method in class com.tonic.analysis.source.ast.expr.NewExpr
-
Appends an argument, adopting it as a child.
- addAStore(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an ASTORE instruction to the end of the bytecode.
- addBlock(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Adds a basic block to this method.
- addBootstrapMethod(int, List<Integer>) - Method in class com.tonic.parser.attribute.BootstrapMethodsAttribute
-
Adds a bootstrap method entry.
- addBootstrapMethod(int, List<Integer>) - Method in class com.tonic.parser.ClassFile
-
Find-or-adds a bootstrap method (its method-handle index plus static-argument indices, all in this class's pool) to the
BootstrapMethodsattribute, creating the attribute if absent. - addBreakpoint(Breakpoint) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Registers a breakpoint, indexing it by key and by owning method.
- addBreakpoint(Breakpoint) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Adds a breakpoint to the session's manager.
- addCase(int, IRBlock) - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
-
Adds a case to the switch instruction.
- addCase(SwitchCase) - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Appends a case to this switch.
- addCatch(CatchClause) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Appends a catch clause and adopts its body.
- addClassMapping(ClassMapping) - Method in class com.tonic.renamer.mapping.MappingStore
-
Adds a class mapping.
- addClassTransform(ClassTransform) - Method in class com.tonic.analysis.ssa.SSA
-
Adds a class-level transform to be applied.
- addConstant(EnumConstantDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds an enum constant.
- addConstructor(ConstructorDecl) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a constructor.
- addConstructor(ConstructorDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds a constructor.
- addCoveredBlock(IRBlock) - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
-
Adds a block to the set this region covers.
- addDConst(double) - Method in class com.tonic.analysis.Bytecode
-
Appends a DCONST instruction to push a double constant onto the stack.
- addDefaultClassInitializer(ClassFile) - Static method in class com.tonic.analysis.ClassFactory
-
Adds an empty static class initializer.
- addDefaultConstructor(ClassFile) - Static method in class com.tonic.analysis.ClassFactory
-
Adds a no-argument constructor whose body only invokes the superclass constructor.
- addDimension() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
-
Creates an array type over the same component with one additional dimension.
- addDimension(Expression) - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Appends a dimension expression and adopts it as a child.
- addDLoad(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a DLOAD instruction to load a double from a local variable.
- addEdge(CPGEdge) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Adds an edge and links it into both endpoint nodes; duplicates are ignored.
- addEdge(CPGNode, CPGNode, CPGEdgeType) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Adds an edge of the given type between two nodes.
- addEdge(CPGNode, CPGNode, CPGEdgeType, Map<String, Object>) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Adds an edge of the given type carrying the supplied properties.
- addEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.PDG
-
Adds an edge if not already present and links it into both endpoints.
- addEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Adds an edge if it is not already present, links it to its endpoints and files interprocedural edges under the summary or parameter list.
- addEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Adds an edge to the slice.
- addEdge(PDGNode, PDGNode, PDGDependenceType) - Method in class com.tonic.analysis.pdg.PDG
-
Adds a dependence edge between two nodes.
- addEdge(PDGNode, PDGNode, PDGDependenceType, SSAValue) - Method in class com.tonic.analysis.pdg.PDG
-
Adds a dependence edge carrying the value that induced it.
- addEdges(Collection<PDGEdge>) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Adds several edges to the slice.
- addElement(Expression) - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
-
Appends an element and reparents it to this initializer.
- addError(VerificationError) - Method in interface com.tonic.analysis.verifier.ErrorCollector
-
Records an error.
- addError(VerificationError) - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
-
Records the error unless the cap has already been reached.
- addError(VerificationError) - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
-
Keeps the error only when no error has been recorded yet.
- addError(String) - Method in class com.tonic.renamer.validation.ValidationResult
-
Records an error, which makes the result invalid.
- addExceptionEdges(IRMethod) - Static method in class com.tonic.analysis.ssa.lift.BytecodeLifter
-
Adds an exception edge from every protected block to its handler block.
- addExceptionHandler(ExceptionHandler) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Adds an exception handler to this block.
- addExceptionHandler(ExceptionHandler) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Adds an exception handler to this method.
- addExtendedInterface(SourceType) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Appends a super-interface to the extends clause.
- addFConst(float) - Method in class com.tonic.analysis.Bytecode
-
Appends a FCONST instruction to push a float constant onto the stack.
- addField(int, String, String) - Method in class com.tonic.builder.ClassBuilder
-
Opens a field on this class; call
FieldBuilder.end()to return here. - addField(FieldDecl) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a field member.
- addField(FieldDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Adds a field to the constant's class body.
- addField(FieldDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds a field member.
- addField(FieldDecl) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Appends a field.
- addFieldMapping(FieldMapping) - Method in class com.tonic.renamer.mapping.MappingStore
-
Adds a field mapping.
- addFLoad(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a FLOAD instruction to load a float from a local variable.
- addFormalIn(SDGFormalInNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
-
Registers a parameter node on this entry.
- addGetField(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a GETFIELD instruction to the end of the bytecode.
- addGetStatic(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a GETSTATIC instruction to the end of the bytecode.
- addGetStatic(String, String, String) - Method in class com.tonic.analysis.Bytecode
-
Inserts a GETSTATIC instruction into the bytecode.
- addGoto(String) - Method in class com.tonic.analysis.Bytecode
-
Appends a GOTO instruction to the end of the bytecode.
- addGotoW(String) - Method in class com.tonic.analysis.Bytecode
-
Appends a GOTO_W instruction to the end of the bytecode.
- addIConst(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an ICONST instruction to push an integer constant onto the stack.
- addIInc(int, int) - Method in class com.tonic.analysis.Bytecode
-
Appends an IINC instruction to the end of the bytecode.
- addILoad(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an ILOAD instruction to the end of the bytecode.
- addImport(ImportDecl) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Adds an import declaration.
- addImport(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Adds a regular import of a class.
- addIncoming(Value, IRBlock) - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
-
Adds an incoming value from a predecessor block.
- addIncomingEdge(CPGEdge) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Registers an edge entering this node.
- addIncomingEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Records an edge arriving at this node, ignoring duplicates.
- addInit(Statement) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Appends an initializer statement, ignoring null.
- addInnerType(TypeDecl) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a nested type.
- addInnerType(TypeDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds a nested type.
- addInnerType(TypeDecl) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Appends a nested type.
- addInstanceInitializer(BlockStmt) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds an instance initializer block.
- addInstruction(IRInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Adds an instruction to the end of this block.
- addInterface(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds an implemented interface.
- addInterface(SourceType) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds an implemented interface.
- addInterface(String) - Method in class com.tonic.parser.ClassFile
-
Adds a new interface to the interfaces list.
- addInvokeDynamic(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an INVOKEDYNAMIC instruction to the end of the bytecode.
- addInvokeDynamic(int, int) - Method in class com.tonic.parser.ConstPool
-
Adds an InvokeDynamic constant pool entry.
- addInvokeInterface(int, int) - Method in class com.tonic.analysis.Bytecode
-
Appends an INVOKEINTERFACE instruction to the end of the bytecode.
- addInvokeSpecial(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an INVOKESPECIAL instruction to the end of the bytecode.
- addInvokeStatic(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an INVOKESTATIC instruction to the end of the bytecode.
- addInvokeStatic(String, String, String) - Method in class com.tonic.analysis.Bytecode
-
Inserts an INVOKESTATIC instruction into the bytecode.
- addInvokeVirtual(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an INVOKEVIRTUAL instruction to the end of the bytecode.
- addInvokeVirtual(String, String, String) - Method in class com.tonic.analysis.Bytecode
-
Inserts an INVOKEVIRTUAL instruction into the bytecode.
- addIStore(int) - Method in class com.tonic.analysis.Bytecode
-
Appends an ISTORE instruction to the end of the bytecode.
- addItem(Item<?>) - Method in class com.tonic.parser.ConstPool
-
Adds a new item to the constant pool.
- ADDITIVE - com.tonic.analysis.source.parser.Precedence
-
The level of binary
+and-. - addLConst(long) - Method in class com.tonic.analysis.Bytecode
-
Appends a LCONST instruction to push a long constant onto the stack.
- addLdc(String) - Method in class com.tonic.analysis.Bytecode
-
Inserts an LDC or LDC_W instruction to load a String constant onto the operand stack.
- addListener(DebugEventListener) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Registers a debug event listener.
- addListener(BytecodeListener) - Method in class com.tonic.analysis.execution.core.BytecodeEngine
-
Registers an execution listener, merging its declared capabilities into the aggregate set.
- addListener(BytecodeListener) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
-
Registers a listener; a null argument is ignored.
- addListener(SimulationListener) - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
-
Registers a listener for simulation events.
- addListener(SimulationListener) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Registers a listener to receive simulation events.
- addListeners(SimulationListener...) - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
-
Registers several listeners for simulation events.
- addListeners(SimulationListener...) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Registers several listeners in one call.
- addLLoad(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a LLOAD instruction to load a long from a local variable.
- addLoad(int, String) - Method in class com.tonic.analysis.Bytecode
-
Appends a load instruction based on the type descriptor.
- addLookupSwitch(int, Map<Integer, Integer>) - Method in class com.tonic.analysis.Bytecode
-
Appends a LOOKUPSWITCH instruction to the bytecode.
- addMethod(int, String, String) - Method in class com.tonic.builder.ClassBuilder
-
Opens a method on this class; call
MethodBuilder.end()to return here. - addMethod(MethodDecl) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a method member.
- addMethod(MethodDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Adds a method to the constant's class body.
- addMethod(MethodDecl) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds a method member.
- addMethod(MethodDecl) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Appends a method.
- addMethodEntry(MethodReference, SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Registers a procedure entry node and adds it to the node set.
- addMethodHandle(int, int) - Method in class com.tonic.parser.ConstPool
-
Adds a MethodHandle constant pool entry by reference index.
- addMethodMapping(MethodMapping) - Method in class com.tonic.renamer.mapping.MappingStore
-
Adds a method mapping.
- addMethodPDG(MethodReference, PDG) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Registers a method's PDG and folds its nodes and edges into the graph-wide sets, skipping ones already present.
- addMethodRef(String, String, String) - Method in class com.tonic.parser.ConstPool
-
Adds a MethodRef constant pool entry.
- addMethodType(String) - Method in class com.tonic.parser.ConstPool
-
Adds a MethodType constant pool entry.
- addModifier(Modifier) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a modifier.
- addModifier(Modifier) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Adds a modifier.
- addModifier(Modifier) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Adds a modifier.
- addModifier(Modifier) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Adds a modifier.
- addModifier(Modifier) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Adds one modifier.
- addModifier(Modifier) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Adds one modifier, keeping the existing ones.
- addMutualExclusion(int[]) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Folds one switch selector's "at most one case holds" constraint into the domain.
- addNameAndType(String, String) - Method in class com.tonic.parser.ConstPool
-
Adds a NameAndType constant pool entry.
- addNew(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a NEW instruction to the end of the bytecode.
- addNode(CPGNode) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Adds a node to the graph and its index.
- addNode(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Adds a node if not already present, indexing it by instruction, defined value and block.
- addNode(PDGNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Adds a node if it is not already present.
- addNode(PDGNode) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Adds a node to the slice.
- addNode(T) - Method in class com.tonic.analysis.source.ast.NodeList
-
Adds an element and returns this list for chaining.
- addNodes(Collection<PDGNode>) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Adds several nodes to the slice.
- addNodes(T...) - Method in class com.tonic.analysis.source.ast.NodeList
-
Adds all given elements and returns this list for chaining.
- addOutgoingEdge(CPGEdge) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Registers an edge leaving this node.
- addOutgoingEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Records an edge leaving this node, ignoring duplicates.
- addParameter(ParameterDecl) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Adds a parameter.
- addParameter(ParameterDecl) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Appends a parameter at the end of the parameter list.
- addParameter(SSAValue) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Adds a parameter to this method.
- addPath(TaintPath) - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Records a taint path under its vulnerability type and severity.
- addPendingStatements(List<Statement>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Queues statements to be emitted before the next structured statement, as header block instructions of an if or while need.
- addPhi(PhiInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Adds a phi instruction to this block.
- addPhiInstruction(PhiInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Alias for addPhi to match common naming convention.
- addPopped(InsnContext) - Method in class com.tonic.analysis.absexec.StackCtx
-
Records a context that popped this value, ignoring duplicates.
- addPredecessor(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Adds a predecessor block directly (for use in block duplication).
- addPutField(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a PUTFIELD instruction to the end of the bytecode.
- addPutStatic(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a PUTSTATIC instruction to the end of the bytecode.
- addRead(InsnContext) - Method in class com.tonic.analysis.absexec.VarCtx
-
Records a context that read this slot, ignoring duplicates.
- addResource(Expression) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Appends a try-with-resources resource.
- addReturn(int) - Method in class com.tonic.analysis.Bytecode
-
Appends a RETURN instruction to the end of the bytecode.
- addReturn(ReturnType) - Method in class com.tonic.analysis.Bytecode
-
Appends a RETURN instruction to the end of the bytecode.
- addSanitizer(TaintQuery.Sanitizer) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Registers one sanitizer.
- addSanitizer(String) - Method in class com.tonic.analysis.cpg.taint.TaintPath
-
Records a sanitizer applied along this path.
- addSanitizer(String, String) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Registers a sanitizer built from a pair of regexes.
- addSink(TaintSink) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Registers one sink definition.
- addSinks(TaintSink...) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Registers several sink definitions.
- addSlotAffinity(SSAValue, SSAValue) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Requests that two values share one local slot.
- addSource(TaintSource) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Registers one source definition.
- addSourceLocal(IRMethod.SourceLocal) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Records a source-level local (or appends an SSA value to an existing one); see
IRMethod.SourceLocal. - addSources(TaintSource...) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Registers several source definitions.
- addState(StateSnapshot) - Method in class com.tonic.analysis.simulation.core.SimulationResult.Builder
-
Records a state snapshot, indexing it by block and folding its max stack depth into the running maximum.
- addStatement(Statement) - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Appends a statement to this block, ignoring null.
- addStaticImport(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Adds a static import of a member.
- addStaticInitializer(BlockStmt) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a static initializer block.
- addSuccessor(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Adds a successor block with a normal edge.
- addSuccessor(IRBlock, EdgeType) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Adds a successor block with the specified edge type.
- addTableSwitch(int, int, int, Map<Integer, Integer>) - Method in class com.tonic.analysis.Bytecode
-
Appends a TABLESWITCH instruction to the bytecode.
- addThrowsType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Adds a declared thrown exception type.
- addThrowsType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Appends a declared thrown type.
- addToPath(CPGNode) - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Appends one hop to the end of the path.
- addTransform(IRTransform) - Method in class com.tonic.analysis.source.decompile.ClassDecompiler.Builder
-
Adds a single transform to the pipeline.
- addTransform(IRTransform) - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Adds a single transform to the pipeline; transforms apply in insertion order.
- addTransform(IRTransform) - Method in class com.tonic.analysis.ssa.SSA
-
Adds an optimization transform to be applied.
- addTransforms(List<IRTransform>) - Method in class com.tonic.analysis.source.decompile.ClassDecompiler.Builder
-
Adds multiple transforms to the pipeline.
- addTransforms(List<IRTransform>) - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Adds multiple transforms to the pipeline in list order.
- addType(TypeDecl) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Adds a top-level type declaration.
- addType(IRType) - Method in class com.tonic.analysis.typeinference.TypeSet
-
Adds a type, ignoring null.
- addTypeParameter(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Adds a type parameter.
- addTypeParameter(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Adds a type parameter.
- addTypeParameter(SourceType) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Appends a type parameter.
- addTypeParameter(SourceType) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Appends a generic type parameter.
- addUpdate(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Appends an update expression, ignoring null.
- addUse(IRInstruction) - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Adds a use of this value by an instruction.
- addUtf8(String) - Method in class com.tonic.parser.ConstPool
-
Always adds a new Utf8Item with the specified value.
- addValue(AnnotationValue) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Adds an element-value pair.
- addValue(SSAValue) - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
-
Adds another SSA value bound to this source variable (SSA splits one source var across defs).
- addValue(String, Expression) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Adds an element-value pair from a name and value.
- addVisitor(Consumer<InsnContext>) - Method in class com.tonic.analysis.absexec.Execution
-
Registers a visitor invoked for every executed instruction-context.
- addWarning(VerificationError) - Method in interface com.tonic.analysis.verifier.ErrorCollector
-
Records a warning.
- addWarning(VerificationError) - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
-
Records a warning; warnings are not capped.
- addWarning(VerificationError) - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
-
Records a warning; warnings are never dropped and never stop verification.
- addWarning(String) - Method in class com.tonic.renamer.validation.ValidationResult
-
Records a warning, which leaves the result valid.
- addXref(Xref) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Stores a cross-reference and files it into every index it belongs to.
- advancePC(int) - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Advances the program counter past the current instruction.
- after() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Places the hook call after the instrumented call, clearing the before placement.
- after() - Method in class com.tonic.analysis.source.recovery.rcs.TryNodeDescriptor
- after(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the hook runs after the call.
- AFTER - com.tonic.analysis.query.parser.Token.TokenType
-
The word
after, reserved for temporal ordering between events; no production consumes it yet. - afterCall(String, String, String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
-
Creates a hook that runs after calls to a named method.
- afterInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.debug.AbstractInterceptor
- afterInstruction(StackFrame, Instruction) - Method in interface com.tonic.analysis.execution.debug.InstructionInterceptor
-
Called after an instruction has been interpreted.
- afterInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.listener.AbstractBytecodeListener
- afterInstruction(StackFrame, Instruction) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called after an instruction has been interpreted.
- afterInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- afterInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- AGGRESSIVE - com.tonic.analysis.source.decompile.TransformPreset
-
Aggressive optimization - maximum simplification for cleanest output.
- AlgebraicSimplification - Class in com.tonic.analysis.ssa.transform
-
Algebraic Simplification optimization transform.
- AlgebraicSimplification() - Constructor for class com.tonic.analysis.ssa.transform.AlgebraicSimplification
- all() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects every node in the graph.
- all() - Static method in interface com.tonic.analysis.query.planner.filter.StaticFilter
- ALL - com.tonic.analysis.query.ast.Condition.Quant
- ALL - com.tonic.analysis.query.parser.Token.TokenType
-
The word
all, either an unrestricted scope or filler ahead of a target word, as inshow all strings. - ALL_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Request all available notifications regardless of frequency.
- ALL_PARAMETERS - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
All method parameters as Object[]
- AllFilter() - Constructor for class com.tonic.analysis.query.planner.filter.StaticFilter.AllFilter
- ALLOC_COUNT - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
alloccountoralloc_count, naming a count of allocations. - allocate() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
-
Runs the linear scan, pinning parameters to the leading slots and letting later values reuse a slot only when no named source variable already owns it.
- allocate(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Records a fresh object at an allocation site, replacing any object already recorded there.
- allocateArray(AllocationSite, IRType, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Records a fresh array at an allocation site, replacing any array already recorded there.
- allocateNodeId() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Reserves the next unique node id.
- allocateNodeId() - Method in class com.tonic.analysis.pdg.PDG
-
Hands out the next node id and advances the counter.
- allocateNodeId() - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Hands out the next unused node id.
- AllocationListener - Class in com.tonic.analysis.simulation.listener
-
Simulation listener that counts object and array allocations by type, optionally recording each allocation site.
- AllocationListener() - Constructor for class com.tonic.analysis.simulation.listener.AllocationListener
-
Creates a listener that also records allocation sites.
- AllocationListener(boolean) - Constructor for class com.tonic.analysis.simulation.listener.AllocationListener
-
Creates a listener with all counters at zero.
- AllocationListener.AllocationSite - Class in com.tonic.analysis.simulation.listener
-
One recorded allocation: the instruction, the type key, whether it was an array, and the operand stack depth at the time.
- AllocationMetrics - Class in com.tonic.analysis.simulation.metrics
-
Immutable snapshot of the allocations counted during a simulation.
- AllocationSite - Class in com.tonic.analysis.simulation.heap
-
The identity of one allocation in the program - class, owning method and instruction index - which bounds points-to analysis to one abstract object per NEW instruction.
- AllocationSite(Object, String, boolean, int) - Constructor for class com.tonic.analysis.simulation.listener.AllocationListener.AllocationSite
- allowModification() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Lets the hook replace the stored value.
- allowModification() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Lets the hook replace the value written.
- allowModification() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Lets the hook replace the returned value.
- AllScope - Class in com.tonic.analysis.query.ast
-
Search all methods/classes in the project.
- allSubtypesOf(IRType) - Static method in class com.tonic.analysis.typeinference.TypeSet
-
Creates an incomplete set rooted at the given type, standing for it and all its subtypes.
- aload(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a reference load from a local slot.
- ALOAD - com.tonic.util.Opcode
-
Loads a reference from the local variable at the given index onto the operand stack.
- ALOAD - Static variable in interface com.tonic.type.AccessFlags
- ALOAD_0 - com.tonic.util.Opcode
-
Loads the reference in local variable 0 onto the operand stack; in an instance method this is the receiver.
- ALOAD_1 - com.tonic.util.Opcode
-
Loads the reference in local variable 1 onto the operand stack.
- ALOAD_2 - com.tonic.util.Opcode
-
Loads the reference in local variable 2 onto the operand stack.
- ALOAD_3 - com.tonic.util.Opcode
-
Loads the reference in local variable 3 onto the operand stack.
- ALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the ALOAD instructions (0x19, 0x2A-0x2D).
- ALoadInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.ALoadInstruction
-
Constructs an ALoadInstruction.
- ALWAYS_SYNTHETIC - com.tonic.analysis.source.recovery.NameRecoveryStrategy
-
Always use synthetic names
- alwaysUseBraces(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether single-statement bodies still get braces; defaults to true.
- AMP - com.tonic.analysis.source.parser.TokenType
-
Bitwise or non-short-circuiting logical AND, and the separator between the bounds of an intersection type.
- AMP_AMP - com.tonic.analysis.source.parser.TokenType
-
Conditional AND, which does not evaluate its right operand once the left is false.
- AMP_EQ - com.tonic.analysis.source.parser.TokenType
-
Bitwise or logical AND into the target.
- analyze() - Method in class com.tonic.analysis.CodeWriter
-
Updates maxStack and maxLocals from the current bytecode, using a simplified analysis that does not cover every case.
- analyze() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Walks data flow edges from every source node to every reachable sink, capped at ten paths per pair.
- analyze() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
-
Performs all analysis passes needed for recovery.
- analyze() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
-
Analyzes the method and identifies structured regions.
- analyze() - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Seeds parameter types, indexes instanceof checks and runs the dataflow to fixpoint.
- analyze(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
-
Classifies a site as globally escaping if the heap marked it escaped, it lands in a static field, or it is reachable from an escaped site.
- analyzeClass(String, List<FieldEntry>, List<IRMethod>) - Static method in class com.tonic.analysis.source.recovery.SwitchMapAnalyzer
-
Finds the class's $SwitchMap fields and analyzes its static initializer to key them, doing nothing when the class declares none.
- analyzeConstructor(AllocationSite, IRMethod, List<SimValue>) - Method in class com.tonic.analysis.simulation.heap.ConstructorAnalyzer
-
Builds the object for an allocation site with the fields the constructor assigns.
- and(PatternMatcher...) - Static method in class com.tonic.analysis.pattern.Patterns
-
Combines patterns with AND logic.
- and(StaticFilter) - Method in interface com.tonic.analysis.query.planner.filter.StaticFilter
-
Combines this filter with another, keeping only what both accept.
- and(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a logical AND node.
- and(Expression, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a logical AND expression typed boolean.
- and(ExprMatcher) - Method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Combines this matcher with another using AND logic.
- and(StmtMatcher) - Method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Combines this matcher with another using AND logic.
- and(BoolFormula, BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Conjoins two formulas in both the BDD and NNF layers.
- And(List<Condition>) - Constructor for class com.tonic.analysis.query.ast.Condition.And
-
Creates a conjunction over a defensive copy of the terms.
- AND - com.tonic.analysis.query.parser.Token.TokenType
-
The word
and, conjoining condition terms. - AND - com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter.Op
- AND - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Short-circuiting logical and,
&&; the right operand is skipped when the left is false. - AND - com.tonic.analysis.source.parser.Precedence
-
The level of the short-circuiting
&&, binding tighter than||. - AND - com.tonic.analysis.ssa.ir.BinaryOp
-
Bitwise AND.
- andThen(ParseErrorListener) - Method in interface com.tonic.analysis.source.parser.ParseErrorListener
-
Chains a second listener behind this one, both receiving every error.
- anewarray(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
anewarrayfor a reference element type. - ANEWARRAY - com.tonic.util.Opcode
-
Pops an int length and pushes a new null-filled array whose component type is the class named by the two-byte constant pool index.
- ANewArrayInstruction - Class in com.tonic.analysis.instruction
-
Represents the ANEWARRAY instruction (0xBD).
- ANewArrayInstruction(ConstPool, int, int, int, int) - Constructor for class com.tonic.analysis.instruction.ANewArrayInstruction
-
Constructs an ANewArrayInstruction.
- annotate(String) - Method in class com.tonic.builder.ClassBuilder
-
Opens an annotation on this class; call
AnnotationBuilder.end()to return here. - annotate(String) - Method in class com.tonic.builder.FieldBuilder
-
Opens an annotation on this field; call
AnnotationBuilder.end()to return here. - annotate(String) - Method in class com.tonic.builder.MethodBuilder
-
Opens an annotation on this method; call
AnnotationBuilder.end()to return here. - annotateParameter(int, String) - Method in class com.tonic.builder.MethodBuilder
-
Opens an annotation on one parameter; call
AnnotationBuilder.end()to return here. - Annotation - Class in com.tonic.parser.attribute.annotation
-
A parsed annotation: its type descriptor index and element-value pairs.
- Annotation(ConstPool, int, int, List<ElementValuePair>) - Constructor for class com.tonic.parser.attribute.annotation.Annotation
-
Creates an annotation.
- ANNOTATION - com.tonic.analysis.dependency.DependencyType
-
Annotation type
- ANNOTATION - Static variable in class com.tonic.util.Modifiers
- annotationArray(String, AnnotationBuilder<?>...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a nested-annotation-array element.
- AnnotationBuilder<P> - Class in com.tonic.builder
-
Fluent builder for a single annotation.
- AnnotationDefaultAttribute - Class in com.tonic.parser.attribute
-
The AnnotationDefault attribute: the default value of an annotation element.
- AnnotationDefaultAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.AnnotationDefaultAttribute
-
Creates the attribute shell for parsing, attached to a class.
- AnnotationDefaultAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.AnnotationDefaultAttribute
-
Creates the attribute shell for parsing, attached to a member.
- AnnotationExpr - Class in com.tonic.analysis.source.ast.decl
-
A Java annotation use, in marker, single-value, or normal (named-values) form.
- AnnotationExpr(SourceType) - Constructor for class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Creates an annotation use with no values at an unknown location.
- AnnotationExpr(SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Creates an annotation use with no values.
- AnnotationFilter - Class in com.tonic.analysis.instrumentation.filter
-
Filter based on annotation presence.
- AnnotationFilter.Builder - Class in com.tonic.analysis.instrumentation.filter
-
Builder for AnnotationFilter instances.
- annotationType(String) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter.Builder
-
Sets the annotation type descriptor to match.
- annotationValue(String, AnnotationBuilder<?>) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a nested-annotation element.
- AnnotationValue - Class in com.tonic.analysis.source.ast.decl
-
A single element-value pair inside an annotation use.
- AnnotationValue(String, Expression) - Constructor for class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Creates an element-value pair at an unknown location.
- AnnotationValue(String, Expression, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Creates an element-value pair, adopting the value expression.
- any() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all expressions.
- any() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches all statements.
- ANY - com.tonic.analysis.query.ast.ArgumentType
-
Wildcard that accepts every other classification; also the fallback for an unrecognized type keyword.
- ANY - com.tonic.analysis.query.ast.Condition.Quant
- anyArrayAccess() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all array access expressions.
- anyBinary() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all binary expressions.
- anyCast() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches cast instructions.
- anyCast() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches any cast expression.
- anyFieldAccess() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all field access expressions.
- anyFieldRead() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches any field read.
- anyFieldWrite() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches any field write.
- anyInstanceOf() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches instanceof checks.
- anyInstanceOf() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches any instanceof expression.
- anyLiteral() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all literal expressions.
- anyLoop() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches any loop statement (for, while, do-while, for-each).
- anyMethodCall() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches any method call.
- anyMethodCall() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all method call expressions.
- anyNew() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches any object allocation.
- anyNewArray() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches any array allocation.
- anyReturn() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches return instructions.
- anyThrow() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches throw instructions.
- anyUnary() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches all unary expressions.
- AppendFrame - Class in com.tonic.parser.attribute.stack
-
Represents an AppendFrame in the StackMapTable attribute.
- AppendFrame(int, int, List<VerificationTypeInfo>) - Constructor for class com.tonic.parser.attribute.stack.AppendFrame
-
Creates a frame from already-decoded values, copying the locals list.
- AppendFrame(int, ClassFile, ConstPool) - Constructor for class com.tonic.parser.attribute.stack.AppendFrame
-
Reads the offset delta and the frame type minus 251 appended locals from the class file.
- appendInstruction(Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Appends a new instruction to the end of the bytecode.
- apply() - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Applies all registered hooks to the target classes.
- apply() - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Applies all registered handlers and modifies the AST in place.
- apply() - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Applies all registered handlers and modifies the AST in place.
- apply() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Applies all registered handlers and modifies the AST in place.
- apply() - Method in class com.tonic.renamer.Renamer
-
Applies all rename mappings.
- apply(TypeState, Instruction) - Method in class com.tonic.analysis.frame.TypeInference
-
Applies the type transformation of an instruction to the given state.
- apply(SimulationState, IRInstruction) - Static method in class com.tonic.analysis.simulation.util.StateTransitions
-
Apply an instruction's effect to the simulation state.
- applyAndReturn() - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Applies all registered handlers and returns the modified method body.
- applyRenames() - Method in class com.tonic.renamer.ClassRenamer
-
Applies all class renames across the ClassPool.
- applyRenames() - Method in class com.tonic.renamer.FieldRenamer
-
Applies every field mapping in the context across the class pool.
- applyRenames() - Method in class com.tonic.renamer.MethodRenamer
-
Applies all method renames across the ClassPool.
- applyUnsafe() - Method in class com.tonic.renamer.Renamer
-
Applies all rename mappings without validation.
- applyWithReport() - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Applies all registered hooks and records the result as the last report.
- areturn() - Method in class com.tonic.builder.CodeBuilder
-
Appends
areturn, returning a reference. - ARETURN - com.tonic.util.Opcode
-
Pops a reference and returns it to the caller, discarding the rest of the frame.
- ARETURN - com.tonic.util.ReturnType
-
Reference return instruction.
- ARETURN - Static variable in interface com.tonic.type.AccessFlags
- ARG - com.tonic.analysis.query.eval.SubjectKind
-
One argument of a call site, which inherits that call's evaluation context.
- ARG_ANY - com.tonic.analysis.query.parser.Token.TokenType
-
The argument word
any, matching an argument of any kind. - ARG_CALL - com.tonic.analysis.query.parser.Token.TokenType
-
The argument word
callarg, matching an argument that came from another call's result. - ARG_DYNAMIC - com.tonic.analysis.query.parser.Token.TokenType
-
The argument word
dynamicordynamicarg, matching an argument only known at run time. - ARG_ESCAPE - com.tonic.analysis.simulation.heap.EscapeAnalyzer.EscapeState
-
The allocation is handed to a callee but no further; this analyzer never reports it.
- ARG_FIELD - com.tonic.analysis.query.parser.Token.TokenType
-
The argument word
fieldarg, matching an argument that came from a field read. - ARG_LITERAL - com.tonic.analysis.query.parser.Token.TokenType
-
The argument word
literal, matching an argument that is a compile-time constant. - ARG_LOCAL - com.tonic.analysis.query.parser.Token.TokenType
-
The argument word
localarg, matching an argument that came from a local variable. - argIndex() - Method in class com.tonic.analysis.query.eval.Subject.ArgSubject
- ArgSubject(Subject.CallSubject, int) - Constructor for class com.tonic.analysis.query.eval.Subject.ArgSubject
-
Binds the cursor to one argument of a call site, inheriting its context.
- ARGUMENT - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links a call site to an expression passed as one of its arguments.
- ArgumentType - Enum in com.tonic.analysis.query.ast
-
Classification of how a call argument value is produced, with DYNAMIC covering any non-literal source.
- ArgumentTypeAnalyzer - Class in com.tonic.analysis.query.util
-
Static helpers for classifying invoke-instruction arguments by how they are produced.
- ArgumentTypeAnalyzer() - Constructor for class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
- ArgValueResolver - Class in com.tonic.analysis.query.eval
-
Resolves an argument of a call to its declared type, kind and (when a constant feeds the operand) literal value.
- ARITHMETIC_EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- ArithmeticInstruction - Class in com.tonic.analysis.instruction
-
Represents arithmetic instructions.
- ArithmeticInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.ArithmeticInstruction
-
Constructs an ArithmeticInstruction.
- ArithmeticInstruction.ArithmeticType - Enum in com.tonic.analysis.instruction
-
The arithmetic operation kinds, each pairing a JVM opcode with its mnemonic.
- ArithmeticShiftInstruction - Class in com.tonic.analysis.instruction
-
Represents shift instructions (ISHL, LSHL, ISHR, LSHR, IUSHR, LUSHR).
- ArithmeticShiftInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.ArithmeticShiftInstruction
-
Constructs an ArithmeticShiftInstruction.
- ArithmeticShiftInstruction.ShiftType - Enum in com.tonic.analysis.instruction
-
The shift operation kinds, each pairing a JVM opcode with its mnemonic.
- Arm(List<Expression>, boolean, Expression) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- Arm(List<Expression>, boolean, SourceType, String, Expression) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- Arm(List<Expression>, boolean, SourceType, String, List<SwitchExpr.Component>, Expression) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- Arm(List<Expression>, boolean, SourceType, String, List<SwitchExpr.Component>, Expression, Expression) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- ARRAY - com.tonic.util.DescriptorUtil.DescriptorCategory
-
An array reference, written with one leading
[per dimension. - ARRAY - Static variable in class com.tonic.type.TypeDescriptor
- ARRAY_ALLOC - com.tonic.analysis.execution.listener.TraceEvent.Type
-
An array was allocated on the interpreter heap, carrying its element type, length, and the heap id assigned to it.
- ARRAY_COMPONENT - com.tonic.analysis.dependency.DependencyType
-
Array component type
- ARRAY_CONSTRUCTOR - com.tonic.analysis.source.ast.expr.MethodRefKind
-
Array constructor reference: int[]::new
- ARRAY_INDEX - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The array index
- ARRAY_INDEX_OUT_OF_BOUNDS - Static variable in class com.tonic.util.CommonTypes
- ARRAY_LENGTH - Static variable in class com.tonic.analysis.fingerprint.features.Level1Features
- ARRAY_LIST - Static variable in class com.tonic.util.CommonTypes
- ARRAY_LOAD - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value read out of an array element by an array load.
- ARRAY_LOAD - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value read out of an array element, a value source but not a taint entry point.
- ARRAY_LOAD - com.tonic.analysis.instrumentation.InstrumentationTarget
-
After AALOAD/IALOAD/etc.
- ARRAY_LOAD - Static variable in class com.tonic.analysis.fingerprint.features.Level1Features
- ARRAY_NEW - Static variable in class com.tonic.analysis.fingerprint.features.Level1Features
- ARRAY_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Array read/write notifications (high frequency).
- ARRAY_READ - com.tonic.analysis.execution.listener.TraceEvent.Type
-
An array element was loaded, carrying the array, the index, and the value read.
- ARRAY_REF - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The array reference
- ARRAY_STORE - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value written into an array element by an array store.
- ARRAY_STORE - com.tonic.analysis.dataflow.DataFlowNodeType
-
A write into an array element, a sink but not one taint is tracked through.
- ARRAY_STORE - com.tonic.analysis.instrumentation.InstrumentationTarget
-
Before AASTORE/IASTORE/etc.
- ARRAY_STORE - Static variable in class com.tonic.analysis.fingerprint.features.Level1Features
- ARRAY_WRITE - com.tonic.analysis.execution.listener.TraceEvent.Type
-
An array element was stored, carrying the array, the index, and the value written.
- arrayAccess(Expression, Expression, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an array element access node.
- arrayAccess(Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an array access expression.
- ArrayAccessExpr - Class in com.tonic.analysis.source.ast.expr
-
An array access expression: array[index].
- ArrayAccessExpr(Expression, Expression, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
-
Creates an array access with an unknown source location.
- ArrayAccessExpr(Expression, Expression, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
-
Creates an array access over the given array and index and reparents both operands.
- ArrayAccessHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for array access expressions (array[index]).
- ArrayAccessHandler.ArrayAccessType - Enum in com.tonic.analysis.source.editor.handler
-
The type of array access operation.
- ArrayAccessInstruction - Class in com.tonic.analysis.ssa.ir
-
An array element load or store, distinguished by its
AccessMode. - arrayAllocation(String, int, int) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an array-allocation event.
- arrayConstructorRef(SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates an array constructor reference, int[]::new, taking the owner from the array type's source form.
- arrayInit(SourceType, Expression...) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an array initializer node.
- ArrayInitExpr - Class in com.tonic.analysis.source.ast.expr
-
An array initializer expression: {elem1, elem2, ...}.
- ArrayInitExpr(List<Expression>, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.ArrayInitExpr
-
Creates an initializer with an unknown source location.
- ArrayInitExpr(List<Expression>, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.ArrayInitExpr
-
Creates an initializer over a defensive copy of the elements and reparents each one.
- ArrayInitializerReconstructor - Class in com.tonic.analysis.source.ast.transform
-
Folds the verbose array-build idiom javac emits for an array literal back into a literal:
- ArrayInitializerReconstructor() - Constructor for class com.tonic.analysis.source.ast.transform.ArrayInitializerReconstructor
- ArrayInstance - Class in com.tonic.analysis.execution.heap
-
A heap-allocated array with typed primitive or reference backing storage.
- ArrayInstance(int, String, int) - Constructor for class com.tonic.analysis.execution.heap.ArrayInstance
-
Allocates an array with zeroed storage matching the component type.
- arraylength() - Method in class com.tonic.builder.CodeBuilder
-
Appends
arraylength, replacing an array reference with its length. - ARRAYLENGTH - com.tonic.analysis.ssa.ir.SimpleOp
-
Reads the length of the array operand into the instruction's result.
- ARRAYLENGTH - com.tonic.util.Opcode
-
Pops an array reference and pushes its length as an int.
- ArrayLengthInstruction - Class in com.tonic.analysis.instruction
-
Represents the ARRAYLENGTH instruction (0xBE).
- ArrayLengthInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.ArrayLengthInstruction
-
Constructs an ArrayLengthInstruction.
- arrayLoad(AllocationSite, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Reads every value an element of one array may hold.
- arrayLoadForRef(Set<AllocationSite>, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Reads an element across every array a reference may point to.
- ArrayLoadHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for array load instrumentation.
- ArrayLoadHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Fluent builder for
ArrayLoadHookinstances. - arrayRead(String, int, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an array-read event.
- ARRAYS - Static variable in class com.tonic.util.CommonTypes
- ArraySourceType - Class in com.tonic.analysis.source.ast.type
-
Represents an array type in the source AST.
- ArraySourceType(SourceType) - Constructor for class com.tonic.analysis.source.ast.type.ArraySourceType
-
Creates a one-dimensional array type.
- ArraySourceType(SourceType, int) - Constructor for class com.tonic.analysis.source.ast.type.ArraySourceType
-
Creates an array type with an explicit dimension count.
- arrayStore(AllocationSite, SimValue, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Adds a value to an element of one array; no-op if nothing was allocated at the site.
- arrayStoreForRef(Set<AllocationSite>, SimValue, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Weakly updates an element across every array a reference may point to.
- ArrayStoreHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for array store instrumentation.
- ArrayStoreHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Fluent builder for
ArrayStoreHookinstances. - arrayType(SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a one-dimensional array type node.
- arrayType(SourceType, int) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a multi-dimensional array type node.
- ArrayType - Class in com.tonic.analysis.ssa.type
-
Represents an array type.
- ArrayType(IRType) - Constructor for class com.tonic.analysis.ssa.type.ArrayType
-
Creates a single-dimensional array type.
- ArrayType(IRType, int) - Constructor for class com.tonic.analysis.ssa.type.ArrayType
-
Creates an array type with specified element type and dimensions.
- arrayTypeFilter(String) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets the array element type filter; null instruments all array types.
- arrayTypeFilter(String) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets the array element type filter; null instruments all array types.
- arrayWrite(String, int, String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an array-write event.
- ARROW - com.tonic.analysis.source.parser.TokenType
-
Separates a lambda's parameters from its body, and an arrow-form switch label from its result.
- arrowHead(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle.Builder
-
Sets the DOT arrowhead attribute, such as "normal" or "empty".
- asArray(SimValue...) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Replaces the array contents and sets the length to match.
- asc(String) - Static method in class com.tonic.analysis.query.ast.OrderBy
-
Creates an ascending ordering.
- ASC - com.tonic.analysis.query.parser.Token.TokenType
-
The word
asc, an ascending sort direction; also the direction assumed when neither is written. - ascending() - Method in class com.tonic.analysis.query.ast.OrderBy
- asDouble() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- asFloat() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- asInt() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- asLong() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- asReference() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- asReturnAddress() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- assemble(ClassFile) - Method in class com.tonic.builder.CodeBuilder
-
Materializes the recorded ops into a detached instruction snapshot resolved against
target's constant pool. - ASSERT - com.tonic.analysis.source.parser.TokenType
-
Introduces an assert statement, whose check is inert unless assertions are enabled at run time.
- assign(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an assignment expression node typed from the target.
- assign(Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an assignment expression.
- ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Plain assignment,
=; the lowest-precedence operator and the only non-compound one that groups right to left. - assignment() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches binary expressions whose operator assigns.
- ASSIGNMENT - com.tonic.analysis.source.parser.Precedence
-
The loosest operator level, covering plain assignment and every compound assignment; right-associative.
- AssignmentHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for assignment expressions.
- assignmentStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches expression statements containing an assignment.
- assignsField(IRMethod, FieldKey) - Method in class com.tonic.analysis.simulation.heap.ConstructorAnalyzer
-
Tests whether a constructor writes a given instance field.
- asStatement() - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Builds the call and wraps it as a statement.
- asStatement() - Method in class com.tonic.analysis.source.editor.util.ASTFactory.NewExprBuilder
-
Builds the allocation and wraps it as a statement.
- AST_CHILD - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Descends from a syntax node to one nested directly inside it.
- AST_EXPRESSION - com.tonic.analysis.cpg.node.CPGNodeType
-
An expression in the recovered source tree, evaluating to a value.
- AST_PARENT - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Ascends from a syntax node to the one enclosing it, the inverse of AST_CHILD.
- AST_STATEMENT - com.tonic.analysis.cpg.node.CPGNodeType
-
A statement in the recovered source tree, executed for effect rather than for a value.
- astChildren() - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Follows outgoing AST child edges.
- astChildren() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to direct AST children.
- astDescendants() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Expands to every transitive AST descendant, excluding the starting nodes.
- ASTEditor - Class in com.tonic.analysis.source.editor
-
Fluent editor that walks a method body, dispatching registered handlers to rewrite AST nodes.
- ASTEditor(BlockStmt) - Constructor for class com.tonic.analysis.source.editor.ASTEditor
-
Creates a new AST editor with minimal context.
- ASTEditor(BlockStmt, String, String, String) - Constructor for class com.tonic.analysis.source.editor.ASTEditor
-
Creates a new AST editor for the given method body.
- ASTFactory - Class in com.tonic.analysis.source.ast
-
Static factory of AST nodes with sensible type defaults.
- ASTFactory - Class in com.tonic.analysis.source.editor.util
-
Factory for building source AST expressions and statements programmatically.
- ASTFactory() - Constructor for class com.tonic.analysis.source.editor.util.ASTFactory
- ASTFactory.MethodCallBuilder - Class in com.tonic.analysis.source.editor.util
-
Builder for method call expressions.
- ASTFactory.NewExprBuilder - Class in com.tonic.analysis.source.editor.util
-
Builder for new object expressions.
- ASTLowerer - Class in com.tonic.analysis.source.lower
-
Facade that lowers a source-level AST method body into SSA IR ready for bytecode emission.
- ASTLowerer(ConstPool, ClassPool) - Constructor for class com.tonic.analysis.source.lower.ASTLowerer
-
Creates a lowerer bound to the given pools.
- ASTMutations - Class in com.tonic.analysis.source.ast
-
Deep clone, replace and remove operations over AST nodes.
- ASTNode - Interface in com.tonic.analysis.source.ast
-
Base interface for all AST nodes in the source representation.
- astore(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a reference store to a local slot.
- ASTORE - com.tonic.util.Opcode
-
Pops a reference or return address and stores it in the local variable at the given index.
- ASTORE - Static variable in interface com.tonic.type.AccessFlags
- ASTORE_0 - com.tonic.util.Opcode
-
Pops a reference or return address and stores it in local variable 0.
- ASTORE_1 - com.tonic.util.Opcode
-
Pops a reference or return address and stores it in local variable 1.
- ASTORE_2 - com.tonic.util.Opcode
-
Pops a reference or return address and stores it in local variable 2.
- ASTORE_3 - com.tonic.util.Opcode
-
Pops a reference or return address and stores it in local variable 3.
- AStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the ASTORE instruction and its variants (ASTORE, ASTORE_0-3) (0x4B-0x4E).
- AStoreInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.AStoreInstruction
-
Constructs an AStoreInstruction.
- astParent() - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Follows the incoming AST child edge to the parent.
- astParent() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to AST parents.
- ASTPrinter - Class in com.tonic.analysis.source.ast
-
Debug visitor that renders an expression/statement AST as an indented tree, optionally with types.
- ASTPrinter() - Constructor for class com.tonic.analysis.source.ast.ASTPrinter
-
Creates a printer that annotates nodes with their types.
- ASTPrinter(boolean) - Constructor for class com.tonic.analysis.source.ast.ASTPrinter
-
Creates a printer.
- ASTTransform - Interface in com.tonic.analysis.source.ast.transform
-
Interface for AST-level transformations that improve decompiled output quality.
- ASTUtils - Class in com.tonic.analysis.source.ast
-
Visitor-backed helpers for traversing and querying AST nodes.
- ASTValidator - Class in com.tonic.analysis.source.ast.validation
-
Coordinator that runs structural, type, and null validation strategies over an AST tree.
- ASTValidator() - Constructor for class com.tonic.analysis.source.ast.validation.ASTValidator
-
Creates a validator with all validation strategies enabled.
- ASTValidator.ValidationResult - Class in com.tonic.analysis.source.ast.validation
-
Immutable outcome of a validation run, holding all reported issues.
- at(byte[], int) - Static method in class com.tonic.util.InstructionLength
-
The encoded length of the instruction at an offset, including its opcode byte.
- AT - com.tonic.analysis.source.parser.TokenType
-
Introduces an annotation, and precedes the interface keyword in an annotation type declaration.
- atBlock(IRBlock) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Move to a new block.
- athrow() - Method in class com.tonic.builder.CodeBuilder
-
Appends
athrow, throwing the reference on top of the stack. - ATHROW - com.tonic.analysis.execution.dispatch.DispatchResult
-
An
athrowwas executed; the thrown reference is on the stack and needs handler lookup. - ATHROW - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
An
athrowwas executed; the thrown reference is on the stack and needs handler lookup. - ATHROW - com.tonic.analysis.ssa.ir.SimpleOp
-
Throws the operand, terminating its block with no successor edge.
- ATHROW - com.tonic.util.Opcode
-
Pops a throwable reference and throws it, transferring control to the matching handler or to the caller.
- ATHROWInstruction - Class in com.tonic.analysis.instruction
-
Represents the ATHROW instruction (0xBF).
- ATHROWInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.ATHROWInstruction
-
Constructs an ATHROWInstruction.
- atInstruction(int) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Move to a specific instruction index.
- atLine(String, String, String, int) - Static method in class com.tonic.analysis.execution.debug.Breakpoint
-
Creates a breakpoint carrying a source line number; matching still uses pc -1, i.e.
- atom(int) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Builds the positive-literal formula for one atom.
- atPC(String, String, String, int) - Static method in class com.tonic.analysis.execution.debug.Breakpoint
-
Creates a breakpoint at a specific bytecode offset.
- attachTo(ClassFile, ConstPool) - Method in class com.tonic.builder.AnnotationBuilder
-
Attaches this annotation to a class.
- attachTo(MemberEntry, ConstPool) - Method in class com.tonic.builder.AnnotationBuilder
-
Attaches this annotation to a field or method, appending to the existing
Runtime[In]VisibleAnnotationsattribute of matching visibility when present, or creating one otherwise. - attribute(String, Object) - Method in class com.tonic.analysis.query.planner.QueryMatch.Builder
-
Adds one attribute, replacing any previous value under the same name.
- Attribute - Class in com.tonic.parser.attribute
-
Abstract base for class-file attributes, attached to a class or a member.
- Attribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.Attribute
-
Creates a class-level attribute.
- Attribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.Attribute
-
Creates an attribute attached to a field or method.
- AttributeRegistry - Class in com.tonic.analysis.query.eval
-
Maps
(SubjectKind, keyword)to a resolver - either a scalarAttributeRegistry.Attributeor a sub-subjectAttributeRegistry.Selector. - AttributeRegistry() - Constructor for class com.tonic.analysis.query.eval.AttributeRegistry
- AttributeRegistry.Attribute - Interface in com.tonic.analysis.query.eval
-
Resolves a scalar value from a subject.
- AttributeRegistry.Entry - Class in com.tonic.analysis.query.eval
-
A registered resolver: exactly one of
scalar/streamis non-null. - AttributeRegistry.Selector - Interface in com.tonic.analysis.query.eval
-
Expands a subject into a stream of sub-subjects (honoring the step's index/wildcard).
B
- BACK - com.tonic.analysis.ssa.cfg.EdgeType
-
Back edge forming a loop.
- BACKWARD - com.tonic.analysis.pdg.slice.SliceResult.SliceType
-
Walked against the dependence edges, reaching everything the criterion depends on.
- backwardSlice(PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices backwards from a single node.
- backwardSlice(Set<PDGNode>) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Walks incoming edges transitively from every criterion node.
- backwardSliceControlOnly(PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices backwards over control dependences only, leaving this slicer's settings untouched.
- backwardSliceDataOnly(PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices backwards over data dependences only, leaving this slicer's settings untouched.
- backwardSliceWithFilter(PDGNode, Predicate<PDGNode>) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices backwards, stopping the walk at any node the filter rejects.
- baload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
baload, loading a byte or boolean element from an array. - BALOAD - com.tonic.util.Opcode
-
Pops a byte or boolean array reference and an int index, and pushes the element sign-extended to an int.
- BALOADInstruction - Class in com.tonic.analysis.instruction
-
Represents the BALOAD instruction (0x33).
- BALOADInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.BALOADInstruction
-
Constructs a BALOADInstruction.
- BAND - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Bitwise and,
&; on boolean operands a logical and that always evaluates both sides. - BAND_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Bitwise and and assign,
&=; also non-short-circuiting and-assign on booleans. - BANG - com.tonic.analysis.source.parser.TokenType
-
Logical negation.
- BANG_EQ - com.tonic.analysis.source.parser.TokenType
-
Inequality test, the negation of EQ_EQ.
- baselineDeclaredVariables() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Snapshots the current declared set as the method's baseline (the pre-declared parameters), so a full re-pass can restore it.
- bastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
bastore, storing a byte or boolean element into an array. - BASTORE - com.tonic.util.Opcode
-
Pops a byte or boolean array reference, an int index and an int value, and stores the value truncated to a byte.
- BAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the BASTORE instruction (0x54).
- BAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.BAStoreInstruction
-
Constructs a BASToreInstruction.
- BECOMES - com.tonic.analysis.query.parser.Token.TokenType
-
The word
becomes, reserved for a value-transition predicate; no production consumes it yet. - before() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Places the hook call before the instrumented call, clearing the after placement.
- before(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the hook runs before the call.
- BEFORE - com.tonic.analysis.query.parser.Token.TokenType
-
The word
before, reserved for temporal ordering between events; no production consumes it yet. - beforeCall(String, String, String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
-
Creates a hook that runs before calls to a named method.
- beforeInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.debug.AbstractInterceptor
- beforeInstruction(StackFrame, Instruction) - Method in interface com.tonic.analysis.execution.debug.InstructionInterceptor
-
Called just before an instruction is interpreted.
- beforeInstruction(StackFrame, Instruction) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called just before an instruction is interpreted.
- beforeInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- beforeInstruction(StackFrame, Instruction) - Method in class com.tonic.analysis.execution.listener.TracingListener
- binary(BinaryOperator, Expression, Expression, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a binary expression node.
- binary(Expression, BinaryOperator, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a binary expression.
- BINARY_OP - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value computed from two operands, which propagates taint from either of them.
- BinaryExpr - Class in com.tonic.analysis.source.ast.expr
-
A binary expression: left op right, including assignments and logical operators.
- BinaryExpr(BinaryOperator, Expression, Expression, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Creates a binary expression with an unknown source location.
- BinaryExpr(BinaryOperator, Expression, Expression, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Creates a binary expression and reparents both operands.
- BinaryExprHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for binary expressions (arithmetic, comparison, logical operations).
- binaryOp(BinaryOperator) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches binary expressions with a specific operator.
- BinaryOp - Enum in com.tonic.analysis.ssa.ir
-
Binary operation types.
- BinaryOperator - Enum in com.tonic.analysis.source.ast.expr
-
Binary operators for expressions.
- BinaryOpInstruction - Class in com.tonic.analysis.ssa.ir
-
A binary arithmetic, logical, or comparison operation on two operands.
- BinaryOpInstruction(SSAValue, BinaryOp, Value, Value) - Constructor for class com.tonic.analysis.ssa.ir.BinaryOpInstruction
-
Creates a binary operation and registers uses of its SSA operands.
- bindLabel(String, Instruction) - Method in class com.tonic.analysis.CodeWriter.ClonedRange
-
Binds an external label (declared via
CodeBuilder.externalLabel) to a host-method instruction; must be called before splicing. - bipush(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends
bipush, pushing a signed byte widened to int. - BIPUSH - com.tonic.util.Opcode
-
Sign-extends the single-byte operand to an int and pushes it onto the operand stack.
- BipushInstruction - Class in com.tonic.analysis.instruction
-
Represents the BIPUSH instruction (0x10).
- BipushInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.BipushInstruction
-
Constructs a BipushInstruction.
- BIT_AND - com.tonic.analysis.source.parser.Precedence
-
The level of the single
&, the tightest of the three bitwise levels. - BIT_OR - com.tonic.analysis.source.parser.Precedence
-
The level of the single
|, the loosest of the three bitwise levels. - BIT_XOR - com.tonic.analysis.source.parser.Precedence
-
The level of
^, between bitwise or and bitwise and. - BitTrackingDCE - Class in com.tonic.analysis.ssa.transform
-
Bit-Tracking Dead Code Elimination (BDCE).
- BitTrackingDCE() - Constructor for class com.tonic.analysis.ssa.transform.BitTrackingDCE
- blankLine() - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Writes an empty line.
- blankLinesBetweenMethods(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether a blank line separates methods; defaults to true.
- block() - Method in class com.tonic.analysis.ssa.lower.CopyInfo
- block(Statement...) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a block statement node.
- block(Statement...) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a block statement.
- block(List<Statement>) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a block statement node.
- block(List<Statement>) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a block statement.
- BLOCK - com.tonic.analysis.cpg.node.CPGNodeType
-
A basic block, a run of instructions entered only at its head.
- BLOCK - com.tonic.analysis.simulation.core.SimulationMode
-
Track state at basic block boundaries only.
- blockForOffset(int) - Method in class com.tonic.analysis.query.eval.EvalContext
-
Finds the IR block containing a bytecode offset - the block with the greatest start offset not past it.
- BlockMerging - Class in com.tonic.analysis.ssa.transform
-
Block merging optimization.
- BlockMerging() - Constructor for class com.tonic.analysis.ssa.transform.BlockMerging
- BlockNode - Class in com.tonic.analysis.cpg.node
-
CPG node wrapping a basic block of SSA IR.
- BlockNode(long, IRBlock) - Constructor for class com.tonic.analysis.cpg.node.BlockNode
-
Creates a node for a basic block.
- blocks() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects all basic block nodes.
- blockStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches block statements.
- BlockStmt - Class in com.tonic.analysis.source.ast.stmt
-
A brace-delimited sequence of statements.
- BlockStmt() - Constructor for class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Creates an empty block.
- BlockStmt(List<Statement>) - Constructor for class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Creates a block containing the given statements with an unknown location.
- BlockStmt(List<Statement>, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Creates a block containing the given statements, skipping null entries.
- BlockTransition(IRBlock, IRBlock) - Constructor for class com.tonic.analysis.simulation.listener.ControlFlowListener.BlockTransition
- BNOT - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Bitwise complement,
~, flipping every bit of an integral operand. - body() - Method in class com.tonic.analysis.query.ast.Condition.Count
- body() - Method in class com.tonic.analysis.query.ast.Condition.Quantifier
- body() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- BOOL - com.tonic.analysis.query.value.ValueKind
-
A true or false flag, and the only kind a bare condition can be truth-tested on directly.
- BOOLEAN - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
booleankeyword; one slot wide and carried as an int on the operand stack. - BOOLEAN - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a true/false value.
- BOOLEAN - com.tonic.analysis.ssa.type.PrimitiveType
-
Truth value, descriptor
Z, treated as integral since the JVM carries it as an int. - BOOLEAN - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
Z, carried on the stack as an int. - BOOLEAN - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- BOOLEAN - Static variable in class com.tonic.parser.util.TypeInfo
- BOOLEAN - Static variable in class com.tonic.type.TypeDescriptor
- BOOLEAN - Static variable in class com.tonic.util.CommonTypes
- BOOLEAN_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- booleanArray(String, boolean...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a boolean-array element.
- BoolFormula - Class in com.tonic.analysis.source.recovery.rcs
-
A reaching-condition boolean formula carried as two representations kept in sync by
BoolFormulaFactory. - BoolFormulaFactory - Class in com.tonic.analysis.source.recovery.rcs
-
The reaching-condition boolean engine for one method's structuring pass.
- BoolFormulaFactory() - Constructor for class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Creates an engine with fresh BDD and NNF factories and an unconstrained domain.
- boolLit(boolean) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean literal node.
- boolLiteral(boolean) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a boolean literal.
- boolVar(String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean-typed variable reference node.
- bootstrap() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- BOOTSTRAP_ARG - com.tonic.analysis.query.eval.SubjectKind
-
A static bootstrap argument, identified only by its constant pool index; dynamic ones bind as
SubjectKind.DYNAMICinstead. - BOOTSTRAP_ARG_FIELD - com.tonic.analysis.xref.XrefType
-
A field named by a field method handle passed as a static argument to a bootstrap method.
- BOOTSTRAP_ARG_METHOD - com.tonic.analysis.xref.XrefType
-
A method named by a method handle passed as a static argument to a bootstrap method, such as the lambda body behind an invokedynamic.
- BOOTSTRAP_METHOD - com.tonic.analysis.xref.XrefType
-
A method invoked by the JVM at link time to resolve an invokedynamic call site or a dynamic constant.
- BootstrapArgSubject(int, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.BootstrapArgSubject
-
Binds the cursor to a static bootstrap argument.
- BootstrapFamilies - Class in com.tonic.analysis
-
Owner/name predicates for the JDK bootstrap-method families reachable from invokedynamic and constant-dynamic.
- BootstrapMethod - Class in com.tonic.parser.attribute.table
-
Represents a bootstrap method entry in the BootstrapMethods attribute.
- BootstrapMethod(int, List<Integer>) - Constructor for class com.tonic.parser.attribute.table.BootstrapMethod
-
Constructs a bootstrap method entry.
- BootstrapMethodInfo - Class in com.tonic.analysis.ssa.ir
-
Represents bootstrap method information for invokedynamic and constant dynamic.
- BootstrapMethodInfo(MethodHandleConstant, List<Constant>) - Constructor for class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
-
Creates a bootstrap method info.
- BootstrapMethodsAttribute - Class in com.tonic.parser.attribute
-
The BootstrapMethods attribute: bootstrap method entries for invokedynamic call sites.
- BootstrapMethodsAttribute(ConstPool) - Constructor for class com.tonic.parser.attribute.BootstrapMethodsAttribute
-
Constructor for programmatic creation of a BootstrapMethods attribute.
- BootstrapMethodsAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.BootstrapMethodsAttribute
-
Creates the attribute shell for parsing, attached to a class.
- BootstrapMethodsAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.BootstrapMethodsAttribute
-
Creates the attribute shell for parsing, attached to a member.
- Bootstraps - Class in com.tonic.analysis
-
Single source of truth for resolving invokedynamic/condy bootstraps from a
ClassFile's BootstrapMethods attribute. - Bootstraps.BootstrapRef - Class in com.tonic.analysis
-
Immutable resolved view of a single bootstrap method.
- BOR - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Bitwise or,
|; on boolean operands a logical or that always evaluates both sides. - BOR_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Bitwise or and assign,
|=; also non-short-circuiting or-assign on booleans. - borderColor(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle.Builder
-
Sets the outline colour.
- both(CPGEdgeType...) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps along edges in both directions.
- BOTTOM - com.tonic.analysis.typeinference.Nullability
-
Bottom - no information (unreachable)
- BOTTOM - Static variable in class com.tonic.analysis.typeinference.TypeState
-
Type state representing no information (bottom).
- BOUND - com.tonic.analysis.source.ast.expr.MethodRefKind
-
Bound instance method reference: expr::instanceMethod
- boundRef(Expression, String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates a bound method reference, expr::method.
- box(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
-
Maps a primitive to its wrapper class.
- branch(int, int, boolean) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a branch event.
- branch(Frame) - Method in class com.tonic.analysis.absexec.InsnContext
-
Records a frame forked by this instruction at a branch target.
- BRANCH - com.tonic.analysis.execution.dispatch.DispatchResult
-
Control transfers to the branch target the dispatcher left on the context.
- BRANCH - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
Control transfers to the branch target the dispatcher left on the context.
- BRANCH - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A branch instruction was evaluated, carrying its source offset, target offset, and whether the branch was taken.
- BRANCH - com.tonic.analysis.pdg.node.PDGNodeType
-
A conditional transfer, the node other nodes are control dependent on.
- BRANCH_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Branch taken/not-taken notifications (medium frequency).
- BranchInstruction - Class in com.tonic.analysis.ssa.ir
-
A conditional branch comparing one or two operands and selecting a true or false target block.
- BranchInstruction(CompareOp, Value, IRBlock, IRBlock) - Constructor for class com.tonic.analysis.ssa.ir.BranchInstruction
-
Creates a single-operand branch comparing against an implicit zero or null.
- BranchInstruction(CompareOp, Value, Value, IRBlock, IRBlock) - Constructor for class com.tonic.analysis.ssa.ir.BranchInstruction
-
Creates a two-operand comparison branch and registers uses of its SSA operands.
- BREAK - com.tonic.analysis.source.parser.TokenType
-
Leaves the innermost loop or switch, or the labeled statement it names.
- BREAK - com.tonic.analysis.source.recovery.ControlFlowContext.JumpKind
- BREAK_SWITCH - com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJumpKind
- Breakpoint - Class in com.tonic.analysis.execution.debug
-
Breakpoint location keyed by class, method, and pc, with mutable enablement, condition, and hit tracking.
- Breakpoint(String, String, String, int) - Constructor for class com.tonic.analysis.execution.debug.Breakpoint
-
Creates an enabled breakpoint at the given location with no line number.
- Breakpoint(String, String, String, int, int) - Constructor for class com.tonic.analysis.execution.debug.Breakpoint
-
Creates an enabled breakpoint at the given location.
- BREAKPOINT - com.tonic.util.Opcode
-
Reserved for debugger use inside a JVM implementation; it never appears in a valid class file.
- BreakpointManager - Class in com.tonic.analysis.execution.debug
-
Thread-safe registry of breakpoints indexed by key and by owning method for fast location checks.
- BreakpointManager() - Constructor for class com.tonic.analysis.execution.debug.BreakpointManager
-
Creates an empty manager backed by concurrent maps.
- breakStmt() - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an unlabeled break statement node.
- breakStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches break statements.
- breakStmt(String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a labeled break statement node.
- BreakStmt - Class in com.tonic.analysis.source.ast.stmt
-
A break statement with an optional target label.
- BreakStmt() - Constructor for class com.tonic.analysis.source.ast.stmt.BreakStmt
-
Creates an unlabeled break statement.
- BreakStmt(String) - Constructor for class com.tonic.analysis.source.ast.stmt.BreakStmt
-
Creates a break statement with an unknown location.
- BreakStmt(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.BreakStmt
-
Creates a break statement.
- breakTarget() - Method in class com.tonic.analysis.source.lower.LoweringContext.LoopTargets
- BRIDGE - Static variable in class com.tonic.util.Modifiers
- bucketize(int) - Static method in class com.tonic.analysis.fingerprint.features.Level1Features
-
Maps a block count onto one of five coarse size buckets.
- build() - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Lifts all methods and assembles the graph with the configured edge layers.
- build() - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Creates the path from the accumulated state; the hop list is copied.
- build() - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- build() - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- build() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Builds the graph from the method's def-use chains, discarding any previous contents.
- build() - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
-
Creates the node from the values collected so far.
- build() - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Validates required components and creates the context, defaulting the native registry and propagating the resolver's compact-strings setting to the heap.
- build() - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- build() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
- build() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle.Builder
- build() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle.Builder
- build() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Builds a config from the values set so far.
- build() - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter.Builder
-
Builds the filter.
- build() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Builds the configured array load hook.
- build() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Builds the configured array store hook.
- build() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Builds the configured exception hook.
- build() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Builds the configured field read hook.
- build() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
- build() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
- build() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
- build() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
- build() - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Builds the hook descriptor.
- build() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Builds the configuration.
- build() - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport.Builder
- build() - Method in class com.tonic.analysis.query.ast.RunSpec.Builder
-
Builds the immutable run specification.
- build() - Method in class com.tonic.analysis.query.exec.QueryService.QueryConfig.Builder
- build() - Method in class com.tonic.analysis.query.planner.ProbePlan.Builder
- build() - Method in class com.tonic.analysis.query.planner.QueryMatch.Builder
- build() - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Builds the immutable context from the current settings.
- build() - Method in class com.tonic.analysis.simulation.core.SimulationResult.Builder
-
Builds the immutable result from the recorded data.
- build() - Method in class com.tonic.analysis.source.decompile.ClassDecompiler.Builder
-
Builds the ClassDecompiler with the configured settings.
- build() - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Builds the immutable configuration.
- build() - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Builds the call, falling back to java/lang/Object when no owner was set.
- build() - Method in class com.tonic.analysis.source.editor.util.ASTFactory.NewExprBuilder
-
Builds the allocation typed as the allocated class.
- build() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
- build() - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.Builder
- build() - Method in class com.tonic.analysis.ssa.lower.LocalVariableTableBuilder
-
Builds the attribute, emitting one entry per slot a local occupies so that a variable whose versions landed on different slots does not over-reach into its neighbours' scopes.
- build() - Method in class com.tonic.analysis.verifier.Verifier.Builder
-
Builds the verifier, defaulting to
VerifierConfig.defaults()when no config was set. - build() - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Builds the immutable configuration.
- build() - Method in class com.tonic.analysis.xref.Xref.Builder
- build() - Method in class com.tonic.analysis.xref.XrefBuilder
-
Clears the database and rescans every class in the pool.
- build() - Method in class com.tonic.builder.ClassBuilder
-
Assembles the accumulated specification into a
ClassFile. - build() - Method in class com.tonic.util.AccessBuilder
-
Builds and returns the final access flags integer.
- build(CallGraph, Map<MethodReference, IRMethod>) - Static method in class com.tonic.analysis.pdg.sdg.SDGBuilder
-
Builds the system dependence graph, linking each method's PDG through call, parameter and summary edges.
- build(SimHeap) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Materializes the value, allocating on the heap and recursively building nested field builders.
- build(IRMethod) - Static method in class com.tonic.analysis.pdg.PDGBuilder
-
Builds the dependence graph for a method: entry and exit regions, one node per phi and instruction, then control, data, and exception edges.
- build(IRMethod, RecoveryContext, MethodEntry, int, int, ConstPool) - Static method in class com.tonic.analysis.source.recovery.SyntheticLocalVariableTable
- build(ClassPool) - Static method in class com.tonic.analysis.callgraph.CallGraph
-
Builds a call graph from the given ClassPool.
- build(ClassPool) - Static method in class com.tonic.analysis.callgraph.CallGraphBuilder
-
Builds a call graph over every method in the pool, resolving virtual, dynamic, and condy targets.
- build(ClassPool) - Static method in class com.tonic.renamer.hierarchy.ClassHierarchyBuilder
-
Builds a complete class hierarchy from the given ClassPool.
- build(ConstPool) - Method in class com.tonic.builder.AnnotationBuilder
-
Materializes this specification into an
Annotation, interning entries as needed. - build(MethodEntry, ClassFile) - Method in class com.tonic.analysis.fingerprint.FingerprintBuilder
-
Builds a three-level fingerprint for a method by scanning its descriptor and bytecode.
- builder() - Static method in class com.tonic.analysis.cpg.taint.TaintPath
- builder() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- builder() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- builder() - Static method in class com.tonic.analysis.dataflow.DataFlowNode
- builder() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig
- builder() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle
- builder() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle
- builder() - Static method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- builder() - Static method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
-
Creates a new builder.
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
-
Creates a builder for an array load hook.
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
-
Creates a builder for an array store hook.
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
-
Creates a builder for an exception hook.
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
-
Creates a builder for a field read hook.
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- builder() - Static method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- builder() - Static method in class com.tonic.analysis.instrumentation.HookDescriptor
-
Creates a new builder.
- builder() - Static method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Creates a new builder.
- builder() - Static method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport
- builder() - Static method in class com.tonic.analysis.query.ast.RunSpec
-
Creates a builder initialized with the default settings.
- builder() - Static method in class com.tonic.analysis.query.exec.QueryService.QueryConfig
- builder() - Static method in class com.tonic.analysis.simulation.core.SimulationResult
-
Creates a new builder.
- builder() - Static method in class com.tonic.analysis.source.decompile.DecompilerConfig
- builder() - Static method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- builder() - Static method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
- builder() - Static method in class com.tonic.analysis.verifier.Verifier
-
Creates a builder for a verifier.
- builder() - Static method in class com.tonic.analysis.verifier.VerifierConfig
-
Creates a builder for a configuration.
- builder() - Static method in class com.tonic.analysis.xref.Xref
- builder(Query) - Static method in class com.tonic.analysis.query.planner.ProbePlan
- builder(QueryTarget) - Static method in class com.tonic.analysis.query.planner.QueryMatch
-
Starts a builder for a match at a code location.
- builder(ClassFile) - Static method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Creates a builder for configuring a ClassDecompiler.
- Builder() - Constructor for class com.tonic.analysis.cpg.taint.TaintPath.Builder
- Builder() - Constructor for class com.tonic.analysis.cpg.taint.TaintSink.Builder
- Builder() - Constructor for class com.tonic.analysis.cpg.taint.TaintSource.Builder
- Builder() - Constructor for class com.tonic.analysis.dataflow.DataFlowNode.Builder
- Builder() - Constructor for class com.tonic.analysis.execution.core.BytecodeContext.Builder
- Builder() - Constructor for class com.tonic.analysis.execution.debug.DebugState.Builder
- Builder() - Constructor for class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
- Builder() - Constructor for class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle.Builder
- Builder() - Constructor for class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle.Builder
- Builder() - Constructor for class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.filter.AnnotationFilter.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.HookDescriptor.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
- Builder() - Constructor for class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport.Builder
- Builder() - Constructor for class com.tonic.analysis.query.ast.RunSpec.Builder
- Builder() - Constructor for class com.tonic.analysis.query.exec.QueryService.QueryConfig.Builder
- Builder() - Constructor for class com.tonic.analysis.simulation.core.SimulationContext.Builder
- Builder() - Constructor for class com.tonic.analysis.simulation.core.SimulationResult.Builder
- Builder() - Constructor for class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
- Builder() - Constructor for class com.tonic.analysis.verifier.Verifier.Builder
- Builder() - Constructor for class com.tonic.analysis.verifier.VerifierConfig.Builder
- Builder() - Constructor for class com.tonic.analysis.xref.Xref.Builder
- Builder(Query) - Constructor for class com.tonic.analysis.query.planner.ProbePlan.Builder
-
Creates a builder for a query.
- buildIndex() - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Builds signatures for every method with code in the pool, replacing any previous index.
- BXOR - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Bitwise exclusive or,
^; logical xor on boolean operands. - BXOR_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Bitwise exclusive-or and assign,
^=; also logical xor-assign on booleans. - BY - com.tonic.analysis.query.parser.Token.TokenType
-
The word
by, completingorder byahead of the sort key. - BYTE - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
bytekeyword; an 8-bit signed integer widened to int on the operand stack. - BYTE - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a signed 8-bit integer.
- BYTE - com.tonic.analysis.ssa.type.PrimitiveType
-
8-bit signed integer, descriptor
B, integral and one slot wide. - BYTE - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
B, carried on the stack as an int. - BYTE - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- BYTE - Static variable in class com.tonic.parser.util.TypeInfo
- BYTE - Static variable in class com.tonic.type.TypeDescriptor
- BYTE - Static variable in class com.tonic.util.CommonTypes
- BYTE_ARRAY_DESC - Static variable in class com.tonic.util.CommonTypes
- BYTE_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- byteArray(String, byte...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a byte-array element.
- Bytecode - Class in com.tonic.analysis
-
High-level bytecode manipulation API.
- Bytecode(CodeWriter) - Constructor for class com.tonic.analysis.Bytecode
-
Constructs a Bytecode utility for the given CodeWriter.
- Bytecode(MethodEntry) - Constructor for class com.tonic.analysis.Bytecode
-
Constructs a Bytecode utility for the given MethodEntry.
- BytecodeContext - Class in com.tonic.analysis.execution.core
-
Immutable configuration for a bytecode engine: execution mode, heap, resolution services, and execution limits.
- BytecodeContext.Builder - Class in com.tonic.analysis.execution.core
-
Builder for
BytecodeContext; a heap manager and class resolver are required. - BytecodeEmitter - Class in com.tonic.analysis.ssa.lower
-
Emits JVM bytecode from IR instructions.
- BytecodeEmitter(IRMethod, ConstPool, RegisterAllocator, StackScheduler) - Constructor for class com.tonic.analysis.ssa.lower.BytecodeEmitter
-
Creates a new bytecode emitter.
- BytecodeEngine - Class in com.tonic.analysis.execution.core
-
Interpreter that executes JVM bytecode over an explicit call stack, dispatching each instruction and modeling invocation, field, heap, and exception semantics.
- BytecodeEngine(BytecodeContext) - Constructor for class com.tonic.analysis.execution.core.BytecodeEngine
-
Creates an engine configured by the given context, choosing the invocation handler by mode.
- BytecodeLifter - Class in com.tonic.analysis.ssa.lift
-
Lifts bytecode to SSA-form IR.
- BytecodeLifter(ConstPool) - Constructor for class com.tonic.analysis.ssa.lift.BytecodeLifter
-
Creates a new bytecode lifter.
- BytecodeListener - Interface in com.tonic.analysis.execution.listener
-
Callback interface for observing bytecode interpreter events, with no-op defaults for every hook.
- BytecodeLowerer - Class in com.tonic.analysis.ssa.lower
-
The lowering pipeline from SSA-form IR back to JVM bytecode.
- BytecodeLowerer(ConstPool) - Constructor for class com.tonic.analysis.ssa.lower.BytecodeLowerer
-
Creates a lowerer that emits a LocalVariableTable.
- BytecodeLowerer(ConstPool, boolean) - Constructor for class com.tonic.analysis.ssa.lower.BytecodeLowerer
-
Creates a lowerer.
- bytecodeOffset() - Method in class com.tonic.analysis.source.ast.SourceLocation
- bytecodeOffset(int) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the bytecode offset of the referencing instruction.
- BytecodeResult - Class in com.tonic.analysis.execution.core
-
Immutable outcome of a bytecode execution: terminal status, return value or exception, and optional statistics.
- BytecodeResult - Class in com.tonic.analysis.execution.result
-
Outcome of a bytecode execution: a return value on success, a thrown exception on failure, or an incomplete run.
- BytecodeResult.Status - Enum in com.tonic.analysis.execution.core
-
Terminal condition of an execution.
- byteValue(String, byte) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a byte element.
C
- cacheExpression(SSAValue, Expression) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Stores the recovered expression for a value, replacing any earlier one.
- call() - Method in class com.tonic.analysis.query.eval.Subject.ArgSubject
- CALL - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links a call site to a method the call may dispatch to.
- CALL - com.tonic.analysis.pdg.edge.PDGDependenceType
-
Links a call site to the entry of the method it invokes.
- CALL - com.tonic.analysis.query.ast.ArgumentType
-
The argument is the return value of another call.
- CALL - com.tonic.analysis.query.eval.SubjectKind
-
An invocation site, narrower than
SubjectKind.INSTRUCTIONand the owner of its argument subjects. - CALL_ARG - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value passed into an invocation as an argument, carrying it into the callee.
- CALL_ARGUMENTS - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
Arguments of a method call
- CALL_RECEIVER - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The receiver of a method call
- CALL_RESULT - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
Result of a method call
- CALL_RETURN - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value produced by an invocation and flowing back out to the caller.
- CALL_SITE - com.tonic.analysis.cpg.node.CPGNodeType
-
A single invocation, the anchor interprocedural edges attach to.
- CALL_SITE - com.tonic.analysis.pdg.node.PDGNodeType
-
An invocation, which owns the actual-in and actual-out nodes for its arguments and result.
- CALL_SITE - Static variable in class com.tonic.util.CommonTypes
- callDepth(int) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- CALLEE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links a method back to a call site that can reach it, the inverse of CALL.
- callees() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to direct callees along call edges.
- calleesTransitive() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Expands to every transitive callee, excluding the starting nodes.
- callers() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to direct callers along call edges.
- callersTransitive() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Expands to every transitive caller, excluding the starting nodes.
- CallFrame(IRMethod, InvokeInstruction, SimulationState, IRBlock, int) - Constructor for class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- callGraph(CallGraph) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets the call graph for inter-procedural resolution.
- CallGraph - Class in com.tonic.analysis.callgraph
-
A queryable call graph over a set of classes.
- CallGraphBuilder - Class in com.tonic.analysis.callgraph
-
Builder that constructs a CallGraph from a ClassPool by scanning all methods for invocations.
- CallGraphBuilder() - Constructor for class com.tonic.analysis.callgraph.CallGraphBuilder
- CallGraphNode - Class in com.tonic.analysis.callgraph
-
A call-graph node for a single method, tracking its incoming (caller) and outgoing (callee) call sites.
- CallGraphNode(MethodReference, MethodEntry) - Constructor for class com.tonic.analysis.callgraph.CallGraphNode
-
Creates a node for the given method.
- callGraphOnly() - Method in class com.tonic.analysis.graph.export.CPGDOTExporter
-
Restricts output to call, parameter and return-value edges.
- CallMetrics - Class in com.tonic.analysis.simulation.metrics
-
An immutable tally of the method calls seen during a simulation.
- calls(MethodReference, MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Checks for a direct call edge between two methods.
- CALLS - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
calls, naming the invocations made by an entity. - CallSite - Class in com.tonic.analysis.callgraph
-
A specific location where one method invokes another, with the invoke type and bytecode offset.
- CallSite(MethodReference, MethodReference, InvokeType) - Constructor for class com.tonic.analysis.callgraph.CallSite
-
Creates a call site with no known bytecode offset.
- CallSite(MethodReference, MethodReference, InvokeType, int) - Constructor for class com.tonic.analysis.callgraph.CallSite
-
Creates a call site at a known bytecode offset.
- CallSite(InvokeInstruction, MethodCallListener.MethodReference, InvokeType, int) - Constructor for class com.tonic.analysis.simulation.listener.MethodCallListener.CallSite
- CallSiteNode - Class in com.tonic.analysis.cpg.node
-
CPG node wrapping an invoke instruction, exposing its resolved target signature.
- CallSiteNode(long, InvokeInstruction) - Constructor for class com.tonic.analysis.cpg.node.CallSiteNode
-
Creates a node for an invoke instruction.
- callSites() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects all call site nodes.
- callStack(List<StackFrameInfo>) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- CallStack - Class in com.tonic.analysis.execution.frame
-
A bounded stack of interpreter frames with overflow and underflow checking.
- CallStack(int) - Constructor for class com.tonic.analysis.execution.frame.CallStack
-
Creates an empty call stack.
- CallStackState - Class in com.tonic.analysis.simulation.state
-
Immutable call stack for inter-procedural simulation.
- CallStackState.CallFrame - Class in com.tonic.analysis.simulation.state
-
Represents a single frame on the call stack.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Sets the static method the hook dispatches to.
- callStatic(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Sets the static method the hook dispatches to.
- callsTo(String, String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects call sites targeting a method name regardless of descriptor.
- callsTo(String, String, String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects call sites targeting an exact method signature.
- CallSubject(Instruction, int, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.CallSubject
-
Binds the cursor to a call site.
- caload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
caload, loading a char element from an array. - CALOAD - com.tonic.util.Opcode
-
Pops a char array reference and an int index, and pushes the element zero-extended to an int.
- CALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the CALOAD instruction (0x34).
- CALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.CALoadInstruction
-
Constructs a CALoadInstruction.
- canBeTaintSink() - Method in enum com.tonic.analysis.dataflow.DataFlowNodeType
-
Tests whether tainted data can escape through this type.
- canBeTaintSource() - Method in enum com.tonic.analysis.dataflow.DataFlowNodeType
-
Tests whether tainted data can enter through this type.
- cancel() - Method in class com.tonic.analysis.query.exec.QueryBatchRunner
-
Requests that an in-flight run stop at the next candidate; the flag is cleared when a run starts.
- cancel() - Method in class com.tonic.analysis.query.exec.QueryService
-
Asks the run in progress, if any, to stop early.
- canModifyReturn(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether the hook's return value replaces the value returned.
- canModifyValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets whether the hook's return value replaces the stored value.
- canModifyValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether the hook's return value replaces the value written.
- canonical(String) - Static method in class com.tonic.analysis.query.value.TypeNames
-
Reduces any accepted type spelling to its descriptor form.
- canReach(MethodReference, MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Checks whether one method can reach another transitively.
- canReach(IRBlock, IRBlock) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Checks if one block can reach another in the CFG.
- canReach(IRInstruction, IRInstruction) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Checks if one instruction can reach another, comparing positions when both share a block.
- canSuppress() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Lets the hook swallow the exception instead of rethrowing it.
- canSuppress(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets whether the hook can suppress the exception by returning true.
- CapableListener - Interface in com.tonic.analysis.execution.listener
-
Extended listener interface that declares which high-frequency event capabilities this listener requires.
- capitalize(String) - Static method in class com.tonic.util.TypeUtil
-
Capitalizes the first letter of a given string.
- CapturedVariable(String, SourceType) - Constructor for class com.tonic.analysis.source.lower.SyntheticLambdaMethod.CapturedVariable
- CARET - com.tonic.analysis.source.parser.TokenType
-
Bitwise or logical exclusive OR.
- CARET_EQ - com.tonic.analysis.source.parser.TokenType
-
Bitwise exclusive OR into the target.
- CASE - com.tonic.analysis.source.parser.TokenType
-
Introduces a switch label, in either colon or arrow form.
- caseHeader - Variable in class com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJump
- caseHeaders() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
- cases() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
- CaseSpec(List<Integer>, List<Expression>, boolean, IRBlock) - Constructor for class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor.CaseSpec
- cast(SourceType, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a cast node.
- cast(SourceType, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a cast expression.
- cast(String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches cast expressions to a specific type.
- cast(String, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a cast expression, parsing the target from its name.
- CAST - com.tonic.analysis.dataflow.DataFlowNodeType
-
A retyped value, which forwards its operand rather than producing anything new.
- CAST - com.tonic.analysis.ssa.ir.TypeCheckOp
-
A checked cast that passes the value through under the target type and throws
ClassCastExceptionwhen it does not fit. - CastExpr - Class in com.tonic.analysis.source.ast.expr
-
A cast expression: (Type) expression.
- CastExpr(SourceType, Expression) - Constructor for class com.tonic.analysis.source.ast.expr.CastExpr
-
Creates a cast with an unknown source location.
- CastExpr(SourceType, Expression, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.CastExpr
-
Creates a cast of the given expression to the target type and reparents the operand.
- CastHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for cast expressions.
- castore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
castore, storing a char element into an array. - CASTORE - com.tonic.util.Opcode
-
Pops a char array reference, an int index and an int value, and stores the value truncated to a char.
- CAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the CASTORE instruction (0x55).
- CAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.CAStoreInstruction
-
Constructs a CASToreInstruction.
- castTo(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches casts to a specific type.
- CATCH - com.tonic.analysis.source.parser.TokenType
-
Introduces a handler clause of a try statement.
- CATCH - com.tonic.analysis.ssa.ir.SimpleOp
-
Captures the caught exception that the JVM places on the stack at an exception-handler entry into the instruction's result.
- CatchClause - Class in com.tonic.analysis.source.ast.stmt
-
A catch clause of a try statement, supporting multi-catch via multiple exception types.
- CatchClause(List<SourceType>, String, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.CatchClause
-
Creates a catch clause over the given exception types.
- categorize(char) - Static method in class com.tonic.util.DescriptorUtil
-
Categorizes a type descriptor character.
- categorize(String) - Static method in class com.tonic.util.DescriptorUtil
-
Categorizes a type descriptor string.
- category() - Method in class com.tonic.analysis.Bootstraps.BootstrapRef
-
Classifies the bootstrap family from its owner/name.
- CFG_BACK - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Jumps backward to a loop header, closing the cycle that makes the region a loop.
- CFG_EXCEPTION - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Transfers control from a protected instruction to a handler that covers it.
- CFG_FALSE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Leaves a conditional along the arm taken when the test fails.
- CFG_NEXT - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Falls through from one statement to the next with no branch taken.
- CFG_TRUE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Leaves a conditional along the arm taken when the test holds.
- cfgNext() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to direct control-flow successors.
- cfgOnly() - Method in class com.tonic.analysis.graph.export.CPGDOTExporter
-
Restricts output to control-flow edges plus containment.
- cfgPredecessors() - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Follows incoming control-flow edges.
- cfgPrev() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to direct control-flow predecessors.
- cfgReachable() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Expands to every node transitively reachable along control-flow edges, including the starting nodes.
- cfgSuccessors() - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Follows outgoing control-flow edges.
- CHAR - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
charkeyword; a 16-bit unsigned integer widened to int on the operand stack. - CHAR - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for an unsigned 16-bit UTF-16 code unit.
- CHAR - com.tonic.analysis.ssa.type.PrimitiveType
-
16-bit unsigned integer, descriptor
C, counted as integral here. - CHAR - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
C, carried on the stack as an unsigned int. - CHAR - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- CHAR - Static variable in class com.tonic.parser.util.TypeInfo
- CHAR - Static variable in class com.tonic.type.TypeDescriptor
- CHAR_ARRAY_DESC - Static variable in class com.tonic.util.CommonTypes
- CHAR_LITERAL - com.tonic.analysis.source.parser.TokenType
-
A single-quoted character literal; the token also carries the decoded character value.
- CHAR_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- CHARACTER - Static variable in class com.tonic.util.CommonTypes
- charArray(String, char...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a char-array element.
- charLit(char) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a char literal node.
- charLiteral(char) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a character literal.
- charValue() - Method in class com.tonic.analysis.source.parser.Token
-
Reads the literal value as a char.
- charValue(String, char) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a char element.
- checkArrayBounds(ArrayInstance, int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Validates an array index before an element access.
- checkBreakpoint(StackFrame) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Finds an enabled breakpoint matching the frame's current location.
- checkBreakpoint(String, String, String, int) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Finds an enabled breakpoint matching the given location.
- checkcast(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
checkcast. - checkCast(ObjectInstance, String) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Validates a checkcast against an object.
- CHECKCAST - com.tonic.analysis.execution.dispatch.DispatchResult
-
A cast check was performed; the dispatcher already applied it, so no follow-up is needed.
- CHECKCAST - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A cast check was performed; the dispatcher already applied it, so no follow-up is needed.
- CHECKCAST - com.tonic.util.Opcode
-
Checks the reference on top of the stack against the type named by the two-byte constant pool index, leaving it in place or throwing ClassCastException.
- CheckCastInstruction - Class in com.tonic.analysis.instruction
-
Represents the CHECKCAST instruction (0xC0).
- CheckCastInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.CheckCastInstruction
-
Constructs a CheckCastInstruction.
- checkClass(boolean) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter.Builder
-
Sets whether class annotations are checked.
- checkMethod(boolean) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter.Builder
-
Sets whether method annotations are checked.
- checkNullReference(ObjectInstance, String) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Validates that a reference is non-null before it is dereferenced.
- chop(PDGNode, PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Intersects the forward slice of a source with the backward slice of a sink.
- chop(Set<PDGNode>, Set<PDGNode>) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Intersects the forward slice of the sources with the backward slice of the sinks.
- CHOP - com.tonic.analysis.pdg.slice.SliceResult.SliceType
-
The intersection of a backward and a forward slice, as produced by
SliceResult.intersect(com.tonic.analysis.pdg.slice.SliceResult). - ChopFrame - Class in com.tonic.parser.attribute.stack
-
Represents a ChopFrame in the StackMapTable attribute.
- ChopFrame(int, int) - Constructor for class com.tonic.parser.attribute.stack.ChopFrame
-
Creates a frame with an explicit offset delta.
- ChopFrame(int, ClassFile) - Constructor for class com.tonic.parser.attribute.stack.ChopFrame
-
Reads the offset delta from the class file at the current position.
- CLASS - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Classentry, loaded as a class literal reference. - CLASS - com.tonic.analysis.query.eval.SubjectKind
-
A whole class file, the outermost level a query can bind to.
- CLASS - com.tonic.analysis.query.parser.Token.TokenType
-
The word
class, introducing a class-name pattern for a scope. - CLASS - com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Class names; only the final name part is renamed, to
Class_N, while invalid package parts are unicode-escaped instead. - CLASS - com.tonic.analysis.source.parser.TokenType
-
Introduces a class declaration, and forms a class literal when it follows a type name.
- CLASS - Static variable in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- CLASS - Static variable in class com.tonic.analysis.ssa.type.ReferenceType
- CLASS - Static variable in class com.tonic.util.CommonTypes
- CLASS_ANNOTATION - com.tonic.analysis.xref.XrefType
-
An annotation type applied to a class, method, field, or parameter.
- CLASS_CAST - com.tonic.analysis.xref.XrefType
-
A type a value is checked-cast to, from a cast expression.
- CLASS_CAST_EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- CLASS_DESC - Static variable in class com.tonic.util.CommonTypes
- CLASS_EXTENDS - com.tonic.analysis.xref.XrefType
-
A class named as the direct superclass of the referencing class.
- CLASS_IMPLEMENTS - com.tonic.analysis.xref.XrefType
-
An interface listed among the referencing class's direct interfaces.
- CLASS_INSTANCEOF - com.tonic.analysis.xref.XrefType
-
A type tested against a value by an
instanceofcheck. - CLASS_INSTANTIATE - com.tonic.analysis.xref.XrefType
-
A class allocated by the referencing code, from a
newexpression. - CLASS_LITERAL - com.tonic.analysis.dependency.DependencyType
-
Class literal (e.g., SomeClass.class)
- CLASS_MAGIC - Static variable in class com.tonic.parser.ClassFile
- CLASS_NAME - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The class name as a String
- classArray(String, String...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a class-literal-array element.
- ClassBuilder - Class in com.tonic.builder
-
Fluent builder that assembles a
ClassFilefrom scratch - version, access, hierarchy, fields, methods, annotations, and bootstrap methods. - ClassConstant - Class in com.tonic.analysis.ssa.value
-
Represents a class constant (Class object reference).
- ClassConstant(IRType) - Constructor for class com.tonic.analysis.ssa.value.ClassConstant
-
Creates a class constant with the given IR type.
- ClassConstant(String) - Constructor for class com.tonic.analysis.ssa.value.ClassConstant
-
Creates a class constant with the given class name.
- ClassDecl - Class in com.tonic.analysis.source.ast.decl
-
A Java class declaration: name, modifiers, supertypes, and its member fields, methods, constructors, initializers, and inner types.
- ClassDecl(String) - Constructor for class com.tonic.analysis.source.ast.decl.ClassDecl
-
Creates an empty class declaration at an unknown location.
- ClassDecl(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.ClassDecl
-
Creates an empty class declaration.
- ClassDecompiler - Class in com.tonic.analysis.source.decompile
-
Decompiler that turns a ClassFile into formatted Java source: the class declaration, fields, and recovered method bodies.
- ClassDecompiler(ClassFile) - Constructor for class com.tonic.analysis.source.decompile.ClassDecompiler
-
Creates a decompiler for the class with the default configuration.
- ClassDecompiler(ClassFile, DecompilerConfig) - Constructor for class com.tonic.analysis.source.decompile.ClassDecompiler
-
Creates a decompiler with a full decompiler configuration.
- ClassDecompiler(ClassFile, SourceEmitterConfig) - Constructor for class com.tonic.analysis.source.decompile.ClassDecompiler
-
Creates a decompiler with a custom source emitter configuration.
- ClassDecompiler.Builder - Class in com.tonic.analysis.source.decompile
-
Builder for ClassDecompiler with a fluent configuration API.
- CLASSES - com.tonic.analysis.query.ast.Target
-
Each row is a class, written
classes; candidates come straight from the class pool. - CLASSES - com.tonic.analysis.query.parser.Token.TokenType
-
The target word
classes, making classes the result rows. - classesInstrumented(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport.Builder
-
Sets the number of classes that received at least one point.
- classExists(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Tests whether a class is resolvable via the pool - already loaded, or loadable from the system class path.
- classExpr(SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a class literal node.
- ClassExpr - Class in com.tonic.analysis.source.ast.expr
-
A class literal expression: Type.class.
- ClassExpr(SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.ClassExpr
-
Creates a class literal with an unknown source location.
- ClassExpr(SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.ClassExpr
-
Creates a class literal; its static type is java.lang.Class parameterized by the referenced type.
- ClassFactory - Class in com.tonic.analysis
-
Generator of bytecode-backed members on a structural
ClassFile- constructors, initializers, accessors, field initial values, method bodies, and StackMapTable frames. - classFile() - Method in class com.tonic.analysis.query.eval.EvalContext
- classFile() - Method in class com.tonic.analysis.query.eval.Subject.ClassSubject
- ClassFile - Class in com.tonic.parser
-
Represents a Java class file with full parsing and manipulation capabilities.
- ClassFile(InputStream) - Constructor for class com.tonic.parser.ClassFile
-
Creates a ClassFile from an InputStream.
- ClassFile(String, int) - Constructor for class com.tonic.parser.ClassFile
-
Creates a new, empty class file from scratch (no members).
- ClassFileUtil - Class in com.tonic.util
-
Utility class for working with Java class files.
- ClassFileUtil() - Constructor for class com.tonic.util.ClassFileUtil
- classFilter() - Method in class com.tonic.analysis.query.ast.DuringScope
- ClassFilter - Class in com.tonic.analysis.instrumentation.filter
-
An instrumentation filter that selects classes by exact name or glob pattern.
- ClassFilter(String) - Constructor for class com.tonic.analysis.instrumentation.filter.ClassFilter
-
Creates a class filter with the given pattern.
- ClassHierarchy - Class in com.tonic.renamer.hierarchy
-
Queryable inheritance graph of the classes in a ClassPool.
- ClassHierarchy() - Constructor for class com.tonic.renamer.hierarchy.ClassHierarchy
- ClassHierarchyBuilder - Class in com.tonic.renamer.hierarchy
-
Builds a ClassHierarchy from a ClassPool.
- ClassHierarchyBuilder() - Constructor for class com.tonic.renamer.hierarchy.ClassHierarchyBuilder
- classifyInstruction(Instruction) - Static method in class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
-
Buckets a producing instruction into the argument kind a query matches on.
- classifyLoopJump(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Classifies a control-flow edge into
target. - classifySwitchJump(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Classifies an edge into
targetrelative to the innermostswitch. - ClassMapping - Class in com.tonic.renamer.mapping
-
Represents a class rename mapping.
- ClassMapping(String, String) - Constructor for class com.tonic.renamer.mapping.ClassMapping
-
Creates a new class mapping.
- classMatching(String) - Static method in class com.tonic.analysis.query.planner.filter.PatternFilter
-
Builds a filter matching on the owning class name.
- className() - Method in class com.tonic.analysis.query.eval.EvidenceCollector.Hit
- className() - Method in class com.tonic.analysis.query.planner.QueryTarget.ClassTarget
- className() - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- className() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- ClassNameUtil - Class in com.tonic.util
-
Conversions between internal, source, simple and package class names.
- ClassNode - Class in com.tonic.renamer.hierarchy
-
A class in the hierarchy graph together with its supertypes and subtypes.
- ClassNode(String, ClassFile) - Constructor for class com.tonic.renamer.hierarchy.ClassNode
-
Creates a class node for a class in the ClassPool.
- classPool(ClassPool) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets the class pool used to resolve classes and callees.
- classPool(ClassPool) - Method in class com.tonic.analysis.verifier.Verifier.Builder
-
Sets the class pool used for cross-class type checks.
- ClassPool - Class in com.tonic.parser
-
A pool of parsed ClassFile objects, stored and retrieved by internal name.
- ClassPool() - Constructor for class com.tonic.parser.ClassPool
-
Creates a pool preloaded with the JDK's built-in classes (from the jrt image or rt.jar).
- ClassPool(boolean) - Constructor for class com.tonic.parser.ClassPool
-
Creates empty pool without loading built-in classes.
- ClassRefItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_Class entry in the constant pool.
- ClassRefItem() - Constructor for class com.tonic.parser.constpool.ClassRefItem
- ClassRenamer - Class in com.tonic.renamer
-
Applies class renames pool-wide, rewriting class refs, member owners, descriptors, generic signatures, and InnerClasses entries so no reference to an old name survives.
- ClassRenamer(RenamerContext) - Constructor for class com.tonic.renamer.ClassRenamer
-
Creates a renamer bound to the context holding the class pool and the pending name mappings.
- classResolver(ClassResolver) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Sets the resolver used to look up classes and methods.
- ClassResolver - Class in com.tonic.analysis.execution.resolve
-
Resolver of classes, methods, and fields against a class pool and its hierarchy, with memoized lookups.
- ClassResolver(ClassPool) - Constructor for class com.tonic.analysis.execution.resolve.ClassResolver
-
Creates a resolver that builds its own hierarchy from the pool.
- ClassResolver(ClassPool, ClassHierarchy) - Constructor for class com.tonic.analysis.execution.resolve.ClassResolver
-
Creates a resolver using a prebuilt hierarchy.
- ClassScope - Class in com.tonic.analysis.query.ast
-
Scope limited to classes matching a pattern or exact name.
- ClassScope(String, boolean) - Constructor for class com.tonic.analysis.query.ast.ClassScope
-
Creates a class scope.
- ClassSubject(ClassFile, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.ClassSubject
-
Binds the cursor to a class.
- ClassTarget(String) - Constructor for class com.tonic.analysis.query.planner.QueryTarget.ClassTarget
-
Creates a target naming one class.
- ClassTransform - Interface in com.tonic.analysis.ssa.transform
-
Interface for class-level transformation passes.
- classValue(String, String) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a class-literal element.
- clear() - Method in class com.tonic.analysis.cpg.CPGIndex
-
Empties every index.
- clear() - Method in class com.tonic.analysis.execution.frame.CallStack
-
Removes all frames from the stack.
- clear() - Method in class com.tonic.analysis.execution.heap.StringPool
-
Removes all pooled strings.
- clear() - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
-
Removes all registered listeners.
- clear() - Method in class com.tonic.analysis.execution.resolve.ResolutionCache
-
Empties all four caches.
- clear() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Removes all values.
- clear() - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Removes all fingerprints and hash indexes.
- clear() - Method in class com.tonic.analysis.simulation.state.LocalState
-
Discards every recorded slot.
- clear() - Method in class com.tonic.analysis.simulation.state.StackState
-
Drops every value, as an exception handler entry does.
- clear() - Method in class com.tonic.analysis.source.ast.NodeList
- clear() - Method in class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
-
Discards all collected errors.
- clear() - Method in class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
-
Drops every registered mapping.
- clear() - Method in class com.tonic.analysis.xref.XrefDatabase
-
Clear all xrefs and indexes.
- clear() - Method in class com.tonic.renamer.mapping.MappingStore
-
Clears all mappings.
- clear() - Method in class com.tonic.renamer.Renamer
-
Clears all mappings.
- clearArrayConstructors() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Clears array constructors after they have been processed.
- clearDeclaredVariables() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Clears declared variables (for new scope).
- clearEvents() - Method in class com.tonic.analysis.execution.listener.TracingListener
-
Discards all recorded events.
- clearNullChecks() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Clears all null-check tracking.
- clearStack() - Method in class com.tonic.analysis.frame.TypeState
-
Clears the stack.
- clearStack() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Clear the stack (for exception handlers).
- clearStack() - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Removes all values from the stack, leaving locals untouched.
- clearStaticFields() - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Discards every stored static field value.
- clearStaticFields() - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- clearSwitchLabels() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Clears switch labels (after switch statement processing).
- clearSyntheticMethods() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Clears synthetic methods after they have been processed.
- clearTransforms() - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Clears all transforms from the pipeline, for example to reset after a preset.
- clearUsedTypes() - Method in class com.tonic.analysis.source.emit.SourceEmitter
-
Clears the record of types referenced during emission.
- CLINIT - com.tonic.analysis.query.parser.Token.TokenType
-
The word
clinitor the literal<clinit>, scoping a query to static initializer execution. - CLINIT - Static variable in class com.tonic.util.CommonTypes
- clinitMethods() - Static method in class com.tonic.analysis.query.planner.filter.PatternFilter
-
Builds a filter matching static initializers.
- clinitOf(ClassScope) - Static method in class com.tonic.analysis.query.ast.DuringScope
-
Creates a scope covering static initializers of the filtered classes.
- clone(IRMethod) - Method in class com.tonic.analysis.ssa.util.IRMethodCloner
-
Clones an IRMethod, creating fresh copies of all blocks, instructions, and values.
- cloneRange(Instruction, Instruction, int) - Method in class com.tonic.analysis.CodeWriter
-
Clones a contiguous instruction range
[from, to]into a fresh list, shifting every local index bylocalOffset. - cloneRangeWithTargets(Instruction, Instruction, int, ConstPool, IntUnaryOperator) - Method in class com.tonic.analysis.CodeWriter
-
As
CodeWriter.cloneRange(Instruction, Instruction, int), but carries branch/switch targets by identity and remaps constant-pool references intotargetPool. - clusterByMethod(boolean) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Controls whether nodes are grouped into per-method clusters.
- code() - Method in class com.tonic.builder.MethodBuilder
-
Opens the method body, creating the code builder on first call and returning the same one afterwards.
- CODE_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data is compiled or evaluated as program source.
- CODE_TOO_LONG - com.tonic.analysis.verifier.VerificationErrorType
-
A method body is longer than the 65535 bytes the class file format permits.
- CodeAttribute - Class in com.tonic.parser.attribute
-
The Code attribute: a method's bytecode, stack/local sizes, exception table, and nested attributes.
- CodeAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.CodeAttribute
-
Creates the attribute shell for parsing, attached to a class.
- CodeAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.CodeAttribute
-
Creates the attribute shell for parsing, attached to a member.
- CodeBuilder - Class in com.tonic.builder
-
A fluent assembler for a method body that records instructions as sized ops and resolves named labels to branch offsets when the body is built or assembled.
- CodePrinter - Class in com.tonic.analysis
-
Bytecode disassembler for converting raw bytecode into human-readable format.
- CodePrinter() - Constructor for class com.tonic.analysis.CodePrinter
- CodePropertyGraph - Class in com.tonic.analysis.cpg
-
Unified code property graph over a class pool, combining AST, CFG, dependence, and call edges in one node/edge store with an index and a fluent query entry point.
- CodePropertyGraph(ClassPool) - Constructor for class com.tonic.analysis.cpg.CodePropertyGraph
-
Creates an empty graph over the given class pool.
- codeWriter() - Method in class com.tonic.analysis.query.eval.EvalContext
- CodeWriter - Class in com.tonic.analysis
-
A class for analyzing and modifying the bytecode of a MethodEntry.
- CodeWriter(MethodEntry) - Constructor for class com.tonic.analysis.CodeWriter
-
Constructs a CodeWriter for the given MethodEntry.
- CodeWriter.ClonedRange - Class in com.tonic.analysis
-
A cloned instruction range.
- collect(Statement, Class<T>) - Static method in class com.tonic.analysis.source.ast.ASTUtils
-
Collects the statements under a root that are instances of one type.
- COLLECT_ALL - com.tonic.analysis.verifier.VerifierConfig.ErrorMode
-
Keep verifying after an error, gathering findings until the configured cap is reached.
- collectAll() - Method in class com.tonic.analysis.verifier.Verifier.Builder
-
Selects COLLECT_ALL error mode.
- collectAll() - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Selects COLLECT_ALL error mode.
- collectAll(int) - Static method in interface com.tonic.analysis.verifier.ErrorCollector
-
Creates a collector that gathers errors up to a cap.
- CollectAllCollector(int) - Constructor for class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
-
Creates a collector retaining at most the given number of errors.
- collectExpressions(Statement, Class<T>) - Static method in class com.tonic.analysis.source.ast.ASTUtils
-
Collects the expressions in a statement tree that are instances of one type.
- collecting() - Static method in interface com.tonic.analysis.source.parser.ParseErrorListener
- collecting(List<ParseException>) - Static method in interface com.tonic.analysis.source.parser.ParseErrorListener
- CollectingErrorListener() - Constructor for class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
- CollectionHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for java.util.Arrays, the collection intrinsics, and java.lang.reflect.Array.
- CollectionHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.CollectionHandlers
- collectPendingStatements() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Collects and clears any pending statements.
- COLON - com.tonic.analysis.query.parser.Token.TokenType
-
The character
:, separating a run spec key from its value. - COLON - com.tonic.analysis.source.parser.TokenType
-
Separates the arms of a conditional expression, terminates a colon-form switch label, and separates the parts of a for-each header or a statement label.
- color(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle.Builder
-
Sets the line colour.
- com.tonic.analysis - package com.tonic.analysis
-
Reading and writing bytecode: disassembly, editing through a code writer, and constant pool remapping.
- com.tonic.analysis.absexec - package com.tonic.analysis.absexec
-
Abstract execution that builds def-use links by walking every path through a method.
- com.tonic.analysis.callgraph - package com.tonic.analysis.callgraph
-
The call graph over a class pool.
- com.tonic.analysis.common - package com.tonic.analysis.common
-
References shared by the bytecode analysis passes.
- com.tonic.analysis.cpg - package com.tonic.analysis.cpg
-
The code property graph, joining syntax, control flow and data flow in one graph.
- com.tonic.analysis.cpg.edge - package com.tonic.analysis.cpg.edge
-
Edges of the code property graph.
- com.tonic.analysis.cpg.node - package com.tonic.analysis.cpg.node
-
Nodes of the code property graph.
- com.tonic.analysis.cpg.query - package com.tonic.analysis.cpg.query
-
Queries over a code property graph.
- com.tonic.analysis.cpg.taint - package com.tonic.analysis.cpg.taint
-
Taint tracking from sources to sinks over the code property graph.
- com.tonic.analysis.dataflow - package com.tonic.analysis.dataflow
-
The data flow graph over a method's values.
- com.tonic.analysis.dependency - package com.tonic.analysis.dependency
-
Dependencies between classes.
- com.tonic.analysis.execution.core - package com.tonic.analysis.execution.core
-
The bytecode interpreter with the context it runs against and the result it returns.
- com.tonic.analysis.execution.debug - package com.tonic.analysis.execution.debug
-
Breakpoints, stepping and state inspection over a running interpreter.
- com.tonic.analysis.execution.dispatch - package com.tonic.analysis.execution.dispatch
-
Per-opcode dispatch and the call site information it resolves.
- com.tonic.analysis.execution.frame - package com.tonic.analysis.execution.frame
-
The interpreter's call stack and its frames.
- com.tonic.analysis.execution.heap - package com.tonic.analysis.execution.heap
-
The interpreter's heap: objects, arrays and the interned string pool.
- com.tonic.analysis.execution.invoke - package com.tonic.analysis.execution.invoke
-
Invocation handling, covering native dispatch, lambda proxies and string concatenation.
- com.tonic.analysis.execution.invoke.handlers - package com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the JDK methods the interpreter cannot run as bytecode.
- com.tonic.analysis.execution.listener - package com.tonic.analysis.execution.listener
-
Listeners notified as the interpreter runs.
- com.tonic.analysis.execution.resolve - package com.tonic.analysis.execution.resolve
-
Resolution of classes, methods and fields for the interpreter.
- com.tonic.analysis.execution.result - package com.tonic.analysis.execution.result
-
The result an interpreter run reports.
- com.tonic.analysis.execution.state - package com.tonic.analysis.execution.state
-
Concrete interpreter state: the operand stack, the locals and the values they hold.
- com.tonic.analysis.fingerprint - package com.tonic.analysis.fingerprint
-
Structural fingerprints of methods and the matching between them.
- com.tonic.analysis.fingerprint.features - package com.tonic.analysis.fingerprint.features
-
The feature levels a method fingerprint is built from.
- com.tonic.analysis.frame - package com.tonic.analysis.frame
-
StackMapTable frame computation and the type lattice it infers over.
- com.tonic.analysis.graph.export - package com.tonic.analysis.graph.export
-
Export of the analysis graphs to DOT.
- com.tonic.analysis.graph.print - package com.tonic.analysis.graph.print
-
Textual printing of the analysis graphs.
- com.tonic.analysis.instruction - package com.tonic.analysis.instruction
-
One type per JVM instruction, with the factory that decodes a method body into them.
- com.tonic.analysis.instrumentation - package com.tonic.analysis.instrumentation
-
Weaving hooks into a class.
- com.tonic.analysis.instrumentation.factory - package com.tonic.analysis.instrumentation.factory
-
Construction of instrumentation from a configuration.
- com.tonic.analysis.instrumentation.filter - package com.tonic.analysis.instrumentation.filter
-
Filters selecting what instrumentation applies to.
- com.tonic.analysis.instrumentation.hook - package com.tonic.analysis.instrumentation.hook
-
The hook kinds that can be woven, one per intercepted event.
- com.tonic.analysis.instrumentation.transform - package com.tonic.analysis.instrumentation.transform
-
Application of instrumentation as a class transform.
- com.tonic.analysis.pattern - package com.tonic.analysis.pattern
-
Search for instruction patterns within a method.
- com.tonic.analysis.pdg - package com.tonic.analysis.pdg
-
The program dependence graph for a method.
- com.tonic.analysis.pdg.edge - package com.tonic.analysis.pdg.edge
-
Edges of the program dependence graph.
- com.tonic.analysis.pdg.node - package com.tonic.analysis.pdg.node
-
Nodes of the program dependence graph.
- com.tonic.analysis.pdg.sdg - package com.tonic.analysis.pdg.sdg
-
The system dependence graph, linking per-method dependence graphs across calls.
- com.tonic.analysis.pdg.sdg.node - package com.tonic.analysis.pdg.sdg.node
-
The call and parameter nodes that join methods in the system dependence graph.
- com.tonic.analysis.pdg.sdg.slice - package com.tonic.analysis.pdg.sdg.slice
-
Slicing over the system dependence graph.
- com.tonic.analysis.pdg.slice - package com.tonic.analysis.pdg.slice
-
Slicing over a program dependence graph.
- com.tonic.analysis.query.ast - package com.tonic.analysis.query.ast
-
The query language's syntax tree.
- com.tonic.analysis.query.eval - package com.tonic.analysis.query.eval
-
Evaluation of a query's conditions against a subject.
- com.tonic.analysis.query.exec - package com.tonic.analysis.query.exec
-
Running queries against a class pool.
- com.tonic.analysis.query.parser - package com.tonic.analysis.query.parser
-
The query language parser and the tokens it reads.
- com.tonic.analysis.query.planner - package com.tonic.analysis.query.planner
-
Planning a parsed query into probes over candidate targets.
- com.tonic.analysis.query.planner.filter - package com.tonic.analysis.query.planner.filter
-
Filters that narrow query candidates before probing.
- com.tonic.analysis.query.planner.visitor - package com.tonic.analysis.query.planner.visitor
-
Scope traversal used while planning a query.
- com.tonic.analysis.query.util - package com.tonic.analysis.query.util
-
Argument type analysis for queries.
- com.tonic.analysis.query.value - package com.tonic.analysis.query.value
-
The values and operators a query condition compares.
- com.tonic.analysis.similarity - package com.tonic.analysis.similarity
-
Comparison of methods by bytecode, opcode sequence and structure.
- com.tonic.analysis.simulation.core - package com.tonic.analysis.simulation.core
-
Abstract simulation of a method, intra-procedurally or across calls.
- com.tonic.analysis.simulation.heap - package com.tonic.analysis.simulation.heap
-
The simulated heap, with allocation sites, points-to queries and escape analysis.
- com.tonic.analysis.simulation.listener - package com.tonic.analysis.simulation.listener
-
Listeners notified as a simulation proceeds.
- com.tonic.analysis.simulation.metrics - package com.tonic.analysis.simulation.metrics
-
Metrics collected from the simulation listeners.
- com.tonic.analysis.simulation.query - package com.tonic.analysis.simulation.query
-
Queries over a simulation result.
- com.tonic.analysis.simulation.state - package com.tonic.analysis.simulation.state
-
Immutable simulation state: stack, locals, call stack and the values they hold.
- com.tonic.analysis.simulation.util - package com.tonic.analysis.simulation.util
-
State transitions shared by the simulation engines.
- com.tonic.analysis.source.ast - package com.tonic.analysis.source.ast
-
The AST node model, its locations, and the list type that keeps parent links consistent.
- com.tonic.analysis.source.ast.decl - package com.tonic.analysis.source.ast.decl
-
Declaration nodes: compilation units, types, members and parameters.
- com.tonic.analysis.source.ast.expr - package com.tonic.analysis.source.ast.expr
-
Expression nodes and their operators.
- com.tonic.analysis.source.ast.stmt - package com.tonic.analysis.source.ast.stmt
-
Statement nodes.
- com.tonic.analysis.source.ast.transform - package com.tonic.analysis.source.ast.transform
-
Passes that reshape a recovered AST into idiomatic source and undo what the compiler desugared.
- com.tonic.analysis.source.ast.type - package com.tonic.analysis.source.ast.type
-
Source-level types, from primitives through generics, wildcards and intersections.
- com.tonic.analysis.source.ast.validation - package com.tonic.analysis.source.ast.validation
-
Structural checks over a built AST.
- com.tonic.analysis.source.decompile - package com.tonic.analysis.source.decompile
-
The decompilation entry point and its configuration.
- com.tonic.analysis.source.editor - package com.tonic.analysis.source.editor
-
Editing a recovered AST by matching nodes and replacing them.
- com.tonic.analysis.source.editor.handler - package com.tonic.analysis.source.editor.handler
-
Per-node handlers the editor dispatches an edit to.
- com.tonic.analysis.source.editor.matcher - package com.tonic.analysis.source.editor.matcher
-
Predicates selecting the statements and expressions an edit applies to.
- com.tonic.analysis.source.editor.util - package com.tonic.analysis.source.editor.util
-
Node construction helpers for edits.
- com.tonic.analysis.source.emit - package com.tonic.analysis.source.emit
-
Rendering an AST as formatted Java source.
- com.tonic.analysis.source.lower - package com.tonic.analysis.source.lower
-
Lowering an AST back into the SSA IR.
- com.tonic.analysis.source.parser - package com.tonic.analysis.source.parser
-
The Java source parser and the tokens it reads.
- com.tonic.analysis.source.recovery - package com.tonic.analysis.source.recovery
-
Recovering statements, expressions, names and types from the IR.
- com.tonic.analysis.source.recovery.rcs - package com.tonic.analysis.source.recovery.rcs
-
Reaching-condition structuring, recovering control flow through boolean formulas and BDDs.
- com.tonic.analysis.source.visitor - package com.tonic.analysis.source.visitor
-
Visitors over the source AST.
- com.tonic.analysis.ssa - package com.tonic.analysis.ssa
-
Entry point for building, transforming and printing the SSA intermediate representation.
- com.tonic.analysis.ssa.analysis - package com.tonic.analysis.ssa.analysis
-
Analyses over the IR: dominance, liveness, loops and def-use chains.
- com.tonic.analysis.ssa.cfg - package com.tonic.analysis.ssa.cfg
-
The control flow graph: methods, blocks, edges and exception handlers.
- com.tonic.analysis.ssa.ir - package com.tonic.analysis.ssa.ir
-
The IR instruction set and the operators its instructions carry.
- com.tonic.analysis.ssa.lift - package com.tonic.analysis.ssa.lift
-
Lifting bytecode into SSA form, including phi insertion and renaming.
- com.tonic.analysis.ssa.llvm - package com.tonic.analysis.ssa.llvm
-
Lowering the IR to an LLVM textual module.
- com.tonic.analysis.ssa.llvm.lift - package com.tonic.analysis.ssa.llvm.lift
-
Parsing LLVM text back into the IR.
- com.tonic.analysis.ssa.lower - package com.tonic.analysis.ssa.lower
-
Lowering SSA back to bytecode: phi elimination, register allocation, scheduling and emission.
- com.tonic.analysis.ssa.transform - package com.tonic.analysis.ssa.transform
-
Optimisation passes over the IR, at method and class level.
- com.tonic.analysis.ssa.type - package com.tonic.analysis.ssa.type
-
The IR type lattice.
- com.tonic.analysis.ssa.util - package com.tonic.analysis.ssa.util
-
Cloning support for IR methods.
- com.tonic.analysis.ssa.value - package com.tonic.analysis.ssa.value
-
SSA values and the constants they can hold.
- com.tonic.analysis.ssa.visitor - package com.tonic.analysis.ssa.visitor
-
Visitors over IR methods, blocks and instructions.
- com.tonic.analysis.typeinference - package com.tonic.analysis.typeinference
-
Inference of value types and nullability.
- com.tonic.analysis.verifier - package com.tonic.analysis.verifier
-
Bytecode verification and the errors it reports.
- com.tonic.analysis.verifier.controlflow - package com.tonic.analysis.verifier.controlflow
-
Verification of branch targets and exception table ranges.
- com.tonic.analysis.verifier.stackmap - package com.tonic.analysis.verifier.stackmap
-
Verification of a method against its StackMapTable.
- com.tonic.analysis.verifier.structural - package com.tonic.analysis.verifier.structural
-
Verification of instruction operands and overall method structure.
- com.tonic.analysis.verifier.type - package com.tonic.analysis.verifier.type
-
The type rules the verifier checks assignments and invocations against.
- com.tonic.analysis.visitor - package com.tonic.analysis.visitor
-
Visitor over decoded instructions.
- com.tonic.analysis.xref - package com.tonic.analysis.xref
-
Cross-references from a method or field to the places that use it.
- com.tonic.builder - package com.tonic.builder
-
Fluent builders for classes, fields, methods, code and annotations.
- com.tonic.exception - package com.tonic.exception
-
Failures raised when a class file does not match the format it claims.
- com.tonic.parser - package com.tonic.parser
-
The class file model: a pool of loaded classes, one parsed class, its constant pool and its members.
- com.tonic.parser.attribute - package com.tonic.parser.attribute
-
The attribute structures a class, field, method or code block can carry.
- com.tonic.parser.attribute.annotation - package com.tonic.parser.attribute.annotation
-
Annotation values as stored in the runtime annotation attributes.
- com.tonic.parser.attribute.module - package com.tonic.parser.attribute.module
-
The directive entries of a module attribute.
- com.tonic.parser.attribute.stack - package com.tonic.parser.attribute.stack
-
StackMapTable frames and the verification types their slots hold.
- com.tonic.parser.attribute.table - package com.tonic.parser.attribute.table
-
Row types for the tables attributes carry, from exception handlers to local variable ranges.
- com.tonic.parser.constpool - package com.tonic.parser.constpool
-
Constant pool entries, one type per tag.
- com.tonic.parser.constpool.structure - package com.tonic.parser.constpool.structure
-
Resolved views over the pool entries that reference other entries.
- com.tonic.parser.util - package com.tonic.parser.util
-
Descriptor parsing shared by the class file model.
- com.tonic.parser.visitor - package com.tonic.parser.visitor
-
Visitors over a parsed class and its methods.
- com.tonic.renamer - package com.tonic.renamer
-
Renaming of classes, fields and methods across a class pool.
- com.tonic.renamer.descriptor - package com.tonic.renamer.descriptor
-
Rewriting of descriptors and generic signatures under a rename mapping.
- com.tonic.renamer.exception - package com.tonic.renamer.exception
-
Failures raised when a rename is invalid or collides.
- com.tonic.renamer.hierarchy - package com.tonic.renamer.hierarchy
-
The class hierarchy a rename has to stay consistent with.
- com.tonic.renamer.mapping - package com.tonic.renamer.mapping
-
The old-to-new name mappings a rename applies.
- com.tonic.renamer.validation - package com.tonic.renamer.validation
-
Checks that a rename mapping is legal before it is applied.
- com.tonic.type - package com.tonic.type
-
Access flags, method handles and type descriptors shared across the toolchain.
- com.tonic.util - package com.tonic.util
-
Shared facts and helpers: opcodes, instruction lengths, descriptors, class names and logging.
- combine(AccessMetrics) - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
-
Sums every count of both metrics, including the distinct-field totals.
- combine(AllocationMetrics) - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
-
Adds the counts and per-type tallies of both metrics.
- combine(CallMetrics) - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
-
Sums every counter with another set of metrics.
- combine(PathMetrics) - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
-
Adds every counter of another snapshot to this one.
- combine(StackMetrics) - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
-
Sums the operation counts of both metrics and keeps the deeper maximum depth.
- COMBINED - com.tonic.analysis.similarity.SimilarityMetric
-
Blends the other metrics by their weights; the only kind that is not a single metric.
- COMMA - com.tonic.analysis.query.parser.Token.TokenType
-
The character
,, separating set members, sequence elements and repetition bounds. - COMMA - com.tonic.analysis.source.parser.TokenType
-
Separates list elements such as parameters, arguments, declarators and type arguments.
- COMMAND_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data reaches a process launch such as
Runtime.execor aProcessBuildercommand list. - commandInjection() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- CommonSubexpressionElimination - Class in com.tonic.analysis.ssa.transform
-
Common Subexpression Elimination (CSE) optimization transform.
- CommonSubexpressionElimination() - Constructor for class com.tonic.analysis.ssa.transform.CommonSubexpressionElimination
- commonSupertype(SourceType, SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
-
Joins two types: primitives by numeric promotion, anything else to Object.
- CommonTypes - Class in com.tonic.util
-
Internal names, descriptors and method names for the JDK types the toolchain refers to most.
- compact() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig
- compact() - Static method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- compare(MethodFingerprint, MethodFingerprint) - Method in class com.tonic.analysis.fingerprint.FingerprintComparator
-
Compares two fingerprints level by level, using exact hash equality or feature similarity per level.
- compare(TypeState, TypeState) - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator
-
Compares a declared frame against a computed one across locals and stack.
- compare(MethodSignature, MethodSignature, SimilarityMetric) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Scores two signatures on every metric.
- compareExactBytecode(MethodSignature) - Method in class com.tonic.analysis.similarity.MethodSignature
-
Compares bytecode hashes for an exact match.
- CompareInstruction - Class in com.tonic.analysis.instruction
-
Represents the compare instructions (LCMP, FCMPL, FCMPG, DCMPL, DCMPG).
- CompareInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.CompareInstruction
-
Constructs a CompareInstruction.
- CompareInstruction.CompareType - Enum in com.tonic.analysis.instruction
-
The compare operation kinds, each pairing a JVM opcode with its mnemonic.
- CompareOp - Enum in com.tonic.analysis.ssa.ir
-
Comparison operations for branches.
- compareOpcodeSequence(MethodSignature) - Method in class com.tonic.analysis.similarity.MethodSignature
-
Compares opcode sequences using longest common subsequence length.
- compareStructural(MethodSignature) - Method in class com.tonic.analysis.similarity.MethodSignature
-
Compares structural metrics: instruction, branch, and call count ratios.
- compareTo(SimilarityResult) - Method in class com.tonic.analysis.similarity.SimilarityResult
- comparison() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches binary expressions whose operator is a comparison.
- Comparison(Accessor, Operator, Operand) - Constructor for class com.tonic.analysis.query.ast.Condition.Comparison
-
Creates a comparison leaf, or a truthiness test when no operator is given.
- COMPARISON - com.tonic.analysis.source.parser.Precedence
-
The relational level, covering the four ordering operators and
instanceof. - ComparisonChainToSwitch - Class in com.tonic.analysis.source.ast.transform
-
Folds a dispatch written as a nested chain of constant equality guards back into a
switch: - ComparisonChainToSwitch() - Constructor for class com.tonic.analysis.source.ast.transform.ComparisonChainToSwitch
- CompilationUnit - Class in com.tonic.analysis.source.ast.decl
-
A Java source file: package declaration, imports, and top-level type declarations.
- CompilationUnit() - Constructor for class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Creates an empty compilation unit at an unknown location.
- CompilationUnit(SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Creates an empty compilation unit.
- complete(ConcreteValue) - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Marks the frame as normally completed.
- completed() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- completed(ConcreteValue) - Static method in class com.tonic.analysis.execution.core.BytecodeResult
-
Creates a result for an execution that completed normally.
- completed(ConcreteValue) - Static method in class com.tonic.analysis.execution.invoke.InvocationResult
-
Creates a result for a call that completed normally.
- COMPLETED - com.tonic.analysis.execution.core.BytecodeResult.Status
-
The method returned normally; the return value is the only payload.
- COMPLETED - com.tonic.analysis.execution.debug.DebugState.Status
-
Finished normally.
- COMPLETED - com.tonic.analysis.execution.invoke.InvocationResult.Status
-
The call finished normally; the return value is present unless the callee was void.
- completeExceptionally(ObjectInstance) - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Marks the frame as completed by a thrown exception.
- Component(int, int, List<Attribute>) - Constructor for class com.tonic.parser.attribute.RecordAttribute.Component
- Component(SourceType, String) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr.Component
- CompositeBytecodeListener - Class in com.tonic.analysis.execution.listener
-
Listener that fans every event out to an ordered list of delegate listeners.
- CompositeBytecodeListener() - Constructor for class com.tonic.analysis.execution.listener.CompositeBytecodeListener
-
Creates a composite with no listeners.
- CompositeBytecodeListener(BytecodeListener...) - Constructor for class com.tonic.analysis.execution.listener.CompositeBytecodeListener
-
Creates a composite over a copy of the given listeners.
- CompositeBytecodeListener(Collection<BytecodeListener>) - Constructor for class com.tonic.analysis.execution.listener.CompositeBytecodeListener
-
Creates a composite over a copy of the given collection.
- CompositeFilter(StaticFilter, StaticFilter, StaticFilter.CompositeFilter.Op) - Constructor for class com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter
-
Creates a filter that runs two filters over the same candidates.
- CompositeListener - Class in com.tonic.analysis.simulation.listener
-
Simulation listener that forwards every callback to its children in order, so several listeners can be registered as one.
- CompositeListener() - Constructor for class com.tonic.analysis.simulation.listener.CompositeListener
-
Creates a composite with no children; add them with add().
- CompositeListener(SimulationListener...) - Constructor for class com.tonic.analysis.simulation.listener.CompositeListener
-
Creates a composite over the given children.
- CompositeListener(List<SimulationListener>) - Constructor for class com.tonic.analysis.simulation.listener.CompositeListener
-
Creates a composite over a copy of the given list.
- COMPOUND_ASSIGN - com.tonic.analysis.source.editor.handler.ArrayAccessHandler.ArrayAccessType
-
Compound assignment to array element: array[index] += value This involves both a read and a store.
- compute() - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Computes def-use chains for all values in the method.
- compute() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Computes the dominator tree and dominance frontiers.
- compute() - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
-
Computes liveness information for all blocks.
- compute() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
-
Finds back edges, identifies natural loops, and computes loop nesting.
- compute() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Computes the post-dominator tree.
- computeCommonType(Collection<SourceType>) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Computes a common supertype for a collection of types.
- computeDefUse(IRMethod) - Method in class com.tonic.analysis.ssa.SSA
-
Computes def-use chains for a method.
- computeDepth() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
-
Recomputes the nesting depth by counting the parent chain.
- computeDominators(IRMethod) - Method in class com.tonic.analysis.ssa.SSA
-
Computes the dominator tree for a method.
- computeFrames() - Method in class com.tonic.analysis.Bytecode
-
Computes and updates this method's StackMapTable frames.
- computeFrames() - Method in class com.tonic.analysis.CodeWriter
-
Computes and installs StackMapTable frames after a
write(); a valid existing table is preserved when the bytecode was not modified. - computeFrames(ClassFile) - Static method in class com.tonic.analysis.ClassFactory
-
Computes StackMapTable frames for every method in a class that carries code.
- computeFrames(ClassFile, MethodEntry) - Static method in class com.tonic.analysis.ClassFactory
-
Computes StackMapTable frames for one method, doing nothing if it carries no code.
- computeFrames(ClassFile, String, String) - Static method in class com.tonic.analysis.ClassFactory
-
Computes StackMapTable frames for one method looked up by name and descriptor.
- computeFrames(MethodEntry) - Method in class com.tonic.analysis.frame.FrameGenerator
-
Computes the StackMapTable frames for a method.
- computeHash() - Method in interface com.tonic.analysis.fingerprint.features.FeatureVector
-
Digests every extracted feature into a hash usable for equality and lookup.
- computeHash() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- computeHash() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- computeHash() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- computeLiveness(IRMethod) - Method in class com.tonic.analysis.ssa.SSA
-
Computes liveness information for a method.
- computeLoops(IRMethod) - Method in class com.tonic.analysis.ssa.SSA
-
Computes loop information for a method.
- computeMaxStack() - Method in class com.tonic.analysis.CodeWriter
-
Computes
max_stackover the control-flow graph (viaFrameGenerator) and raises the method's value if the linear estimate under-counts - correct for loops, joins, and handler entry states where a textual scan can miss the true peak. - computeMaxStack(MethodEntry) - Method in class com.tonic.analysis.frame.FrameGenerator
-
Computes the true
max_stackover the method's control-flow graph. - ConcreteLocals - Class in com.tonic.analysis.execution.state
-
Fixed-size local variable table of concrete values, with wide values occupying two slots.
- ConcreteLocals(int) - Constructor for class com.tonic.analysis.execution.state.ConcreteLocals
-
Creates an empty table.
- ConcreteStack - Class in com.tonic.analysis.execution.state
-
Fixed-capacity operand stack of concrete values with the JVM dup and swap shuffle operations.
- ConcreteStack(int) - Constructor for class com.tonic.analysis.execution.state.ConcreteStack
-
Creates an empty stack.
- ConcreteValue - Class in com.tonic.analysis.execution.state
-
An immutable tagged JVM value, storing primitives as raw bits and references as a heap instance.
- ConcurrencyHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the java.util.concurrent.atomic intrinsics, reporting compare-and-swap support as available.
- ConcurrencyHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.ConcurrencyHandlers
- condition() - Method in class com.tonic.analysis.query.ast.FindQuery
- condition() - Method in interface com.tonic.analysis.query.ast.Query
- condition() - Method in class com.tonic.analysis.query.ast.ShowQuery
- Condition - Interface in com.tonic.analysis.query.ast
-
The boolean expression tree of a query's
WHEREclause - the only place booleans live. - Condition.And - Class in com.tonic.analysis.query.ast
- Condition.Comparison - Class in com.tonic.analysis.query.ast
-
accessor OP operand- the single generic leaf. - Condition.Count - Class in com.tonic.analysis.query.ast
-
count(<stream> [where (body)]) OP n- cardinality of a (optionally filtered) stream. - Condition.Group - Class in com.tonic.analysis.query.ast
- Condition.Not - Class in com.tonic.analysis.query.ast
- Condition.Or - Class in com.tonic.analysis.query.ast
- Condition.Quant - Enum in com.tonic.analysis.query.ast
-
Existence/universality of a sub-condition over a sub-subject stream.
- Condition.Quantifier - Class in com.tonic.analysis.query.ast
-
has|any|all|none <stream> where (body). - Condition.Sequence - Class in com.tonic.analysis.query.ast
-
SEQUENCE [ e1, e2, .. ]- an ordered, unanchored regex over the method's instruction stream. - Condition.Sequence.Element - Class in com.tonic.analysis.query.ast
-
One pattern element: a matcher evaluated against an instruction, repeated
[min,max]times. - Condition.True - Class in com.tonic.analysis.query.ast
-
Constant truth, used as an identity element when simplifying/splitting trees.
- Condition.Visitor<R> - Interface in com.tonic.analysis.query.ast
- ConditionalBranchInstruction - Class in com.tonic.analysis.instruction
-
Represents the conditional branch instructions.
- ConditionalBranchInstruction(int, int, short) - Constructor for class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Constructs a ConditionalBranchInstruction.
- ConditionalBranchInstruction.BranchType - Enum in com.tonic.analysis.instruction
-
The conditional branch kinds, each pairing a JVM opcode with its mnemonic.
- ConditionalConstantPropagation - Class in com.tonic.analysis.ssa.transform
-
Conditional Constant Propagation (CCP) optimization transform.
- ConditionalConstantPropagation() - Constructor for class com.tonic.analysis.ssa.transform.ConditionalConstantPropagation
- ConditionEvaluator - Class in com.tonic.analysis.query.eval
- ConditionEvaluator(AttributeRegistry) - Constructor for class com.tonic.analysis.query.eval.ConditionEvaluator
-
Creates an evaluator that resolves accessor paths through a registry.
- conditionInlinesSideEffect(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
True when recovering
block's branch condition would inline an allocation or call - a side effect a shared-tail guard must not duplicate by re-emitting the condition. - conditionInlinesSideEffect(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- ConditionParser - Class in com.tonic.analysis.query.parser
-
Recursive-descent parser for the composable
WHEREexpression language. - ConditionParser(List<Token>, int) - Constructor for class com.tonic.analysis.query.parser.ConditionParser
-
Creates a parser positioned at one token of a shared list.
- config(SourceEmitterConfig) - Method in class com.tonic.analysis.source.decompile.ClassDecompiler.Builder
-
Sets the source emitter configuration.
- config(VerifierConfig) - Method in class com.tonic.analysis.verifier.Verifier.Builder
-
Sets the full verifier configuration.
- CONSISTENCY - com.tonic.analysis.source.ast.validation.ValidationError.Category
-
Two parts of the tree that should agree do not, such as a node's cached information contradicting its actual position.
- consoleInput() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- CONST - com.tonic.analysis.source.parser.TokenType
-
Reserved by the language but unused, so it can only ever appear as a syntax error.
- constant(Object, IRType, IRInstruction) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Creates a value with a known constant.
- Constant - Class in com.tonic.analysis.ssa.value
-
Base class for all constant values.
- Constant() - Constructor for class com.tonic.analysis.ssa.value.Constant
- CONSTANT - com.tonic.analysis.dataflow.DataFlowNodeType
-
A literal baked into the code, a value source that can never carry taint.
- CONSTANT - com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Constant names; an invalid one is renamed to
const_N. - CONSTANT_DYNAMIC - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A dynamic constant was loaded and the interpreter must run its bootstrap method to produce the value.
- ConstantDynamic - Class in com.tonic.parser.constpool.structure
-
Represents a CONSTANT_Dynamic entry structure in the constant pool.
- ConstantDynamic(int, int) - Constructor for class com.tonic.parser.constpool.structure.ConstantDynamic
- ConstantDynamicInfo - Class in com.tonic.analysis.execution.dispatch
-
A CONSTANT_Dynamic constant pool entry awaiting bootstrap-method resolution.
- ConstantDynamicInfo(int, String, String, int) - Constructor for class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
-
Creates a constant-dynamic descriptor.
- ConstantDynamicItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_Dynamic entry in the constant pool (tag 17/0x11).
- ConstantDynamicItem() - Constructor for class com.tonic.parser.constpool.ConstantDynamicItem
-
Default constructor for reading from class file.
- ConstantDynamicItem(ConstantDynamic) - Constructor for class com.tonic.parser.constpool.ConstantDynamicItem
-
Constructor for programmatic creation.
- ConstantFolding - Class in com.tonic.analysis.ssa.transform
-
Folds constant expressions at compile time.
- ConstantFolding() - Constructor for class com.tonic.analysis.ssa.transform.ConstantFolding
- ConstantInstruction - Class in com.tonic.analysis.ssa.ir
-
An instruction producing a constant value.
- ConstantInstruction(SSAValue, Constant) - Constructor for class com.tonic.analysis.ssa.ir.ConstantInstruction
-
Creates a constant load.
- constantValue(ConstPool, int) - Static method in class com.tonic.analysis.Bootstraps
-
Renders a loadable constant at the given index to a readable string, mirroring disassembly's constant formatting.
- constantValue(Object) - Method in class com.tonic.builder.FieldBuilder
-
Gives the field a ConstantValue attribute.
- ConstantValueAttribute - Class in com.tonic.parser.attribute
-
The ConstantValue attribute: the constant-pool index of a field's constant initial value.
- ConstantValueAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.ConstantValueAttribute
-
Creates the attribute shell for parsing, attached to a class.
- ConstantValueAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.ConstantValueAttribute
-
Creates the attribute shell for parsing, attached to a member.
- ConstPool - Class in com.tonic.parser
-
Represents the Constant Pool of a Java class file.
- ConstPool() - Constructor for class com.tonic.parser.ConstPool
-
Constructs an empty ConstPool.
- ConstPool(ClassFile) - Constructor for class com.tonic.parser.ConstPool
-
Constructs a ConstPool by parsing constant pool entries from the given ClassFile.
- ConstPoolRemapper - Class in com.tonic.analysis
- ConstPoolRemapper(ClassFile, ClassFile) - Constructor for class com.tonic.analysis.ConstPoolRemapper
-
Creates a stateful remapper from the source class file's constant pool into the target's.
- CONSTRUCTOR - com.tonic.analysis.source.ast.expr.MethodRefKind
-
Constructor reference: ClassName::new
- ConstructorAnalyzer - Class in com.tonic.analysis.simulation.heap
-
Analyzes constructor bytecode to extract field assignments.
- ConstructorAnalyzer() - Constructor for class com.tonic.analysis.simulation.heap.ConstructorAnalyzer
-
Creates a stateless analyzer.
- ConstructorDecl - Class in com.tonic.analysis.source.ast.decl
-
A Java constructor declaration: modifiers, parameters, throws clause, and body.
- ConstructorDecl(String) - Constructor for class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Creates an empty constructor declaration at an unknown location.
- ConstructorDecl(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Creates an empty constructor declaration.
- constructorRef(String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates a constructor reference, ClassName::new.
- consumed() - Method in class com.tonic.analysis.source.recovery.rcs.TryNodeDescriptor
- consumePendingNew(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Removes the pending new record for a value and returns its class name.
- consumePendingNewLocalSlot(int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Removes the pending new record for a local slot and returns its class name.
- containing(String) - Static method in class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a filter matching methods containing a substring.
- contains(int) - Method in class com.tonic.analysis.source.decompile.DecompileResult.MemberSpan
-
Checks whether a source line falls within this span.
- contains(long) - Method in class com.tonic.analysis.ssa.transform.ValueRange
-
Tests membership, always false for an empty range.
- contains(PDGNode) - Method in class com.tonic.analysis.pdg.slice.SliceResult
- contains(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
-
Checks if the loop contains the specified block.
- contains(IRMethod) - Method in class com.tonic.analysis.simulation.state.CallStackState
-
Detects recursion by searching the frames for a method.
- contains(IRType) - Method in class com.tonic.analysis.typeinference.TypeSet
-
Tests membership.
- contains(String) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
- contains(T) - Method in class com.tonic.analysis.source.ast.NodeList
-
Tests whether a node is present.
- CONTAINS - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links a declaration to a member declared inside it, such as a class to its methods.
- CONTAINS - com.tonic.analysis.query.value.Operator
-
Substring or membership containment, depending on the operand kinds.
- CONTAINS_STRING - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
containsstringorcontains_string, naming a string constant an entity carries. - containsInstruction(IRInstruction) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Tests whether an instruction backs one of the sliced nodes, by identity.
- containsNode(PDGNode) - Method in class com.tonic.analysis.pdg.slice.SliceResult
- context() - Method in class com.tonic.analysis.query.eval.Subject.ArgSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.BootstrapArgSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.CallSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.ClassSubject
- context() - Method in interface com.tonic.analysis.query.eval.Subject
- context() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.FieldAccessSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.InstructionSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.MethodSubject
- context() - Method in class com.tonic.analysis.query.eval.Subject.ParamSubject
- CONTINUE - com.tonic.analysis.execution.debug.InterceptorAction
-
Proceed as if the interceptor had not been called; the default for every callback.
- CONTINUE - com.tonic.analysis.execution.dispatch.DispatchResult
-
The instruction finished in place and the program counter already advanced; nothing more is owed by the interpreter.
- CONTINUE - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
The instruction finished in place and the program counter already advanced; nothing more is owed by the interpreter.
- CONTINUE - com.tonic.analysis.source.parser.TokenType
-
Skips to the next iteration of the innermost loop, or of the loop its label names.
- CONTINUE - com.tonic.analysis.source.recovery.ControlFlowContext.JumpKind
- continueStmt() - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an unlabeled continue statement node.
- continueStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches continue statements.
- continueStmt(String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a labeled continue statement node.
- ContinueStmt - Class in com.tonic.analysis.source.ast.stmt
-
A continue statement with an optional target label.
- ContinueStmt() - Constructor for class com.tonic.analysis.source.ast.stmt.ContinueStmt
-
Creates an unlabeled continue statement.
- ContinueStmt(String) - Constructor for class com.tonic.analysis.source.ast.stmt.ContinueStmt
-
Creates a continue statement with an unknown location.
- ContinueStmt(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.ContinueStmt
-
Creates a continue statement.
- continueTarget() - Method in class com.tonic.analysis.source.lower.LoweringContext.LoopTargets
- CONTROL_DEP - com.tonic.analysis.cpg.edge.CPGEdgeType
-
The target executes only under a governing branch, without recording which arm.
- CONTROL_DEP_FALSE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
The target executes only when the governing branch takes its false arm.
- CONTROL_DEP_TRUE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
The target executes only when the governing branch takes its true arm.
- CONTROL_EXCEPTION - com.tonic.analysis.pdg.edge.PDGDependenceType
-
The dependent node runs only when the protected region throws and control reaches a handler.
- CONTROL_FALSE - com.tonic.analysis.pdg.edge.PDGDependenceType
-
The dependent node runs only when the governing branch takes its false side.
- CONTROL_FLOW - com.tonic.analysis.similarity.SimilarityMetric
-
Compares control-flow graphs for isomorphic shape, ignoring the instructions in each block; weighted 0.7.
- CONTROL_SWITCH - com.tonic.analysis.pdg.edge.PDGDependenceType
-
The dependent node runs only when a switch selects the case that guards it.
- CONTROL_TRUE - com.tonic.analysis.pdg.edge.PDGDependenceType
-
The dependent node runs only when the governing branch takes its true side.
- CONTROL_UNCONDITIONAL - com.tonic.analysis.pdg.edge.PDGDependenceType
-
The dependent node runs whenever the governing node does, with no condition to satisfy.
- controlDependencies() - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Follows incoming control-dependence edges to the nodes controlling this one.
- controlDependents() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps to nodes control-dependent on the current ones.
- controlEdge(PDGNode, PDGNode, boolean) - Static method in class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates a control dependence edge for one outcome of a branch.
- ControlFlowContext - Class in com.tonic.analysis.source.recovery
-
Shared context for control flow recovery operations.
- ControlFlowContext(IRMethod, DominatorTree, LoopAnalysis, RecoveryContext) - Constructor for class com.tonic.analysis.source.recovery.ControlFlowContext
-
Creates a recovery context over one method's analyses.
- ControlFlowContext.FieldKey - Class in com.tonic.analysis.source.recovery
-
Represents a field by its owner class and field name.
- ControlFlowContext.JumpKind - Enum in com.tonic.analysis.source.recovery
-
Which loop boundary an edge crosses.
- ControlFlowContext.LoopFrame - Class in com.tonic.analysis.source.recovery
-
An enclosing loop: its header (label anchor), continue-target (latch/increment) and exit block.
- ControlFlowContext.LoopJump - Class in com.tonic.analysis.source.recovery
-
A break/continue jump.
- ControlFlowContext.StructuredRegion - Enum in com.tonic.analysis.source.recovery
-
Represents a structured control flow region.
- ControlFlowContext.SwitchFrame - Class in com.tonic.analysis.source.recovery
-
An enclosing
switch. - ControlFlowContext.SwitchJump - Class in com.tonic.analysis.source.recovery
-
A jump within a switch: leaving it at its merge, or falling through to a sibling
caseHeader. - ControlFlowContext.SwitchJumpKind - Enum in com.tonic.analysis.source.recovery
-
How an edge leaves a switch case - out at the merge, or on to the next case.
- ControlFlowListener - Class in com.tonic.analysis.simulation.listener
-
A simulation listener that counts control flow instructions, block visits and block-to-block transitions, resetting its tallies at each simulation start.
- ControlFlowListener() - Constructor for class com.tonic.analysis.simulation.listener.ControlFlowListener
-
Creates a listener that records counts only, without the ordered block sequence.
- ControlFlowListener(boolean) - Constructor for class com.tonic.analysis.simulation.listener.ControlFlowListener
-
Creates a listener with optional recording of the ordered block sequence.
- ControlFlowListener.BlockTransition - Class in com.tonic.analysis.simulation.listener
-
Represents a transition between two blocks.
- ControlFlowReducibility - Class in com.tonic.analysis.ssa.transform
-
Transforms irreducible control flow into reducible form using node splitting.
- ControlFlowReducibility() - Constructor for class com.tonic.analysis.ssa.transform.ControlFlowReducibility
- ControlFlowSimplifier - Class in com.tonic.analysis.source.ast.transform
-
Simplifies control flow in AST to reduce nesting depth and improve readability.
- ControlFlowSimplifier() - Constructor for class com.tonic.analysis.source.ast.transform.ControlFlowSimplifier
- ControlFlowVerifier - Class in com.tonic.analysis.verifier.controlflow
-
Verification pass over a method's control-flow graph: reachability and path termination.
- ControlFlowVerifier() - Constructor for class com.tonic.analysis.verifier.controlflow.ControlFlowVerifier
-
Creates a stateless control-flow pass.
- ConversionInstruction - Class in com.tonic.analysis.instruction
-
Represents the type conversion instructions (I2F, I2D, L2I, L2F, L2D, F2I, F2L, F2D, D2I, D2L, D2F).
- ConversionInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.ConversionInstruction
-
Constructs a ConversionInstruction.
- ConversionInstruction.ConversionType - Enum in com.tonic.analysis.instruction
-
The widening conversion kinds, each pairing a JVM opcode with its mnemonic.
- copy() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- copy() - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Creates a deep copy of this state.
- copy(Statement, Statement) - Static method in class com.tonic.analysis.source.ast.Locations
-
Carries offset provenance across a 1:1 statement rewrite, doing nothing if either side is null or the source location has no bytecode offset.
- COPY_ON_MERGE - com.tonic.analysis.simulation.heap.HeapMode
-
Hybrid approach: mutable within a single path, copies at control flow joins.
- CopyInfo - Class in com.tonic.analysis.ssa.lower
-
A phi copy's created SSA value and the block it was inserted in, used for register coalescing.
- CopyInfo(SSAValue, IRBlock) - Constructor for class com.tonic.analysis.ssa.lower.CopyInfo
-
Creates a copy record.
- CopyInstruction - Class in com.tonic.analysis.ssa.ir
-
A value copy, inserted mainly during phi elimination.
- CopyInstruction(SSAValue, Value) - Constructor for class com.tonic.analysis.ssa.ir.CopyInstruction
-
Creates a copy and registers a use of an SSA source.
- copyOf(ASTNode, Collection<? extends T>) - Static method in class com.tonic.analysis.source.ast.NodeList
-
Creates a list copying the given elements, attached to an owner.
- CopyPropagation - Class in com.tonic.analysis.ssa.transform
-
Propagates copies to eliminate redundant copy instructions.
- CopyPropagation() - Constructor for class com.tonic.analysis.ssa.transform.CopyPropagation
- copyValue() - Method in class com.tonic.analysis.ssa.lower.CopyInfo
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.ConstantInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Creates a copy of this instruction with new result and operands.
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.LoadLocalInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- copyWithNewOperands(SSAValue, List<Value>) - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- CoreHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the java.lang core: Object identity and equality, Throwable construction and stack traces, and Class reflection stubs.
- CoreHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.CoreHandlers
- CorrelatedValuePropagation - Class in com.tonic.analysis.ssa.transform
-
Correlated Value Propagation (CVP).
- CorrelatedValuePropagation() - Constructor for class com.tonic.analysis.ssa.transform.CorrelatedValuePropagation
- count() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query by counting its nodes.
- Count(Accessor, Condition, Operator, Operand) - Constructor for class com.tonic.analysis.query.ast.Condition.Count
-
Creates a cardinality test over a sub-subject stream.
- countConstants(String) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Counts the constant markers in a recipe.
- countDescriptorArguments(String) - Static method in class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
-
Counts the parameters in a method descriptor, treating an array and its element as one parameter.
- countDynamicArgs(String) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Counts the dynamic-argument markers in a recipe.
- countNameAndTypeReferences(ConstPool, int) - Method in class com.tonic.renamer.RenamerContext
-
Counts how many items reference a NameAndType entry.
- countParameters(String) - Static method in class com.tonic.util.DescriptorUtil
-
Counts the number of parameters in a method descriptor.
- countParameterSlots(String) - Static method in class com.tonic.util.DescriptorUtil
-
Counts the total number of stack/local slots needed for method parameters.
- COVERAGE - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
coverage, naming how much of an entity was reached. - coversBlock(IRBlock) - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
-
Tests whether a block is part of this region.
- CPGBuilder - Class in com.tonic.analysis.cpg
-
Builder that lifts every method in a class pool to SSA IR and assembles a
CodePropertyGraphwith optional call-graph, PDG, and SDG edge layers. - CPGBuilder(ClassPool) - Constructor for class com.tonic.analysis.cpg.CPGBuilder
-
Creates a builder over the given class pool.
- CPGDOTExporter - Class in com.tonic.analysis.graph.export
-
Renders a code property graph as Graphviz DOT, with a filter selecting which edge types appear.
- CPGDOTExporter() - Constructor for class com.tonic.analysis.graph.export.CPGDOTExporter
-
Creates an exporter with the default configuration and every edge type enabled.
- CPGDOTExporter(DOTExporterConfig) - Constructor for class com.tonic.analysis.graph.export.CPGDOTExporter
-
Creates an exporter that emits every edge type.
- CPGEdge - Class in com.tonic.analysis.cpg.edge
-
Directed, typed edge between two CPG nodes; identity is (source id, target id, type).
- CPGEdge(CPGNode, CPGNode, CPGEdgeType) - Constructor for class com.tonic.analysis.cpg.edge.CPGEdge
-
Creates an edge of the given type.
- CPGEdge(CPGNode, CPGNode, CPGEdgeType, Map<String, Object>) - Constructor for class com.tonic.analysis.cpg.edge.CPGEdge
-
Creates an edge of the given type carrying the supplied properties.
- CPGEdgeType - Enum in com.tonic.analysis.cpg.edge
-
Kinds of edges a CPG can contain, spanning AST, CFG, data-flow, dependence, call, interprocedural, and taint layers.
- CPGIndex - Class in com.tonic.analysis.cpg
-
Secondary lookup structure over CPG nodes, keyed by node type, method signature, call target, instruction class, and property key/value pairs.
- CPGIndex() - Constructor for class com.tonic.analysis.cpg.CPGIndex
- CPGNode - Class in com.tonic.analysis.cpg.node
-
Base class for CPG nodes: an id, a node type, a property map, and the incident edges; identity is the id alone.
- CPGNodeType - Enum in com.tonic.analysis.cpg.node
-
Kinds of nodes a CPG can contain, spanning IR, AST, PDG, and SDG layers.
- CPGPrinter - Class in com.tonic.analysis.graph.print
-
A text renderer for a code property graph, emitting nodes grouped by method or by node type with detail controlled by a GraphPrinterConfig.
- CPGPrinter() - Constructor for class com.tonic.analysis.graph.print.CPGPrinter
-
Creates a printer using the default configuration.
- CPGPrinter(GraphPrinterConfig) - Constructor for class com.tonic.analysis.graph.print.CPGPrinter
-
Creates a printer with the given configuration.
- CPGQuery - Class in com.tonic.analysis.cpg.query
-
Fluent, stream-backed traversal over a CPG.
- CPGQuery(CodePropertyGraph) - Constructor for class com.tonic.analysis.cpg.query.CPGQuery
-
Creates an empty query over a graph; select a starting set with methods like
CPGQuery.methods()orCPGQuery.all(). - cpIndex() - Method in class com.tonic.analysis.query.eval.Subject.BootstrapArgSubject
- create() - Static method in class com.tonic.analysis.query.eval.DefaultAttributes
-
Builds a registry populated with every static atom.
- create() - Static method in class com.tonic.analysis.source.parser.JavaParser
- create(String) - Static method in class com.tonic.builder.ClassBuilder
-
Starts a new class with public access,
java/lang/Objectsuperclass, and Java 11 version. - create(String, MemberEntry, int, List<StackMapFrame>) - Static method in class com.tonic.parser.attribute.StackMapTableAttribute
-
Creates a new StackMapTableAttribute with the given frames.
- createArrayLength(SSAValue, Value) - Static method in class com.tonic.analysis.ssa.ir.SimpleInstruction
-
Creates an arraylength read.
- createArrayLoadHook(ArrayLoadHook, ArrayAccessInstruction) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke an array load hook.
- createArrayStoreHook(ArrayStoreHook, ArrayAccessInstruction) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke an array store hook.
- createBlock() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Creates a basic block and adds it to the method.
- createBlock(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Creates a basic block with a name prefix and adds it to the method.
- createCast(SSAValue, Value, IRType) - Static method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
-
Creates a checkcast.
- createCatch(SSAValue) - Static method in class com.tonic.analysis.ssa.ir.SimpleInstruction
-
Creates the pseudo-instruction that captures the caught exception the JVM leaves on the stack at handler entry.
- createClass(ClassPool, String, int) - Static method in class com.tonic.analysis.ClassFactory
-
Creates a class registered in a pool, adds a default constructor and class initializer, then rebuilds it.
- createClass(String, int) - Static method in class com.tonic.analysis.ClassFactory
-
Creates a detached class carrying a default constructor and class initializer.
- createEntry(int, String, IRBlock) - Static method in class com.tonic.analysis.pdg.node.PDGRegionNode
-
Creates the entry node for a method, named "ENTRY:" plus the method name.
- createException(String, String) - Method in interface com.tonic.analysis.execution.invoke.NativeContext
-
Allocates a guest exception with its detail message field populated.
- createExceptionHook(ExceptionHook, SSAValue, String, String) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke an exception hook.
- createExit(int, String, IRBlock) - Static method in class com.tonic.analysis.pdg.node.PDGRegionNode
-
Creates the exit node for a method, named "EXIT:" plus the method name.
- createFieldReadHook(FieldReadHook, FieldAccessInstruction) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke a field read hook.
- createFieldWriteHook(FieldWriteHook, FieldAccessInstruction) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke a field write hook.
- createGoto(IRBlock) - Static method in class com.tonic.analysis.ssa.ir.SimpleInstruction
-
Creates an unconditional jump.
- createInstanceOf(SSAValue, Value, IRType) - Static method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
-
Creates an instanceof test.
- createInstruction(int, int, byte[], ConstPool) - Static method in class com.tonic.analysis.instruction.InstructionFactory
-
Decodes the single instruction starting at an offset, reading its operands from the bytecode.
- createLoad(SSAValue, Value, Value) - Static method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
-
Creates an array element load.
- createLoad(SSAValue, String, String, String, Value) - Static method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
-
Creates an instance field load.
- createMethodCallHook(MethodCallHook, InvokeInstruction, boolean) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke a method call hook.
- createMethodEntryHook(MethodEntryHook, IRMethod, MethodEntry, String) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke a method entry hook.
- createMethodExitHook(MethodExitHook, IRMethod, ReturnInstruction, MethodEntry, String) - Method in class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
-
Creates instructions to invoke a method exit hook.
- createMethodWithBody(ClassFile, int, String, String) - Static method in class com.tonic.analysis.ClassFactory
-
Creates a method whose generated body immediately returns a zero or null value of the declared return type.
- createMonitorEnter(Value) - Static method in class com.tonic.analysis.ssa.ir.SimpleInstruction
-
Creates a monitorenter.
- createMonitorExit(Value) - Static method in class com.tonic.analysis.ssa.ir.SimpleInstruction
-
Creates a monitorexit.
- createNestedContext() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Creates a copy of this context, carrying over depths and null-check state, for nested traversal.
- createNewClass(String, int) - Method in class com.tonic.parser.ClassPool
-
Creates new empty class with specified name and access flags.
- createNewField(int, String, String, List<Attribute>) - Method in class com.tonic.parser.ClassFile
-
Adds a new field to the class.
- createNewMethod(int, String, Class<?>, Class<?>...) - Method in class com.tonic.parser.ClassFile
-
Creates a new method with Class-based parameter types.
- createNewMethod(int, String, String, String...) - Method in class com.tonic.parser.ClassFile
-
Creates a new method with String-based parameter types.
- createNewMethodWithDescriptor(int, String, String) - Method in class com.tonic.parser.ClassFile
-
Creates a new method with a complete method descriptor.
- createProxy(InvokeDynamicInfo, ConcreteValue[]) - Method in class com.tonic.analysis.execution.invoke.LambdaProxyFactory
-
Allocates a fresh proxy object for a lambda call site and copies each captured argument into a capture$N field.
- createRegion(int, String, IRBlock) - Static method in class com.tonic.analysis.pdg.node.PDGRegionNode
-
Creates a plain region node.
- createStaticLoad(SSAValue, String, String, String) - Static method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
-
Creates a static field load.
- createStaticStore(String, String, String, Value) - Static method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
-
Creates a static field store.
- createStore(Value, Value, Value) - Static method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
-
Creates an array element store.
- createStore(String, String, String, Value, Value) - Static method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
-
Creates an instance field store.
- createString(String) - Method in interface com.tonic.analysis.execution.invoke.NativeContext
-
Interns a host string as a guest string instance.
- createThrow(Value) - Static method in class com.tonic.analysis.ssa.ir.SimpleInstruction
-
Creates an athrow.
- CRITICAL - com.tonic.analysis.cpg.taint.Severity
-
Reaches a sink that yields code or query execution outright - SQL injection, command injection, or insecure deserialization.
- current() - Method in class com.tonic.analysis.source.parser.Lexer
- currentLine(int) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- currentMethod(String) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- currentPC(int) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- currentPosition() - Method in class com.tonic.analysis.source.parser.Lexer
- custom(String, String, String, TaintType) - Static method in class com.tonic.analysis.cpg.taint.TaintSource
-
Builds a return-value-tainting source from caller-supplied patterns.
- custom(String, String, String, VulnerabilityType, Severity) - Static method in class com.tonic.analysis.cpg.taint.TaintSink
-
Builds a sink from caller-supplied patterns, fixing the sensitive argument at index 0.
- custom(Predicate<Expression>) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Creates a matcher from a custom predicate.
- custom(Predicate<Expression>, String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Creates a matcher from a custom predicate with a description.
- custom(Predicate<Statement>) - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Creates a matcher from a custom predicate.
- custom(Predicate<Statement>, String) - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Creates a matcher from a custom predicate with description.
- CUSTOM - com.tonic.analysis.cpg.taint.TaintType
-
Data from a source the caller registered themselves rather than one of the built-in source definitions.
- CUSTOM - com.tonic.analysis.cpg.taint.VulnerabilityType
-
A caller-defined sink category, for rules none of the built-in classes describe.
D
- d2f() - Method in class com.tonic.builder.CodeBuilder
-
Appends
d2f, narrowing a double to float. - D2F - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Narrows a double to a float, rounding to nearest and overflowing to infinity.
- D2F - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert double to float.
- D2F - com.tonic.util.Opcode
-
Pops a double and pushes it narrowed to a float, which may lose precision or overflow to an infinity.
- d2i() - Method in class com.tonic.builder.CodeBuilder
-
Appends
d2i, converting a double to int. - D2I - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts a double to an int, truncating toward zero and clamping to the int range; NaN becomes zero.
- D2I - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert double to int.
- D2I - com.tonic.util.Opcode
-
Pops a double and pushes it converted to an int, rounding toward zero; NaN becomes 0 and out-of-range values saturate.
- d2l() - Method in class com.tonic.builder.CodeBuilder
-
Appends
d2l, converting a double to long. - D2L - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts a double to a long, truncating toward zero and clamping to the long range; NaN becomes zero.
- D2L - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert double to long.
- D2L - com.tonic.util.Opcode
-
Pops a double and pushes it converted to a long, rounding toward zero; NaN becomes 0 and out-of-range values saturate.
- dadd() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dadd, adding the top two double values. - DADD - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Adds two doubles, rounding to the nearest representable double.
- DADD - com.tonic.util.Opcode
-
Pops two doubles and pushes their IEEE 754 sum.
- daload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
daload, loading a double element from an array. - DALOAD - com.tonic.util.Opcode
-
Pops an array reference and an int index, and pushes the double element stored there.
- DALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the DALOAD instruction (0x31).
- DALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.DALoadInstruction
-
Constructs a DALOADInstruction.
- dastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dastore, storing a double element into an array. - DASTORE - com.tonic.util.Opcode
-
Pops an array reference, an int index and a double value, and stores the value at that index.
- DAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the DASTORE instruction (0x52).
- DAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.DAStoreInstruction
-
Constructs a DAStoreInstruction.
- DATA_ANTI - com.tonic.analysis.pdg.edge.PDGDependenceType
-
A write must stay ordered after an earlier read of the same location, so reordering would not clobber a value still in use.
- DATA_DEF - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links an instruction to the value it writes.
- DATA_DEF_USE - com.tonic.analysis.pdg.edge.PDGDependenceType
-
A read depends on the write that supplies the value it observes.
- DATA_OUTPUT - com.tonic.analysis.pdg.edge.PDGDependenceType
-
Two writes to the same location must keep their relative order, so the last one still wins.
- DATA_PHI - com.tonic.analysis.pdg.edge.PDGDependenceType
-
A read depends on a phi that merges definitions arriving from several predecessors.
- DATA_USE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links an instruction to a value it reads.
- DATABASE - com.tonic.analysis.cpg.taint.TaintType
-
Data read back out of a datastore, which may itself have been stored tainted.
- databaseQuery() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- dataDependencies() - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Follows incoming data-flow edges to the values this node depends on.
- dataEdge(PDGNode, PDGNode, SSAValue) - Static method in class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates a def-use data dependence edge.
- DataFlowEdge - Class in com.tonic.analysis.dataflow
-
An edge in the data flow graph connecting two nodes.
- DataFlowEdge(DataFlowNode, DataFlowNode, DataFlowEdgeType) - Constructor for class com.tonic.analysis.dataflow.DataFlowEdge
-
Creates an edge with no explicit label.
- DataFlowEdge(DataFlowNode, DataFlowNode, DataFlowEdgeType, String) - Constructor for class com.tonic.analysis.dataflow.DataFlowEdge
-
Creates a labeled edge.
- DataFlowEdgeType - Enum in com.tonic.analysis.dataflow
-
Types of edges in a data flow graph.
- DataFlowGraph - Class in com.tonic.analysis.dataflow
-
A data flow graph for a single method.
- DataFlowGraph(IRMethod) - Constructor for class com.tonic.analysis.dataflow.DataFlowGraph
-
Creates an empty graph for a method; call build() to populate it.
- dataFlowIn() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps backwards along data-flow edges to definition sources.
- DataFlowNode - Class in com.tonic.analysis.dataflow
-
A node in the data flow graph standing for a value or operation, with mutable taint state.
- DataFlowNode.Builder - Class in com.tonic.analysis.dataflow
-
Mutable accumulator for the immutable fields of a
DataFlowNode. - DataFlowNodeType - Enum in com.tonic.analysis.dataflow
-
Types of nodes in a data flow graph.
- dataFlowOnly() - Method in class com.tonic.analysis.graph.export.CPGDOTExporter
-
Restricts output to def, use and reaching-def edges plus containment.
- dataFlowOut() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps forwards along data-flow edges to dependent uses.
- dataLayout(String) - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.Builder
-
Sets the target datalayout emitted as a module header.
- dcmpg() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dcmpg, comparing two doubles and pushing 1 when either is NaN. - DCMPG - com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Compares two doubles, pushing 1 when either operand is NaN.
- DCMPG - com.tonic.analysis.ssa.ir.BinaryOp
-
Double comparison (greater on NaN).
- DCMPG - com.tonic.util.Opcode
-
Pops two doubles and pushes the int -1, 0 or 1 comparing them, pushing 1 when either operand is NaN.
- dcmpl() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dcmpl, comparing two doubles and pushing -1 when either is NaN. - DCMPL - com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Compares two doubles, pushing -1 when either operand is NaN.
- DCMPL - com.tonic.analysis.ssa.ir.BinaryOp
-
Double comparison (less on NaN).
- DCMPL - com.tonic.util.Opcode
-
Pops two doubles and pushes the int -1, 0 or 1 comparing them, pushing -1 when either operand is NaN.
- dconst(double) - Method in class com.tonic.builder.CodeBuilder
-
Appends a double constant push, using
dconst_0/dconst_1where possible. - DCONST_0 - com.tonic.util.Opcode
-
Pushes the double constant 0.0 onto the operand stack.
- DCONST_1 - com.tonic.util.Opcode
-
Pushes the double constant 1.0 onto the operand stack.
- DConstInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM DCONST_0 and DCONST_1 instructions.
- DConstInstruction(int, int, double) - Constructor for class com.tonic.analysis.instruction.DConstInstruction
-
Constructs a DConstInstruction.
- ddiv() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ddiv, dividing the top two double values. - DDIV - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Divides two doubles; a zero divisor yields infinity or NaN instead of throwing.
- DDIV - com.tonic.util.Opcode
-
Pops two doubles and pushes their IEEE 754 quotient; division by zero yields an infinity or NaN rather than an exception.
- DeadCodeElimination - Class in com.tonic.analysis.ssa.transform
-
Removes dead code (definitions with no uses).
- DeadCodeElimination() - Constructor for class com.tonic.analysis.ssa.transform.DeadCodeElimination
- DeadMethodElimination - Class in com.tonic.analysis.ssa.transform
-
Dead method elimination optimization.
- DeadMethodElimination() - Constructor for class com.tonic.analysis.ssa.transform.DeadMethodElimination
- DeadStoreEliminator - Class in com.tonic.analysis.source.ast.transform
-
Eliminates dead stores where a variable's initial value is never read.
- DeadStoreEliminator() - Constructor for class com.tonic.analysis.source.ast.transform.DeadStoreEliminator
- DeadVariableEliminator - Class in com.tonic.analysis.source.ast.transform
-
Removes unused variable declarations from the AST.
- DeadVariableEliminator() - Constructor for class com.tonic.analysis.source.ast.transform.DeadVariableEliminator
- debug() - Static method in class com.tonic.analysis.graph.print.GraphPrinterConfig
-
Builds a config that prints everything: debug verbosity, properties on, no label truncation and no node limit.
- debug() - Static method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- DEBUG - com.tonic.analysis.graph.print.Verbosity
-
Everything, including internal markers such as taint flags and the individual edges behind each statistics count.
- debugDescriptorAt(int, int) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
The LocalVariableTable type descriptor in scope for
slotat bytecodeoffset- the declared type of the variable there (e.g. - debugDescriptorAt(int, int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
The LocalVariableTable type descriptor a slot carries at a bytecode offset.
- debugDescriptorAtStore(int, int) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
As
NameRecoverer.debugNameAtStore(int, int)for the entry's descriptor. - debugDescriptorAtStore(int, int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
The LVT descriptor at the pc where a store takes effect.
- DebugEventListener - Interface in com.tonic.analysis.execution.debug
-
Observer of debug session lifecycle, breakpoint, step, and exception events; every callback defaults to a no-op.
- debugNameAt(int, int) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
The LocalVariableTable name in scope for
slotat bytecodeoffset- the entry whose[startPc, startPc + length)range contains the offset - or null when there is no debug info or no entry covers it. - debugNameAtStore(int, int) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
The LVT name for
slotat the pc where a STORE atstoreOffsettakes effect - the following instruction, which is where javac opens the variable's range. - debugNameForSlot(int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
The recovered debug name a slot carries.
- DebugSession - Class in com.tonic.analysis.execution.debug
-
Interactive stepping debugger over a
BytecodeEngine, driving breakpoints, step modes, and state snapshots for listeners. - DebugSession(BytecodeContext) - Constructor for class com.tonic.analysis.execution.debug.DebugSession
-
Creates an idle session with a fresh breakpoint manager.
- DebugSession(BytecodeContext, BreakpointManager) - Constructor for class com.tonic.analysis.execution.debug.DebugSession
-
Creates an idle session using the given breakpoint manager.
- DebugSessionState - Enum in com.tonic.analysis.execution.debug
-
Lifecycle state of a debug session: not yet started, executing, suspended at a breakpoint, or finished.
- DebugState - Class in com.tonic.analysis.execution.debug
-
Immutable snapshot of an interpreter's position, call stack and frame contents at one moment.
- DebugState.Builder - Class in com.tonic.analysis.execution.debug
-
Mutable accumulator for the fields of a
DebugState. - DebugState.Status - Enum in com.tonic.analysis.execution.debug
-
Lifecycle state of the interpreted run.
- DeclarationHoister - Class in com.tonic.analysis.source.ast.transform
-
Moves variable declarations closer to their first use.
- DeclarationHoister() - Constructor for class com.tonic.analysis.source.ast.transform.DeclarationHoister
- declaredType(Subject.CallSubject, int) - Static method in class com.tonic.analysis.query.eval.ArgValueResolver
-
Reads the declared parameter descriptor out of the call's method descriptor.
- declaredTypeOf(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
The DECLARED type of a live source local.
- declareLocal(String, IRType, boolean) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Declares a source-level local, parameter or receiver with its declared type.
- declareLocal(String, IRType, boolean, String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
As
LoweringContext.declareLocal(String, IRType, boolean)with the declared type's generic signature. - decodeSwitch(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Decodes
switchBlockinto a structuring-readySwitchDescriptor- selector, merge, ordered cases and labels - without recovering case bodies or marking any block, so the reaching-condition engine can structure the cases itself. - decodeSwitch(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- decodeTryNode(IRBlock, Set<IRBlock>) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Statically decodes the try starting at
blockinto an opaqueTryNodeDescriptor- the blocks the try/catch recovery will consume and the single join it continues at - without recovering or marking anything. - decodeTryNode(IRBlock, Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- decompile() - Method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Decompiles the entire class.
- decompile(IndentingWriter) - Method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Decompiles the entire class to the given writer.
- decompile(ClassFile) - Static method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Decompiles a class with the default configuration.
- decompile(ClassFile, SourceEmitterConfig) - Static method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Decompiles a class with a custom emitter configuration.
- DecompilerConfig - Class in com.tonic.analysis.source.decompile
-
Configuration for the ClassDecompiler: source emission settings, the additional transform pipeline, and the name recovery strategy.
- DecompilerConfig.Builder - Class in com.tonic.analysis.source.decompile
-
Builder for DecompilerConfig.
- DecompileResult - Class in com.tonic.analysis.source.decompile
-
Decompiled source plus per-method bytecode-offset provenance.
- DecompileResult.MemberSpan - Class in com.tonic.analysis.source.decompile
-
The 1-based first/last line of a member's full text in the decompiled source - annotations and signature through the closing brace.
- DecompileResult.MethodSpan - Class in com.tonic.analysis.source.decompile
-
A
DecompileResult.MemberSpanfor a method or constructor. - decompileWithLineMap() - Method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Decompiles the class and additionally collects, per method, a map from bytecode offset to the 1-based output line of the statement recovered from that offset.
- dedent() - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Decreases the indentation level, never going below zero.
- dedup() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Removes duplicate nodes from the result.
- deepClone() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Creates a deep clone of this node and its entire subtree.
- deepClone(T) - Static method in class com.tonic.analysis.source.ast.ASTMutations
-
Copies a node and its whole subtree, leaving the copy parentless as the root of a new tree.
- DEF_USE - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value flowing straight from the instruction that defines it to an instruction that reads it.
- DEFAULT - com.tonic.analysis.source.ast.decl.Modifier
-
A default interface method body; source-only, with no access flag bit, so decoding flags never yields it.
- DEFAULT - com.tonic.analysis.source.parser.TokenType
-
The fall-through label of a switch, the modifier for an interface method carrying a body, and the marker before an annotation element's default value.
- DEFAULT - Static variable in class com.tonic.analysis.query.ast.RunSpec
- DefaultAttributes - Class in com.tonic.analysis.query.eval
-
Registers the static (bytecode-level) query vocabulary.
- defaultCase(List<Statement>) - Static method in class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Creates a default case.
- defaultEdgeStyle(DOTExporterConfig.EdgeStyle) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the style applied to edges that carry no style of their own.
- defaultNodeStyle(DOTExporterConfig.NodeStyle) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the style applied to nodes that carry no style of their own.
- defaults() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig
- defaults() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle
- defaults() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle
- defaults() - Static method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- defaults() - Static method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Creates a default configuration.
- defaults() - Static method in class com.tonic.analysis.simulation.core.SimulationContext
-
Creates a context with default settings and no class pool.
- defaults() - Static method in class com.tonic.analysis.source.decompile.DecompilerConfig
- defaults() - Static method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- defaults() - Static method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
-
Creates the default preset: no target header, raw LLVM arithmetic, computational subset only.
- defaults() - Static method in class com.tonic.analysis.verifier.VerifierConfig
-
Creates the default configuration: all passes on, COLLECT_ALL, up to 100 errors.
- defineLabel(String) - Method in class com.tonic.analysis.Bytecode
-
Defines a label at the current end of the bytecode.
- DEFINITELY_NOT_NULL - com.tonic.analysis.simulation.state.SimValue.NullState
-
The value is non-null on every path, as for a fresh allocation.
- DEFINITELY_NULL - com.tonic.analysis.simulation.state.SimValue.NullState
-
The value is null on every path reaching this point, as for a simulated null constant.
- definitelyEscapes(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
- definitelyNotNull() - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Marks the value as non-null.
- definitelyNull() - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Marks the value as null, dropping any allocation site.
- defUse() - Method in class com.tonic.analysis.query.eval.EvalContext
- DefUseChains - Class in com.tonic.analysis.ssa.analysis
-
Def-use chains mapping each SSA value to its defining instruction and its uses.
- DefUseChains(IRMethod) - Constructor for class com.tonic.analysis.ssa.analysis.DefUseChains
-
Creates empty chains for the given method.
- delegated() - Static method in class com.tonic.analysis.execution.invoke.InvocationResult
-
Creates a result marking the call as handed off to an external executor.
- DELEGATED - com.tonic.analysis.execution.core.ExecutionMode
-
Callees are not entered; each invocation yields the default value for its return type.
- DELEGATED - com.tonic.analysis.execution.invoke.InvocationResult.Status
-
An external executor took the call over, so this result carries no value or frame.
- DelegatingHandler - Class in com.tonic.analysis.execution.invoke
-
Invocation handler that routes every call through a user-supplied callback, converting thrown Java exceptions into guest heap exceptions.
- DelegatingHandler(DelegatingHandler.InvocationCallback) - Constructor for class com.tonic.analysis.execution.invoke.DelegatingHandler
-
Creates a handler that forwards invocations to the given callback.
- DelegatingHandler.InvocationCallback - Interface in com.tonic.analysis.execution.invoke
-
Callback that performs a delegated method invocation and returns its concrete result.
- Dependency - Class in com.tonic.analysis.dependency
-
A directed dependency edge from one class to another, tagged with its kind.
- Dependency(String, String, DependencyType) - Constructor for class com.tonic.analysis.dependency.Dependency
-
Creates a dependency edge.
- DependencyAnalyzer - Class in com.tonic.analysis.dependency
-
Analyzes class dependencies by scanning constant pools.
- DependencyAnalyzer(ClassPool) - Constructor for class com.tonic.analysis.dependency.DependencyAnalyzer
-
Creates a new DependencyAnalyzer and analyzes the given ClassPool.
- DependencyNode - Class in com.tonic.analysis.dependency
-
A dependency-graph node for a single class, tracking its incoming and outgoing dependency edges.
- DependencyNode(String, ClassFile) - Constructor for class com.tonic.analysis.dependency.DependencyNode
-
Creates a node for the given class.
- DependencyType - Enum in com.tonic.analysis.dependency
-
Types of dependencies between classes.
- dependsOn(String, String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Checks for a direct dependency edge between two classes.
- deprecated() - Method in class com.tonic.builder.FieldBuilder
-
Marks the field for a Deprecated attribute.
- DeprecatedAttribute - Class in com.tonic.parser.attribute
-
The Deprecated attribute: a zero-length marker that the element is deprecated.
- DeprecatedAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.DeprecatedAttribute
-
Creates the attribute shell for parsing, attached to a class.
- DeprecatedAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.DeprecatedAttribute
-
Creates the attribute shell for parsing, attached to a member.
- depth() - Method in class com.tonic.analysis.execution.debug.StackSnapshot
- depth() - Method in class com.tonic.analysis.execution.frame.CallStack
- depth() - Method in class com.tonic.analysis.execution.state.ConcreteStack
- depth() - Method in class com.tonic.analysis.simulation.state.CallStackState
- depth() - Method in class com.tonic.analysis.simulation.state.StackState
- DEPTH_LIMIT - com.tonic.analysis.execution.core.BytecodeResult.Status
-
The run exceeded the maximum call depth, meaning recursion or nesting ran away.
- DepthChange(IRInstruction, int, StackOperationListener.DepthChange.Type) - Constructor for class com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange
- depthLimit(int) - Static method in class com.tonic.analysis.execution.core.BytecodeResult
-
Creates a result for an execution aborted by the call depth limit.
- desc(String) - Static method in class com.tonic.analysis.query.ast.OrderBy
-
Creates a descending ordering.
- DESC - com.tonic.analysis.query.parser.Token.TokenType
-
The word
desc, a descending sort direction. - description(String) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
- descriptor() - Method in class com.tonic.analysis.query.eval.EvidenceCollector.Hit
- descriptor() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- descriptor() - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- descriptor() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- descriptor(String) - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Sets the hook method descriptor.
- descriptorOf(ParameterDecl) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Builds the descriptor of a declared parameter.
- descriptorOf(SourceType) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Builds the JVM descriptor for a source type, erasing generics and resolving reference names through the imports and the pool.
- descriptorOfMethod(String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Looks up the descriptor of a directly declared method, used to recover the specific parameter types that a lambda's untyped
x ->source form drops. - DescriptorParser - Class in com.tonic.parser.util
-
Static helpers for reading and building JVM field and method descriptors.
- DescriptorParser.ParseResult - Class in com.tonic.parser.util
-
One parsed type together with the number of descriptor characters it spans.
- descriptorPattern(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- descriptorPattern(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- DescriptorRemapper - Class in com.tonic.renamer.descriptor
-
Remaps class references within method and field descriptors.
- DescriptorRemapper(Function<String, String>) - Constructor for class com.tonic.renamer.descriptor.DescriptorRemapper
-
Creates a remapper with the given class name mapping function.
- DescriptorRemapper(Map<String, String>) - Constructor for class com.tonic.renamer.descriptor.DescriptorRemapper
-
Creates a remapper from a class mapping map.
- DescriptorUtil - Class in com.tonic.util
-
Utility class for JVM descriptor parsing and manipulation.
- DescriptorUtil.DescriptorCategory - Enum in com.tonic.util
-
Descriptor categories for JVM types.
- DESERIALIZATION - com.tonic.analysis.cpg.taint.TaintType
-
Data reconstructed from a serialized byte stream, so its type and contents are attacker-controlled.
- deserializationSink() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- desugaredSelector() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
- detached() - Static method in class com.tonic.builder.CodeBuilder
-
Creates a standalone builder for authoring a detached instruction snippet, independent of the
ClassBuilder/MethodBuilderchain. - DETAILED - com.tonic.analysis.fingerprint.FingerprintLevel
-
Opcode-bigram, CFG edge and terminator histograms plus dominance depth.
- determineTypeSlots(String) - Static method in class com.tonic.parser.constpool.structure.InvokeParameterUtil
-
Determines the number of slots based on the return type.
- directed(boolean) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Selects a digraph with arrow edges or a plain graph with undirected edges.
- disableAll() - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Disables every registered breakpoint.
- disableBreakpoint(String) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Disables the breakpoint with the given key, if present.
- DisassemblyOptions - Class in com.tonic.analysis
-
Immutable flag set selecting which enrichments
CodePrinteradds to a method disassembly, built fromDisassemblyOptions.terse()orDisassemblyOptions.verbose()and refined with thewith*copies. - dispatch(StackFrame, DispatchContext) - Method in class com.tonic.analysis.execution.dispatch.OpcodeDispatcher
-
Executes the frame's current instruction, mutating its stack, locals, and PC.
- DispatchContext - Interface in com.tonic.analysis.execution.dispatch
-
Runtime services the opcode dispatcher relies on: constant resolution, heap checks, and pending-operation handoff to the interpreter.
- DispatchResult - Enum in com.tonic.analysis.execution.dispatch
-
Outcome of dispatching a single instruction, directing the interpreter's next action.
- div(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a division node typed from the left operand.
- DIV - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Division,
/, truncating toward zero on integral operands. - DIV - com.tonic.analysis.ssa.ir.BinaryOp
-
Division.
- DIV_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Divide and assign,
/=. - divide(Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a division expression.
- dload(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a double load from a local slot.
- DLOAD - com.tonic.util.Opcode
-
Loads a double from the local variable at the given index onto the operand stack.
- DLOAD - Static variable in interface com.tonic.type.AccessFlags
- DLOAD_0 - com.tonic.util.Opcode
-
Loads the double in local variable 0 onto the operand stack.
- DLOAD_1 - com.tonic.util.Opcode
-
Loads the double in local variable 1 onto the operand stack.
- DLOAD_2 - com.tonic.util.Opcode
-
Loads the double in local variable 2 onto the operand stack.
- DLOAD_3 - com.tonic.util.Opcode
-
Loads the double in local variable 3 onto the operand stack.
- DLoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM DLOAD instruction.
- DLoadInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.DLoadInstruction
-
Constructs a DLoadInstruction.
- dmul() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dmul, multiplying the top two double values. - DMUL - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Multiplies two doubles, rounding to the nearest representable double.
- DMUL - com.tonic.util.Opcode
-
Pops two doubles and pushes their IEEE 754 product.
- dneg() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dneg, negating the top double value. - DNEG - com.tonic.util.Opcode
-
Pops a double and pushes it with its sign bit flipped, which also negates zeros and NaN.
- DNegInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM DNEG instruction.
- DNegInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.DNegInstruction
-
Constructs a DNegInstruction.
- DO - com.tonic.analysis.source.parser.TokenType
-
Introduces a do-while loop, whose body runs once before the condition is first tested.
- DO_WHILE_LOOP - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A loop whose test sits at the latch, so the body always runs once.
- dominates(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Checks if block a dominates block b.
- DominatorTree - Class in com.tonic.analysis.ssa.analysis
-
Dominator tree and dominance frontiers for a method's CFG.
- DominatorTree(IRMethod) - Constructor for class com.tonic.analysis.ssa.analysis.DominatorTree
-
Creates an empty tree for the given method.
- DOT - com.tonic.analysis.query.parser.Token.TokenType
-
The character
., separating accessor steps; a doubled pair forms the sequence gap. - DOT - com.tonic.analysis.source.parser.TokenType
-
Member access, and the separator inside qualified names and imports.
- DOTExporter<T> - Class in com.tonic.analysis.graph.export
-
Base for graph-to-DOT exporters, supplying the shared node, edge, cluster and label-escaping emitters driven by a
DOTExporterConfig. - DOTExporterConfig - Class in com.tonic.analysis.graph.export
-
Immutable rendering settings for a
DOTExporter- layout, fonts, label truncation and the default node and edge styles. - DOTExporterConfig.Builder - Class in com.tonic.analysis.graph.export
-
Mutable accumulator for the exporter settings.
- DOTExporterConfig.EdgeStyle - Class in com.tonic.analysis.graph.export
-
Colour, line style and arrow head applied to a DOT edge.
- DOTExporterConfig.EdgeStyle.Builder - Class in com.tonic.analysis.graph.export
-
Mutable accumulator for an edge style.
- DOTExporterConfig.NodeStyle - Class in com.tonic.analysis.graph.export
-
Shape and colour attributes applied to a DOT node.
- DOTExporterConfig.NodeStyle.Builder - Class in com.tonic.analysis.graph.export
-
Mutable accumulator for a node style.
- DOUBLE - com.tonic.analysis.execution.state.ValueTag
-
A 64-bit floating point value occupying two slots.
- DOUBLE - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Doubleentry, occupying two stack words. - DOUBLE - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
doublekeyword; 64-bit IEEE 754, two slots wide. - DOUBLE - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a 64-bit IEEE 754 floating point value.
- DOUBLE - com.tonic.analysis.ssa.type.PrimitiveType
-
64-bit floating point, descriptor
D, occupying two local or stack slots. - DOUBLE - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
D, two slots wide. - DOUBLE - Static variable in class com.tonic.analysis.frame.VerificationType
- DOUBLE - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- DOUBLE - Static variable in class com.tonic.parser.util.TypeInfo
- DOUBLE - Static variable in class com.tonic.type.TypeDescriptor
- DOUBLE - Static variable in class com.tonic.util.CommonTypes
- DOUBLE_COLON - com.tonic.analysis.source.parser.TokenType
-
Introduces a method or constructor reference.
- DOUBLE_LITERAL - com.tonic.analysis.source.parser.TokenType
-
A numeric literal with a decimal point, an exponent, or a d suffix.
- DOUBLE_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- doubleArray(String, double...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a double-array element.
- DoubleConstant - Class in com.tonic.analysis.ssa.value
-
Represents a double constant.
- DoubleConstant(double) - Constructor for class com.tonic.analysis.ssa.value.DoubleConstant
-
Creates a double constant with the given value.
- DoubleItem - Class in com.tonic.parser.constpool
-
A CONSTANT_Double entry in the constant pool.
- DoubleItem() - Constructor for class com.tonic.parser.constpool.DoubleItem
- doubleLit(double) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a double literal node.
- doubleLiteral(double) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a double literal.
- doubleValue() - Method in class com.tonic.analysis.source.parser.Token
-
Reads the literal value as a double, converting any numeric value.
- doubleValue(double) - Static method in class com.tonic.analysis.execution.state.ConcreteValue
-
Creates a DOUBLE value, storing its raw bit pattern so NaN payloads survive.
- doWhile(Statement, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a do-while loop node.
- doWhileStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches do-while statements.
- DoWhileStmt - Class in com.tonic.analysis.source.ast.stmt
-
A do-while loop with an optional label; the body executes before the condition is tested.
- DoWhileStmt(Statement, Expression) - Constructor for class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Creates an unlabeled do-while loop with an unknown location.
- DoWhileStmt(Statement, Expression, String) - Constructor for class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Creates a do-while loop with an unknown location.
- DoWhileStmt(Statement, Expression, String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Creates a do-while loop and parents the body and condition to it.
- drainPendingArrayConstructors() - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Empties the array-constructor queue.
- drainPendingLambdas() - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Empties the lambda queue.
- drem() - Method in class com.tonic.builder.CodeBuilder
-
Appends
drem, taking the remainder of the top two double values. - DREM - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Double remainder, taking the sign of the dividend; a zero divisor yields NaN.
- DREM - com.tonic.util.Opcode
-
Pops two doubles and pushes the remainder of a truncating division, taking the sign of the dividend.
- dreturn() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dreturn, returning a double. - DRETURN - com.tonic.util.Opcode
-
Pops a double and returns it to the caller, discarding the rest of the frame.
- DRETURN - com.tonic.util.ReturnType
-
Double return instruction.
- DRETURN - Static variable in interface com.tonic.type.AccessFlags
- dropSameSlotOverlaps(List<LocalVariableTableEntry>) - Static method in class com.tonic.parser.attribute.table.LvtSupport
-
Drops any same-slot entry whose scope overlaps an already-kept one (keeps the earlier entry).
- dstore(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a double store to a local slot.
- DSTORE - com.tonic.util.Opcode
-
Pops a double and stores it in the local variable at the given index.
- DSTORE - Static variable in interface com.tonic.type.AccessFlags
- DSTORE_0 - com.tonic.util.Opcode
-
Pops a double and stores it in local variable 0.
- DSTORE_1 - com.tonic.util.Opcode
-
Pops a double and stores it in local variable 1.
- DSTORE_2 - com.tonic.util.Opcode
-
Pops a double and stores it in local variable 2.
- DSTORE_3 - com.tonic.util.Opcode
-
Pops a double and stores it in local variable 3.
- DStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM DSTORE instruction.
- DStoreInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.DStoreInstruction
-
Constructs a DStoreInstruction.
- dsub() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dsub, subtracting the top two double values. - DSUB - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Subtracts the topmost double from the one beneath it.
- DSUB - com.tonic.util.Opcode
-
Pops two doubles and pushes the lower one minus the upper one.
- dup() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Duplicates the top value.
- dup() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Duplicate top stack value (dup).
- dup() - Method in class com.tonic.analysis.simulation.state.StackState
-
Pushes a copy of the top slot (dup).
- dup() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dup, duplicating the top one-slot value. - DUP - com.tonic.analysis.instruction.DupInstruction.DupType
-
Copies the top one-word value and pushes the copy on top of it.
- DUP - com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange.Type
- DUP - com.tonic.util.Opcode
-
Duplicates the top value of the operand stack; the value must not be a long or double.
- dup_x1() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dup_x1, duplicating the top value one slot down. - DUP_X1 - com.tonic.analysis.instruction.DupInstruction.DupType
-
Copies the top one-word value and inserts it beneath the one word below.
- DUP_X1 - com.tonic.util.Opcode
-
Duplicates the top one-word value and inserts the copy beneath the value below it.
- dup_x2() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dup_x2, duplicating the top value two slots down. - DUP_X2 - com.tonic.analysis.instruction.DupInstruction.DupType
-
Copies the top one-word value and inserts it beneath the two words below, as used to stash an array reference under a long index or value.
- DUP_X2 - com.tonic.util.Opcode
-
Duplicates the top one-word value and inserts the copy beneath the next two one-word values, or beneath a single long or double.
- dup2() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Duplicates the top two slots: one wide value or two narrow values.
- dup2() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Duplicate top two values (dup2).
- dup2() - Method in class com.tonic.analysis.simulation.state.StackState
-
Pushes a copy of the top two slots (dup2).
- dup2() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dup2, duplicating the top two slots. - DUP2 - com.tonic.analysis.instruction.DupInstruction.DupType
-
Copies the top two words, which is either one long or double or a pair of one-word values.
- DUP2 - com.tonic.util.Opcode
-
Duplicates either the top two one-word values or a single long or double.
- dup2_x1() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dup2_x1, duplicating the top two slots one slot down. - DUP2_X1 - com.tonic.analysis.instruction.DupInstruction.DupType
-
Copies the top two words and inserts them beneath the one word below.
- DUP2_X1 - com.tonic.util.Opcode
-
Duplicates the top one or two words and inserts the copy beneath the one-word value below them.
- dup2_x2() - Method in class com.tonic.builder.CodeBuilder
-
Appends
dup2_x2, duplicating the top two slots two slots down. - DUP2_X2 - com.tonic.analysis.instruction.DupInstruction.DupType
-
Copies the top two words and inserts them beneath the two words below.
- DUP2_X2 - com.tonic.util.Opcode
-
Duplicates the top one or two words and inserts the copy beneath the two words below them.
- dup2X1() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Duplicates the top two values beneath the third value.
- dup2X1() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Duplicate two with insertion (dup2_x1).
- dup2X1() - Method in class com.tonic.analysis.simulation.state.StackState
-
Duplicates the top two slots and inserts the copies below the third (dup2_x1).
- dup2X2() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Duplicates the top two values beneath the fourth value.
- dup2X2() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Duplicate two with insertion (dup2_x2).
- dup2X2() - Method in class com.tonic.analysis.simulation.state.StackState
-
Duplicates the top two slots and inserts the copies below the fourth (dup2_x2).
- DupInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM DUP instruction and its variants.
- DupInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.DupInstruction
-
Constructs a DupInstruction.
- DupInstruction.DupType - Enum in com.tonic.analysis.instruction
-
The stack-duplication variants (DUP through DUP2_X2), each pairing a JVM opcode with its mnemonic.
- DuplicateBlockMerging - Class in com.tonic.analysis.ssa.transform
-
Merges duplicate blocks created by node splitting while preserving reducibility.
- DuplicateBlockMerging() - Constructor for class com.tonic.analysis.ssa.transform.DuplicateBlockMerging
-
Creates the pass in conservative mode.
- DuplicateBlockMerging(boolean) - Constructor for class com.tonic.analysis.ssa.transform.DuplicateBlockMerging
-
Creates the pass.
- dupX1() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Duplicates the top value beneath the second value.
- dupX1() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Duplicate with insertion (dup_x1).
- dupX1() - Method in class com.tonic.analysis.simulation.state.StackState
-
Duplicates the top slot and inserts the copy below the second (dup_x1).
- dupX2() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Duplicates the top value beneath the third value.
- dupX2() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Duplicate with insertion (dup_x2).
- dupX2() - Method in class com.tonic.analysis.simulation.state.StackState
-
Duplicates the top slot and inserts the copy below the third (dup_x2).
- DURING - com.tonic.analysis.query.parser.Token.TokenType
-
The word
during, introducing an execution-time scope rather than a static one. - DuringScope - Class in com.tonic.analysis.query.ast
-
Scope limited to events during execution of specific methods.
- DuringScope(String, boolean, ClassScope) - Constructor for class com.tonic.analysis.query.ast.DuringScope
-
Creates a during scope.
- DYNAMIC - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Dynamicentry, whose value and stack width are decided by its bootstrap method and descriptor. - DYNAMIC - com.tonic.analysis.query.ast.ArgumentType
-
Anything computed at run time; as an expectation it accepts FIELD, LOCAL and CALL.
- DYNAMIC - com.tonic.analysis.query.eval.SubjectKind
-
An invokedynamic call site or dynamic constant, carrying its resolved bootstrap.
- DYNAMIC - com.tonic.analysis.ssa.ir.InvokeType
-
Dynamic method invocation (invokedynamic).
- dynamicCall() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches invokedynamic calls.
- DynamicConstant - Class in com.tonic.analysis.ssa.value
-
Represents a dynamic constant loaded via ldc (condy).
- DynamicConstant(String, String, int, int) - Constructor for class com.tonic.analysis.ssa.value.DynamicConstant
-
Creates a dynamic constant.
- DynamicConstantExpr - Class in com.tonic.analysis.source.ast.expr
-
A dynamic constant (condy, Java 11+) whose bootstrap method was not a recognized pattern, preserving the bootstrap information for display.
- DynamicConstantExpr(String, String, int, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
-
Creates a dynamic constant with unknown bootstrap owner, name, and descriptor.
- DynamicConstantExpr(String, String, int, String, String, String, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
-
Creates a dynamic constant with full bootstrap information; null arguments fall back to placeholders.
- DynamicSubject(Bootstraps.BootstrapRef, String, String, String, Instruction, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.DynamicSubject
-
Binds the cursor to an invokedynamic or dynamic-constant site.
E
- edgeCount() - Method in class com.tonic.analysis.callgraph.CallGraph
-
Returns the number of call edges in the graph.
- edgeCount() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Sums the outgoing dependency edges over every node.
- edges(CPGEdgeType) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Streams all edges of the given edge type.
- EdgeType - Enum in com.tonic.analysis.ssa.cfg
-
Types of edges in the control flow graph.
- EditorContext - Class in com.tonic.analysis.source.editor
-
Traversal context handed to AST editor handlers.
- EditorContext(BlockStmt, String, String, String) - Constructor for class com.tonic.analysis.source.editor.EditorContext
-
Creates a context for editing the given method body.
- Element(Condition, int, int) - Constructor for class com.tonic.analysis.query.ast.Condition.Sequence.Element
-
Creates a pattern element with explicit repetition bounds.
- elements() - Method in class com.tonic.analysis.query.ast.Condition.Sequence
- ElementValue - Class in com.tonic.parser.attribute.annotation
-
An annotation element value: a tag character and its tag-dependent payload.
- ElementValue(int, Object) - Constructor for class com.tonic.parser.attribute.annotation.ElementValue
-
Creates an element value.
- ElementValuePair - Class in com.tonic.parser.attribute.annotation
-
An annotation element-value pair: the element name and its value.
- ElementValuePair(int, String, ElementValue) - Constructor for class com.tonic.parser.attribute.annotation.ElementValuePair
-
Creates an element-value pair.
- eliminate(IRMethod) - Method in class com.tonic.analysis.ssa.lower.PhiEliminator
-
Splits critical edges, keeps the phis that can stay stack-resident, materializes the rest as predecessor copies and then removes every phi from the method.
- ELLIPSIS - com.tonic.analysis.source.parser.TokenType
-
Marks the last parameter of a method as varargs.
- ELSE - com.tonic.analysis.source.parser.TokenType
-
The alternative branch of an if statement.
- emit() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
-
Emits bytecode for the IR method.
- emit(CompilationUnit) - Static method in class com.tonic.analysis.source.emit.SourceEmitter
-
Emits a compilation unit to source text with the default configuration.
- emit(CompilationUnit, SourceEmitterConfig) - Static method in class com.tonic.analysis.source.emit.SourceEmitter
-
Emits a compilation unit to source text.
- emit(Expression) - Static method in class com.tonic.analysis.source.emit.SourceEmitter
-
Emits an expression to source text with the default configuration.
- emit(Statement) - Static method in class com.tonic.analysis.source.emit.SourceEmitter
-
Emits a statement to source text with the default configuration.
- emit(Statement, SourceEmitterConfig) - Static method in class com.tonic.analysis.source.emit.SourceEmitter
-
Emits a statement to source text.
- emitDivisionGuards(boolean) - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.Builder
-
Sets whether JVM-faithful guards are emitted around integer division.
- emitterConfig(SourceEmitterConfig) - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Sets the source emitter configuration.
- empty() - Static method in class com.tonic.analysis.frame.TypeState
-
Creates an empty TypeState with no locals and empty stack.
- empty() - Static method in class com.tonic.analysis.simulation.core.SimulationState
-
Create an initial empty state.
- empty() - Static method in class com.tonic.analysis.simulation.metrics.AccessMetrics
-
Creates metrics with every count at zero.
- empty() - Static method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
-
Creates metrics with no recorded allocations.
- empty() - Static method in class com.tonic.analysis.simulation.metrics.CallMetrics
- empty() - Static method in class com.tonic.analysis.simulation.metrics.PathMetrics
- empty() - Static method in class com.tonic.analysis.simulation.metrics.StackMetrics
-
Creates metrics with every count at zero.
- empty() - Static method in class com.tonic.analysis.simulation.state.CallStackState
- empty() - Static method in class com.tonic.analysis.simulation.state.LocalState
-
Creates a state with no slots written.
- empty() - Static method in class com.tonic.analysis.simulation.state.StackState
- empty(ASTNode) - Static method in class com.tonic.analysis.source.ast.NodeList
-
Creates an empty list attached to an owner.
- EMPTY - Static variable in class com.tonic.analysis.ssa.transform.ValueRange
- enableAll() - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Enables every registered breakpoint.
- enableBreakpoint(String) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Enables the breakpoint with the given key, if present.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets whether the hook is active.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets whether the hook is active.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets whether the hook is active.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets whether the hook is active.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether the hook is applied at all.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the hook is applied at all.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets whether the hook is applied at all; defaults to true.
- enabled(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether the hook is applied at all.
- EnclosingMethodAttribute - Class in com.tonic.parser.attribute
-
The EnclosingMethod attribute: the class and method enclosing a local or anonymous class.
- EnclosingMethodAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.EnclosingMethodAttribute
-
Creates the attribute shell for parsing, attached to a class.
- EnclosingMethodAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.EnclosingMethodAttribute
-
Creates the attribute shell for parsing, attached to a member.
- end() - Method in class com.tonic.builder.AnnotationBuilder
- end() - Method in class com.tonic.builder.CodeBuilder
-
Ends the body and hands back to the enclosing method builder.
- end() - Method in class com.tonic.builder.FieldBuilder
- end() - Method in class com.tonic.builder.MethodBuilder
-
Closes this method.
- endingWith(String) - Static method in class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a filter matching methods ending with a suffix.
- ENDS_WITH - com.tonic.analysis.query.value.Operator
-
String suffix test; false unless both operands are strings.
- endsWithReturn() - Method in class com.tonic.analysis.Bytecode
-
Checks if the bytecode ends with a return instruction.
- endsWithReturn() - Method in class com.tonic.analysis.CodeWriter
-
Checks if the bytecode ends with a return instruction.
- ensureClassInitialized(String) - Method in class com.tonic.analysis.execution.core.BytecodeEngine
-
Runs the static initializer of the named class (and its superclasses) at most once, on a fresh engine sharing this engine's initialized-class set.
- enterCall() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Enter a method call (increment call depth).
- enterConditional() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Records entry into a conditional.
- enterLoop() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Records entry into a loop.
- enterTry() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Records entry into a try block.
- entry(ConstPool, int, String, String, int, int) - Static method in class com.tonic.parser.attribute.table.LvtSupport
-
Builds an entry, resolving the name + descriptor to UTF-8 constant-pool indices.
- ENTRY - com.tonic.analysis.pdg.node.PDGNodeType
-
The root every unconditionally executed node is control dependent on.
- ENUM - com.tonic.analysis.source.parser.TokenType
-
Introduces an enum declaration.
- ENUM - Static variable in class com.tonic.util.Modifiers
- enumArray(String, String, String...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds an enum-constant-array element with all constants from one enum type.
- EnumConst - Class in com.tonic.parser.attribute.annotation
-
An enum constant used as an annotation value: its type and constant name indices.
- EnumConst(ConstPool, int, int) - Constructor for class com.tonic.parser.attribute.annotation.EnumConst
-
Creates an enum constant reference.
- EnumConstantDecl - Class in com.tonic.analysis.source.ast.decl
-
A single enum constant, with optional constructor arguments and an optional class body of fields and methods.
- EnumConstantDecl(String) - Constructor for class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Creates an enum constant at an unknown location.
- EnumConstantDecl(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Creates an enum constant with no arguments or body.
- EnumConstants - Class in com.tonic.analysis.source.recovery
-
Resolves an enum's constants by ordinal and by name.
- EnumDecl - Class in com.tonic.analysis.source.ast.decl
-
A Java enum declaration: constants plus ordinary members (fields, methods, constructors, inner types).
- EnumDecl(String) - Constructor for class com.tonic.analysis.source.ast.decl.EnumDecl
-
Creates an empty enum declaration at an unknown location.
- EnumDecl(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.EnumDecl
-
Creates an empty enum declaration.
- EnumSwitchMapRegistry - Class in com.tonic.analysis.source.recovery
-
Process-wide store of recovered javac $SwitchMap$ tables, keyed by holder class and enum so two classes switching on the same enum keep separate numberings.
- EnumSwitchMapRegistry() - Constructor for class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
- enumValue(String, String, String) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds an enum-constant element.
- ENVIRONMENT - com.tonic.analysis.cpg.taint.TaintType
-
Data taken from environment variables or system properties.
- environmentVariable() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- EOF - com.tonic.analysis.query.parser.Token.TokenType
-
The end-of-input marker appended after the last real token.
- EOF - com.tonic.analysis.source.parser.TokenType
-
End of input; emitted once when the source is exhausted so the parser always has a terminator to stop on.
- eq(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean equality comparison node.
- EQ - com.tonic.analysis.query.parser.Token.TokenType
-
The operator
==; a single=is not accepted. - EQ - com.tonic.analysis.query.value.Operator
-
Equality within a value kind - type names compared in canonical form, numbers compared as doubles across int and real, and two nulls equal.
- EQ - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Equality test,
==; reference identity when the operands are references. - EQ - com.tonic.analysis.source.parser.TokenType
-
Plain assignment; the only assignment operator outside the compound range, so isAssignmentOperator tests it separately.
- EQ - com.tonic.analysis.ssa.ir.CompareOp
-
Equal.
- EQ_EQ - com.tonic.analysis.source.parser.TokenType
-
Equality test, which on reference operands compares identity rather than contents.
- EQUALITY - com.tonic.analysis.source.parser.Precedence
-
The level of
==and!=, binding looser than the ordering comparisons. - equals(Expression, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an equality comparison typed boolean.
- equals(Object) - Method in class com.tonic.analysis.callgraph.CallGraphNode
- equals(Object) - Method in class com.tonic.analysis.callgraph.CallSite
- equals(Object) - Method in class com.tonic.analysis.common.MethodReference
- equals(Object) - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- equals(Object) - Method in class com.tonic.analysis.cpg.node.CPGNode
- equals(Object) - Method in class com.tonic.analysis.cpg.taint.TaintPath
- equals(Object) - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- equals(Object) - Method in class com.tonic.analysis.dataflow.DataFlowNode
- equals(Object) - Method in class com.tonic.analysis.dependency.Dependency
- equals(Object) - Method in class com.tonic.analysis.dependency.DependencyNode
- equals(Object) - Method in class com.tonic.analysis.execution.debug.Breakpoint
- equals(Object) - Method in class com.tonic.analysis.execution.debug.StackFrameInfo
- equals(Object) - Method in class com.tonic.analysis.execution.debug.ValueInfo
- equals(Object) - Method in class com.tonic.analysis.execution.state.ConcreteValue
- equals(Object) - Method in class com.tonic.analysis.frame.TypeState
- equals(Object) - Method in class com.tonic.analysis.frame.VerificationType.ObjectType
- equals(Object) - Method in class com.tonic.analysis.frame.VerificationType.PrimitiveType
- equals(Object) - Method in class com.tonic.analysis.frame.VerificationType.UninitializedType
- equals(Object) - Method in class com.tonic.analysis.pattern.SearchResult
- equals(Object) - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- equals(Object) - Method in class com.tonic.analysis.pdg.node.PDGNode
- equals(Object) - Method in class com.tonic.analysis.query.ast.Accessor
- equals(Object) - Method in class com.tonic.analysis.query.ast.AllScope
- equals(Object) - Method in class com.tonic.analysis.query.ast.ClassScope
- equals(Object) - Method in class com.tonic.analysis.query.ast.DuringScope
- equals(Object) - Method in class com.tonic.analysis.query.ast.FindQuery
- equals(Object) - Method in class com.tonic.analysis.query.ast.MethodScope
- equals(Object) - Method in class com.tonic.analysis.query.ast.OrderBy
- equals(Object) - Method in class com.tonic.analysis.query.ast.RunSpec
- equals(Object) - Method in class com.tonic.analysis.query.ast.ShowQuery
- equals(Object) - Method in class com.tonic.analysis.query.ast.Step
- equals(Object) - Method in class com.tonic.analysis.query.exec.QueryService.QueryConfig
- equals(Object) - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- equals(Object) - Method in class com.tonic.analysis.query.parser.Token
- equals(Object) - Method in class com.tonic.analysis.query.planner.ProbePlan
- equals(Object) - Method in class com.tonic.analysis.query.planner.QueryTarget.ClassTarget
- equals(Object) - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- equals(Object) - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- equals(Object) - Method in class com.tonic.analysis.query.value.Value.IntValue
- equals(Object) - Method in class com.tonic.analysis.query.value.Value.RealValue
- equals(Object) - Method in class com.tonic.analysis.query.value.Value.StrValue
- equals(Object) - Method in class com.tonic.analysis.query.value.Value.TypeValue
- equals(Object) - Method in class com.tonic.analysis.simulation.core.SimulationState
- equals(Object) - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- equals(Object) - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- equals(Object) - Method in class com.tonic.analysis.simulation.heap.FieldKey
- equals(Object) - Method in class com.tonic.analysis.simulation.heap.SimArray
- equals(Object) - Method in class com.tonic.analysis.simulation.heap.SimObject
- equals(Object) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener.BlockTransition
- equals(Object) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- equals(Object) - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- equals(Object) - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- equals(Object) - Method in class com.tonic.analysis.simulation.state.CallStackState
- equals(Object) - Method in class com.tonic.analysis.simulation.state.LocalState
- equals(Object) - Method in class com.tonic.analysis.simulation.state.SimValue
- equals(Object) - Method in class com.tonic.analysis.simulation.state.StackState
- equals(Object) - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- equals(Object) - Method in class com.tonic.analysis.source.ast.SourceLocation
- equals(Object) - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- equals(Object) - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.VoidSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- equals(Object) - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- equals(Object) - Method in class com.tonic.analysis.source.parser.SourcePosition
- equals(Object) - Method in class com.tonic.analysis.source.parser.Token
- equals(Object) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext.FieldKey
- equals(Object) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Identity by
id. - equals(Object) - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
- equals(Object) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Identity by
id. - equals(Object) - Method in class com.tonic.analysis.ssa.transform.ValueRange
- equals(Object) - Method in class com.tonic.analysis.ssa.type.ArrayType
- equals(Object) - Method in class com.tonic.analysis.ssa.type.ReferenceType
- equals(Object) - Method in class com.tonic.analysis.ssa.value.ClassConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.DoubleConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.FloatConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.IntConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.LongConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.MethodTypeConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.NullConstant
- equals(Object) - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Identity by
id. - equals(Object) - Method in class com.tonic.analysis.ssa.value.StringConstant
- equals(Object) - Method in class com.tonic.analysis.typeinference.TypeSet
- equals(Object) - Method in class com.tonic.analysis.typeinference.TypeState
- equals(Object) - Method in class com.tonic.analysis.verifier.VerificationError
- equals(Object) - Method in class com.tonic.analysis.xref.FieldReference
- equals(Object) - Method in class com.tonic.analysis.xref.Xref
- equals(Object) - Method in class com.tonic.parser.util.TypeInfo
- equals(Object) - Method in class com.tonic.renamer.hierarchy.ClassNode
- equals(Object) - Method in class com.tonic.renamer.mapping.ClassMapping
- equals(Object) - Method in class com.tonic.renamer.mapping.FieldMapping
- equals(Object) - Method in class com.tonic.renamer.mapping.MethodMapping
- equals(Object) - Method in class com.tonic.type.MethodHandle
- equals(Object) - Method in class com.tonic.type.TypeDescriptor
- equalTo(long) - Static method in class com.tonic.analysis.ssa.transform.ValueRange
-
Builds the range satisfying x == val.
- equivalent(BoolFormula, BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Tests equality of the two canonical BDDs, ignoring the registered domains.
- equivalentGiven(BoolFormula, BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Tests equivalence restricted to the assignments the registered domains allow.
- error() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- error(ValidationError.Category, String, ASTNode) - Static method in class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates an error-severity issue.
- error(String) - Static method in class com.tonic.util.Logger
-
Logs an error message to standard error.
- ERROR - com.tonic.analysis.source.ast.validation.ValidationError.Severity
-
The tree is invalid and must not be used as it stands.
- ERROR - com.tonic.analysis.source.parser.TokenType
-
A sequence the lexer could not scan; the token's text is the diagnostic message rather than the offending source.
- ERROR - com.tonic.analysis.verifier.VerificationError.Severity
-
A finding that fails verification; also the severity applied when a caller passes none.
- ERROR - Static variable in class com.tonic.util.CommonTypes
- ErrorCollector - Interface in com.tonic.analysis.verifier
-
Sink for verification errors and warnings, with fail-fast and collect-all (capped) implementations.
- ErrorCollector.CollectAllCollector - Class in com.tonic.analysis.verifier
- ErrorCollector.FailFastCollector - Class in com.tonic.analysis.verifier
- errorCount() - Method in class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
- errorMode(VerifierConfig.ErrorMode) - Method in class com.tonic.analysis.verifier.Verifier.Builder
-
Sets the error mode, rebuilding the config to keep any other settings already chosen.
- errorMode(VerifierConfig.ErrorMode) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Sets the error mode, defaulting null to COLLECT_ALL.
- errors(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport.Builder
-
Sets the number of methods that failed to instrument.
- EscapeAnalyzer - Class in com.tonic.analysis.simulation.heap
-
Escape classifier for simulation heap allocation sites, driven by the heap's escape marks and reachability from them.
- EscapeAnalyzer(SimHeap) - Constructor for class com.tonic.analysis.simulation.heap.EscapeAnalyzer
-
Creates an analyzer over an existing heap; results reflect the heap's state at each query.
- EscapeAnalyzer.EscapeState - Enum in com.tonic.analysis.simulation.heap
-
How far an allocation escapes its allocating method.
- escapeToUnicode(String) - Method in class com.tonic.analysis.source.emit.IdentifierNormalizer
-
Escapes characters not valid in Java identifiers to unicode escape sequences.
- eval(Condition, Subject) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
-
Evaluates a condition against a subject, restoring the previously bound subject afterwards so nested evaluations can reenter.
- EVAL_TYPE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links an expression to the type it evaluates to.
- evalCanonical(BoolFormula, boolean[]) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Evaluates the canonical BDD layer by walking from its root to a terminal.
- EvalContext - Class in com.tonic.analysis.query.eval
-
Per-subject evaluation scope with lazy, cached views of a method so repeated accessors (every
arg(n),instructions,line) share one decode/analysis. - EvalContext(ClassFile, MethodEntry, EvidenceCollector) - Constructor for class com.tonic.analysis.query.eval.EvalContext
-
Creates a scope with no class hierarchy, leaving subtype checks unresolvable.
- EvalContext(ClassFile, MethodEntry, EvidenceCollector, Supplier<ClassHierarchy>) - Constructor for class com.tonic.analysis.query.eval.EvalContext
-
Creates a scope; all cached views start empty and are built on first use.
- evalSyntactic(BoolFormula, boolean[]) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Evaluates the syntactic NNF layer.
- EVENTS - com.tonic.analysis.query.ast.Target
-
Each row is a runtime event recorded while executing, written
events. - EVENTS - com.tonic.analysis.query.parser.Token.TokenType
-
The target word
events, making recorded runtime events the result rows. - evidence() - Method in class com.tonic.analysis.query.eval.EvalContext
- evidence(List<QueryMatch>) - Method in class com.tonic.analysis.query.planner.QueryMatch.Builder
-
Sets the nested matches that back this one.
- EvidenceCollector - Class in com.tonic.analysis.query.eval
-
Accumulates the bytecode locations that satisfied a query, so results stay navigable.
- EvidenceCollector() - Constructor for class com.tonic.analysis.query.eval.EvidenceCollector
- EvidenceCollector.Hit - Class in com.tonic.analysis.query.eval
-
A single matched location.
- exact(String) - Static method in class com.tonic.analysis.instrumentation.filter.ClassFilter
-
Creates a filter that matches a single class exactly.
- exact(String) - Static method in class com.tonic.analysis.query.ast.ClassScope
-
Creates a scope matching one exact class name.
- exact(String) - Static method in class com.tonic.analysis.query.ast.MethodScope
-
Creates a scope matching one exact method signature.
- EXACT_BYTECODE - com.tonic.analysis.similarity.SimilarityMetric
-
The strictest comparison: normalized instruction bytes must match exactly, at full weight.
- exactPackage(String) - Static method in class com.tonic.analysis.instrumentation.filter.PackageFilter
-
Creates a filter for one package, excluding its subpackages.
- exception(ObjectInstance) - Static method in class com.tonic.analysis.execution.invoke.InvocationResult
-
Creates a result for a call that raised a guest exception.
- exception(ObjectInstance, List<String>) - Static method in class com.tonic.analysis.execution.core.BytecodeResult
-
Creates a result for an execution that ended with an unhandled exception.
- EXCEPTION - com.tonic.analysis.dependency.DependencyType
-
Exception type (catch/throws)
- EXCEPTION - com.tonic.analysis.execution.core.BytecodeResult.Status
-
An exception escaped the method unhandled, and is carried along with a stack trace.
- EXCEPTION - com.tonic.analysis.execution.debug.DebugState.Status
-
Finished because an exception escaped unhandled.
- EXCEPTION - com.tonic.analysis.execution.invoke.InvocationResult.Status
-
The call raised a guest exception, which is carried instead of a return value.
- EXCEPTION - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The exception object (for exception hooks)
- EXCEPTION - com.tonic.analysis.ssa.cfg.EdgeType
-
Edge to an exception handler.
- EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- EXCEPTION_CATCH - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A handler was selected for a thrown exception, carrying the handler offset.
- EXCEPTION_HANDLER - com.tonic.analysis.instrumentation.InstrumentationTarget
-
In exception handlers
- EXCEPTION_HANDLER_OVERLAP - com.tonic.analysis.verifier.VerificationErrorType
-
Two handlers cover the same type over overlapping ranges, leaving the winner ambiguous.
- EXCEPTION_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Exception throw/catch notifications.
- EXCEPTION_THROW - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A method raised an exception, recorded before any handler search.
- exceptionCatch(String, String, int) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an exception-catch event.
- ExceptionHandler - Class in com.tonic.analysis.ssa.cfg
-
One exception-table entry: a protected try region and the block handling its catch type.
- ExceptionHandler(IRBlock, IRBlock, IRBlock, ReferenceType) - Constructor for class com.tonic.analysis.ssa.cfg.ExceptionHandler
-
Creates an exception handler.
- ExceptionHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for exception interception.
- ExceptionHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Fluent builder for
ExceptionHookinstances. - exceptions(String...) - Method in class com.tonic.builder.MethodBuilder
-
Adds types to the Exceptions attribute emitted for this method.
- ExceptionsAttribute - Class in com.tonic.parser.attribute
-
The Exceptions attribute: constant-pool indices of a method's declared thrown exceptions.
- ExceptionsAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.ExceptionsAttribute
-
Creates the attribute shell for parsing, attached to a class.
- ExceptionsAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.ExceptionsAttribute
-
Creates the attribute shell for parsing, attached to a member.
- ExceptionTableEntry - Class in com.tonic.parser.attribute.table
-
Represents an entry in the exception table of a Code attribute.
- ExceptionTableEntry(int, int, int, int) - Constructor for class com.tonic.parser.attribute.table.ExceptionTableEntry
-
Constructs an exception table entry.
- ExceptionTableVerifier - Class in com.tonic.analysis.verifier.controlflow
-
Verification pass over a method's exception table: range validity, handler targets, and overlaps.
- ExceptionTableVerifier(ClassFile) - Constructor for class com.tonic.analysis.verifier.controlflow.ExceptionTableVerifier
-
Creates the pass for one class.
- exceptionThrow(String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an exception-throw event.
- exceptionType(String) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets the exception type to intercept; null intercepts all types.
- exceptionTypes() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- execute(MethodEntry, ObjectInstance, ConcreteValue[], NativeContext) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Runs the registered handler for the given method.
- execute(MethodEntry, ConcreteValue...) - Method in class com.tonic.analysis.execution.core.BytecodeEngine
-
Runs the given method to completion, honoring the instruction budget, depth limit, and interrupt requests.
- execute(String, QueryService.QueryConfig, QueryBatchRunner.ProgressListener) - Method in class com.tonic.analysis.query.exec.QueryService
-
Parses, plans, and runs a query on the calling thread, timing the whole sequence.
- execute(String, String, String, ObjectInstance, ConcreteValue[], NativeContext) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Runs the registered handler for the identified method.
- EXECUTE - com.tonic.analysis.ssa.lower.StackScheduler.ScheduleType
-
An instruction carried over from the IR, emitted once its operands are on the stack.
- executeAsync(String, QueryService.QueryConfig, QueryBatchRunner.ProgressListener) - Method in class com.tonic.analysis.query.exec.QueryService
-
Runs a query on the service's worker thread; a parse failure completes the future with an error result rather than exceptionally.
- executeConcat(ConcreteValue[]) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Concatenates the stack arguments in order for a recipe-less call site.
- executeConcat(ConcreteValue[], String, Object[]) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Builds the concatenated string, expanding the recipe's argument and constant markers in order.
- Execution - Class in com.tonic.analysis.absexec
-
A path-exploring abstract interpreter over one method's bytecode that builds operand-stack/local def-use (
InsnContext/StackCtx/VarCtx) without an abstract value domain. - Execution(MethodEntry) - Constructor for class com.tonic.analysis.absexec.Execution
-
Builds an execution over the method's decoded instruction list.
- Execution(MethodEntry, List<Instruction>) - Constructor for class com.tonic.analysis.absexec.Execution
-
Builds an execution over a caller-provided instruction list.
- EXECUTION_END - com.tonic.analysis.execution.listener.TraceEvent.Type
-
The interpreter finished a run; the last event in any trace.
- EXECUTION_START - com.tonic.analysis.execution.listener.TraceEvent.Type
-
The interpreter began a run, carrying the entry-point signature; the first event in any trace.
- executionEnd(String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an execution-end event.
- ExecutionException - Exception in com.tonic.analysis.execution.core
-
Runtime failure during bytecode execution, carrying the frame, pc, and opcode where it occurred.
- ExecutionException(String, StackFrame, int, String) - Constructor for exception com.tonic.analysis.execution.core.ExecutionException
-
Creates an execution exception locating the failure in the executing frame.
- ExecutionException(String, StackFrame, int, String, Throwable) - Constructor for exception com.tonic.analysis.execution.core.ExecutionException
-
Creates an execution exception with a cause, locating the failure in the executing frame.
- ExecutionMode - Enum in com.tonic.analysis.execution.core
-
Strategy for handling method invocations: RECURSIVE executes callees in-engine, DELEGATED stubs them with default values.
- executionStart(String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an execution-start event.
- executionTimeMs() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- exists() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query by testing for any result.
- EXIT - com.tonic.analysis.pdg.node.PDGNodeType
-
The single sink every return and throw path converges on.
- exitCall(SimulationState) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Return from a method call (decrement call depth).
- exitConditional() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Records exit from a conditional.
- exitLoop() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Records exit from a loop.
- exitTry() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Records exit from a try block.
- expand(Subject, Step) - Method in interface com.tonic.analysis.query.eval.AttributeRegistry.Selector
-
Expands a subject into the sub-subjects this keyword selects.
- explicit(SourceType, String) - Static method in class com.tonic.analysis.source.ast.expr.LambdaParameter
-
Creates an explicitly typed parameter.
- export(CodePropertyGraph, Writer) - Method in class com.tonic.analysis.graph.export.CPGDOTExporter
- export(PDG, Writer) - Method in class com.tonic.analysis.graph.export.PDGDOTExporter
- export(SDG, Writer) - Method in class com.tonic.analysis.graph.export.SDGDOTExporter
- export(T) - Method in class com.tonic.analysis.graph.export.DOTExporter
-
Renders a graph to a DOT string.
- export(T, Writer) - Method in class com.tonic.analysis.graph.export.DOTExporter
-
Writes the DOT rendering of a graph.
- Exports - Class in com.tonic.parser.attribute.module
-
Represents an exports entry in the Module attribute.
- Exports(ConstPool, int, int, List<Integer>) - Constructor for class com.tonic.parser.attribute.module.Exports
-
Creates an exports entry over raw constant-pool indices.
- Expression - Interface in com.tonic.analysis.source.ast.expr
-
Sealed interface representing all expression types in the source AST.
- ExpressionEditor - Class in com.tonic.analysis.source.editor
-
Expression-only view over ASTEditor.
- ExpressionEditor(BlockStmt, String, String, String) - Constructor for class com.tonic.analysis.source.editor.ExpressionEditor
-
Creates an expression editor for a method body.
- ExpressionEditor.FieldAccessReplacer - Interface in com.tonic.analysis.source.editor
-
Functional interface for field access replacement.
- ExpressionEditor.MethodCallReplacer - Interface in com.tonic.analysis.source.editor
-
Functional interface for method call replacement.
- ExpressionEditor.NewExprReplacer - Interface in com.tonic.analysis.source.editor
-
Functional interface for new expression replacement.
- ExpressionHandler - Interface in com.tonic.analysis.source.editor.handler
-
Base interface for handling expressions during AST editing.
- expressionLabels() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- ExpressionLowerer - Class in com.tonic.analysis.source.lower
-
Lowers AST Expression nodes to IR instructions.
- ExpressionLowerer(LoweringContext) - Constructor for class com.tonic.analysis.source.lower.ExpressionLowerer
-
Creates a new expression lowerer.
- ExpressionRecoverer - Class in com.tonic.analysis.source.recovery
-
Converts SSA IR instructions to source Expression trees.
- ExpressionRecoverer(RecoveryContext) - Constructor for class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
Creates a recoverer bound to a recovery context, with its own type recoverer.
- exprLabels() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor.CaseSpec
- ExprMatcher - Class in com.tonic.analysis.source.editor.matcher
-
Composable predicate over expressions, used to select edit targets in the AST.
- exprStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches expression statements.
- exprStmt(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an expression statement node.
- exprStmt(Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Wraps an expression as a statement.
- ExprStmt - Class in com.tonic.analysis.source.ast.stmt
-
An expression used as a statement, such as a call, assignment, or increment.
- ExprStmt(Expression) - Constructor for class com.tonic.analysis.source.ast.stmt.ExprStmt
-
Creates an expression statement with an unknown location.
- ExprStmt(Expression, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.ExprStmt
-
Creates an expression statement and parents the expression to it.
- EXTENDS - com.tonic.analysis.dependency.DependencyType
-
Extends (superclass)
- EXTENDS - com.tonic.analysis.source.ast.type.WildcardSourceType.BoundKind
-
An upper bound, printed
? extends T. - EXTENDS - com.tonic.analysis.source.parser.TokenType
-
Names a superclass, an interface's superinterfaces, or the upper bound of a type parameter or wildcard.
- extendsType(SourceType) - Static method in class com.tonic.analysis.source.ast.type.WildcardSourceType
-
Creates an upper-bounded wildcard.
- external(String) - Static method in class com.tonic.analysis.simulation.heap.AllocationSite
-
Creates a site for an object that entered from outside the analysed code.
- EXTERNAL - Static variable in class com.tonic.analysis.simulation.heap.AllocationSite
- externalLabel(String) - Method in class com.tonic.builder.CodeBuilder
-
Declares
nameas an external branch target - an instruction in the host method the snippet will be spliced into, not one defined in the snippet. - extractClassName(String) - Static method in class com.tonic.util.DescriptorUtil
-
Extracts the class name from an object type descriptor.
- extractClassNames(String) - Static method in class com.tonic.util.DescriptorUtil
-
Extracts all class names referenced in a descriptor (internal format).
- extractFieldAssignments(IRMethod, List<SimValue>) - Method in class com.tonic.analysis.simulation.heap.ConstructorAnalyzer
-
Walks every block in order, tracking local stores, and records the last value written to each instance field.
- extractInterfaceType(String) - Method in class com.tonic.analysis.execution.invoke.LambdaProxyFactory
-
Extracts the functional interface internal name from a call site descriptor's return type.
- extractString(ObjectInstance) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Reads a guest string's character data back into a host string.
- extractString(ObjectInstance) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
F
- f2d() - Method in class com.tonic.builder.CodeBuilder
-
Appends
f2d, widening a float to double. - F2D - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Widens a float to a double without loss of value.
- F2D - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert float to double.
- F2D - com.tonic.util.Opcode
-
Pops a float and pushes it widened to a double without loss.
- f2i() - Method in class com.tonic.builder.CodeBuilder
-
Appends
f2i, converting a float to int. - F2I - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts a float to an int, truncating toward zero and clamping to the int range; NaN becomes zero.
- F2I - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert float to int.
- F2I - com.tonic.util.Opcode
-
Pops a float and pushes it converted to an int, rounding toward zero; NaN becomes 0 and out-of-range values saturate.
- f2l() - Method in class com.tonic.builder.CodeBuilder
-
Appends
f2l, converting a float to long. - F2L - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts a float to a long, truncating toward zero and clamping to the long range; NaN becomes zero.
- F2L - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert float to long.
- F2L - com.tonic.util.Opcode
-
Pops a float and pushes it converted to a long, rounding toward zero; NaN becomes 0 and out-of-range values saturate.
- factory() - Method in class com.tonic.analysis.source.editor.EditorContext
- fadd() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fadd, adding the top two float values. - FADD - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Adds two floats, rounding to the nearest representable float.
- FADD - com.tonic.util.Opcode
-
Pops two floats and pushes their IEEE 754 sum.
- FAIL_FAST - com.tonic.analysis.verifier.VerifierConfig.ErrorMode
-
Abandon verification at the first error, reporting only that one.
- failFast() - Static method in interface com.tonic.analysis.verifier.ErrorCollector
- failFast() - Method in class com.tonic.analysis.verifier.Verifier.Builder
-
Selects FAIL_FAST error mode.
- failFast() - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Selects FAIL_FAST error mode.
- FailFastCollector() - Constructor for class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
- failOnError(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether instrumentation fails on the first error rather than continuing.
- failOnError(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether a failure to instrument a method is rethrown instead of counted.
- failure(Throwable) - Static method in class com.tonic.analysis.execution.result.BytecodeResult
-
Creates a failed result carrying the thrown exception.
- failure(List<VerificationError>) - Static method in class com.tonic.analysis.verifier.VerificationResult
-
Creates an unlocated result from mixed findings; it is still valid if none are ERROR severity.
- failure(List<VerificationError>, String) - Static method in class com.tonic.analysis.verifier.VerificationResult
-
Creates a result for a class from mixed findings; it is still valid if none are ERROR severity.
- failure(List<VerificationError>, String, String) - Static method in class com.tonic.analysis.verifier.VerificationResult
-
Creates a result for a method from mixed findings; it is still valid if none are ERROR severity.
- FALL_THROUGH - com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJumpKind
- fallsThrough() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- faload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
faload, loading a float element from an array. - FALOAD - com.tonic.util.Opcode
-
Pops an array reference and an int index, and pushes the float element stored there.
- FALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM FALOAD instruction.
- FALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.FALoadInstruction
-
Constructs a FALOADInstruction.
- FALSE - com.tonic.analysis.source.parser.TokenType
-
The false boolean literal, grouped with the literals rather than the keywords.
- FALSE - Static variable in class com.tonic.analysis.query.value.Value.BoolValue
- falsity - Variable in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
The constant false formula.
- fastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fastore, storing a float element into an array. - FASTORE - com.tonic.util.Opcode
-
Pops an array reference, an int index and a float value, and stores the value at that index.
- FAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM FASTORE instruction (0x51).
- FAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.FAStoreInstruction
-
Constructs a FAStoreInstruction.
- fcmpg() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fcmpg, comparing two floats and pushing 1 when either is NaN. - FCMPG - com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Compares two floats, pushing 1 when either operand is NaN.
- FCMPG - com.tonic.analysis.ssa.ir.BinaryOp
-
Float comparison (greater on NaN).
- FCMPG - com.tonic.util.Opcode
-
Pops two floats and pushes the int -1, 0 or 1 comparing them, pushing 1 when either operand is NaN.
- fcmpl() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fcmpl, comparing two floats and pushing -1 when either is NaN. - FCMPL - com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Compares two floats, pushing -1 when either operand is NaN.
- FCMPL - com.tonic.analysis.ssa.ir.BinaryOp
-
Float comparison (less on NaN).
- FCMPL - com.tonic.util.Opcode
-
Pops two floats and pushes the int -1, 0 or 1 comparing them, pushing -1 when either operand is NaN.
- fconst(float) - Method in class com.tonic.builder.CodeBuilder
-
Appends a float constant push, using
fconst_0/fconst_1/fconst_2where possible. - FCONST_0 - com.tonic.util.Opcode
-
Pushes the float constant 0.0f onto the operand stack.
- FCONST_1 - com.tonic.util.Opcode
-
Pushes the float constant 1.0f onto the operand stack.
- FCONST_2 - com.tonic.util.Opcode
-
Pushes the float constant 2.0f onto the operand stack.
- FConstInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM FCONST_0, FCONST_1, and FCONST_2 instructions.
- FConstInstruction(int, int, float) - Constructor for class com.tonic.analysis.instruction.FConstInstruction
-
Constructs an FConstInstruction.
- fdiv() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fdiv, dividing the top two float values. - FDIV - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Divides two floats; a zero divisor yields infinity or NaN instead of throwing.
- FDIV - com.tonic.util.Opcode
-
Pops two floats and pushes their IEEE 754 quotient; division by zero yields an infinity or NaN rather than an exception.
- FeatureVector - Interface in com.tonic.analysis.fingerprint.features
-
A hashable feature set extracted from a method at one fingerprint level.
- FIELD - com.tonic.analysis.query.ast.ArgumentType
-
The argument comes straight from a field read.
- FIELD - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
field, naming a field reference. - FIELD - com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Field names; an invalid one is renamed to
field_N. - FIELD_ACCESS - com.tonic.analysis.dependency.DependencyType
-
Field access target
- FIELD_ACCESS - com.tonic.analysis.query.eval.SubjectKind
-
One site that reads or writes a field, covering both directions.
- FIELD_GET - com.tonic.analysis.execution.dispatch.DispatchResult
-
A field read is pending and must be serviced against the heap before execution resumes.
- FIELD_GET - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A field read is pending and must be serviced against the heap before execution resumes.
- FIELD_LOAD - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value read out of an instance or static field by a field load.
- FIELD_LOAD - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value read out of a field, treated as a taint entry point since it comes from outside.
- FIELD_NAME - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The field name as a String
- FIELD_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Field read notifications (high frequency).
- FIELD_OWNER - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The field owner object
- FIELD_PUT - com.tonic.analysis.execution.dispatch.DispatchResult
-
A field write is pending and must be serviced against the heap before execution resumes.
- FIELD_PUT - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A field write is pending and must be serviced against the heap before execution resumes.
- FIELD_READ - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A field was loaded, carrying the owning instance, the field name, and the value read.
- FIELD_READ - com.tonic.analysis.instrumentation.InstrumentationTarget
-
After GETFIELD/GETSTATIC
- FIELD_READ - com.tonic.analysis.xref.XrefType
-
A field whose value the referencing code loads.
- FIELD_REF - com.tonic.analysis.cpg.node.CPGNodeType
-
A reference to a field, covering both reads and writes of it.
- FIELD_STORE - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value written into an instance or static field by a field store.
- FIELD_STORE - com.tonic.analysis.dataflow.DataFlowNodeType
-
A write into a field, a taint sink because the value outlives this method.
- FIELD_TYPE - com.tonic.analysis.dependency.DependencyType
-
Field type
- FIELD_WRITE - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A field was stored, carrying the owning instance, the field name, and the value written.
- FIELD_WRITE - com.tonic.analysis.instrumentation.InstrumentationTarget
-
Before PUTFIELD/PUTSTATIC
- FIELD_WRITE - com.tonic.analysis.xref.XrefType
-
A field whose value the referencing code stores to.
- fieldAccess(Expression, String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an instance field access node.
- fieldAccess(Expression, String, String, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an instance field access.
- fieldAccess(String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches field accesses by field name, whatever the owner.
- fieldAccess(String, String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches field accesses by owner class and field name.
- FieldAccessExpr - Class in com.tonic.analysis.source.ast.expr
-
A field access expression: obj.field or Type.staticField.
- FieldAccessExpr(Expression, String, String, boolean, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Creates a field access with an unknown source location.
- FieldAccessExpr(Expression, String, String, boolean, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Creates a field access and reparents the receiver if present.
- FieldAccessHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for field access expressions.
- FieldAccessInstruction - Class in com.tonic.analysis.ssa.ir
-
A static or instance field load or store, distinguished by its
AccessMode. - FieldAccessListener - Class in com.tonic.analysis.simulation.listener
-
Simulation listener that counts field and array reads and writes, both in total and per field.
- FieldAccessListener() - Constructor for class com.tonic.analysis.simulation.listener.FieldAccessListener
-
Creates a listener with all counters at zero.
- FieldAccessListener.AccessStats - Class in com.tonic.analysis.simulation.listener
-
Read and write counts for one field.
- FieldAccessListener.FieldReference - Class in com.tonic.analysis.simulation.listener
-
Represents a field reference.
- fieldAccessOn(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches field access (read or write) on a specific owner.
- FieldAccessSubject(Instruction, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.FieldAccessSubject
-
Binds the cursor to a field read or write.
- FieldBuilder - Class in com.tonic.builder
-
Fluent builder for a single field of a class under construction, returning to its
ClassBuilderfromFieldBuilder.end(). - FieldDecl - Class in com.tonic.analysis.source.ast.decl
-
A Java field declaration: name, type, modifiers, annotations, and optional initializer.
- FieldDecl(String, SourceType) - Constructor for class com.tonic.analysis.source.ast.decl.FieldDecl
-
Creates a field declaration at an unknown location.
- FieldDecl(String, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.FieldDecl
-
Creates a field declaration without an initializer.
- FieldEntry - Class in com.tonic.parser
-
A field entry of a class file, parsed from bytes or built for dynamic creation.
- FieldEntry() - Constructor for class com.tonic.parser.FieldEntry
-
Constructs an empty FieldEntry for dynamic creation.
- FieldEntry(ClassFile) - Constructor for class com.tonic.parser.FieldEntry
-
Constructs a FieldEntry by parsing from the class file.
- FieldFilter - Class in com.tonic.analysis.instrumentation.filter
-
Filter by field name and/or type pattern.
- FieldFilter(String) - Constructor for class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a field filter matching by name only.
- FieldFilter(String, String, String) - Constructor for class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a field filter with full pattern support.
- FieldInfo - Class in com.tonic.analysis.execution.dispatch
-
A resolved field reference: owner class, name, descriptor, and static flag.
- FieldInfo(String, String, String, boolean) - Constructor for class com.tonic.analysis.execution.dispatch.FieldInfo
-
Creates a field reference.
- FieldKey - Class in com.tonic.analysis.simulation.heap
-
Identifies a specific field for field-sensitive tracking.
- FieldKey(String, String) - Constructor for class com.tonic.analysis.source.recovery.ControlFlowContext.FieldKey
- FieldMapping - Class in com.tonic.renamer.mapping
-
Represents a field rename mapping.
- FieldMapping(String, String, String, String) - Constructor for class com.tonic.renamer.mapping.FieldMapping
-
Creates a new field mapping.
- fieldNamed(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches field access with a specific field name.
- fieldRead(String, String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a field-read event.
- FieldReadHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for field read instrumentation.
- FieldReadHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Fluent builder for
FieldReadHookinstances. - FieldRef - Class in com.tonic.parser.constpool.structure
-
The index pair of a CONSTANT_Fieldref entry - owning class and name-and-type.
- FieldRef(int, int) - Constructor for class com.tonic.parser.constpool.structure.FieldRef
-
Creates a field reference from its two constant pool indices.
- FieldReference - Class in com.tonic.analysis.xref
-
Identifies a specific field by owner class, name, and descriptor.
- FieldReference(String, String, String) - Constructor for class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- FieldReference(String, String, String) - Constructor for class com.tonic.analysis.xref.FieldReference
-
Creates a field reference, substituting the empty string for any null component.
- FieldRefItem - Class in com.tonic.parser.constpool
-
A CONSTANT_Fieldref constant pool entry.
- FieldRefItem() - Constructor for class com.tonic.parser.constpool.FieldRefItem
- FieldRenamer - Class in com.tonic.renamer
-
Applies field mappings across the class pool, rewriting declarations, access sites, field method handles and bootstrap method arguments.
- FieldRenamer(RenamerContext) - Constructor for class com.tonic.renamer.FieldRenamer
-
Creates a renamer bound to the mappings and class pool in a context.
- fieldWrite(String, String, String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a field-write event.
- FieldWriteHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for field write instrumentation.
- FieldWriteHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Builder for
FieldWriteHook, defaulting to enabled, priority 100, no values passed, and both static and instance writes instrumented. - FILE_INPUT - com.tonic.analysis.cpg.taint.TaintType
-
Data read off the local filesystem through a stream or reader.
- FileIOHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the java.io file classes, standing in for real file descriptors with inert stubs that report empty or failed I/O.
- FileIOHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.FileIOHandlers
- fileRead() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- fillColor(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle.Builder
-
Sets the interior colour.
- filter(Statement, Predicate<Statement>) - Static method in class com.tonic.analysis.source.ast.ASTUtils
-
Collects the statements under a root that satisfy a predicate.
- filter(Predicate<CPGNode>) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only nodes matching a predicate.
- filterClasses(Stream<ClassFile>) - Method in class com.tonic.analysis.query.planner.filter.PatternFilter
- filterClasses(Stream<ClassFile>) - Method in class com.tonic.analysis.query.planner.filter.StaticFilter.AllFilter
- filterClasses(Stream<ClassFile>) - Method in class com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter
-
Runs both filters over the candidates and combines their results.
- filterClasses(Stream<ClassFile>) - Method in interface com.tonic.analysis.query.planner.filter.StaticFilter
-
Selects the classes that pass this filter.
- filterExpressions(Statement, Predicate<Expression>) - Static method in class com.tonic.analysis.source.ast.ASTUtils
-
Collects the expressions in a statement tree that satisfy a predicate.
- filterMethods(Stream<MethodEntry>) - Method in class com.tonic.analysis.query.planner.filter.PatternFilter
- filterMethods(Stream<MethodEntry>) - Method in class com.tonic.analysis.query.planner.filter.StaticFilter.AllFilter
- filterMethods(Stream<MethodEntry>) - Method in class com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter
-
Runs both filters over the candidates and combines their results.
- filterMethods(Stream<MethodEntry>) - Method in interface com.tonic.analysis.query.planner.filter.StaticFilter
-
Selects the methods that pass this filter.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets the filters that restrict which code is instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets the filters that restrict which code is instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets the filters that restrict which code is instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets the filters that restrict which code is instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Replaces the filters deciding which sites are instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Replaces the filters deciding which call sites are instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets the filters deciding which methods get instrumented.
- filters(List<InstrumentationFilter>) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Replaces the filters deciding which methods are instrumented.
- filterType(CPGNodeType...) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only nodes of the given node types.
- FINAL - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0010, forbidding reassignment, overriding or subclassing depending on what it is applied to. - FINAL - com.tonic.analysis.source.parser.TokenType
-
Modifier forbidding reassignment, overriding, or subclassing.
- FINAL - Static variable in class com.tonic.util.Modifiers
- finalizeBytecode() - Method in class com.tonic.analysis.Bytecode
-
Finalizes the bytecode modifications by writing them back to the MethodEntry.
- FINALLY - com.tonic.analysis.source.parser.TokenType
-
Introduces the clause of a try that runs on every exit path, normal or exceptional.
- finallyDepth() - Method in class com.tonic.analysis.source.lower.LoweringContext.LoopTargets
-
The lowerer's finally-stack size at the moment this loop/switch was entered.
- finalVar(SourceType, String, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a final local variable declaration node.
- FIND - com.tonic.analysis.query.parser.Token.TokenType
-
The word
find, opening a query that returns matching entities with their evidence. - findAll(Class<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Finds all descendants of the specified type.
- findAll(Class<T>, Predicate<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Finds all descendants of the specified type matching the predicate.
- findAllMethodDescriptors(String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Collects every overload of a method name, falling back to the superclass and interfaces when the class itself declares none.
- findAllocations() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds every object allocation in scope.
- findAllocations(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds allocations of one class.
- findAllPaths(PDGNode, PDGNode, int) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Enumerates the simple dependence paths from source to target by depth-first search.
- findAllSimilar(SimilarityMetric, double) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Compares every indexed pair and keeps those scoring at or above the threshold.
- findAncestor(Class<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Finds the first ancestor of the specified type.
- findArgumentProducer(CodeWriter, int, int, int, Instruction) - Static method in class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
-
Walks backwards from an invoke, tracking stack depth, to find the instruction that pushed one of its arguments.
- findArrayAccesses() - Method in class com.tonic.analysis.source.editor.ExpressionEditor
- findBestMatch(MethodFingerprint) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Finds the single highest-scoring match for a query.
- findCalleesOf(String, String, String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds the methods one caller invokes, building the call graph first if none is attached.
- findCallersOf(String, String, String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds the methods that call one target, building the call graph first if none is attached.
- findCallersOfMethodNamed(String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Collects callers of every indexed method carrying a given name, whatever the owner or descriptor.
- findCallingContexts(PDGNode, int) - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Enumerates the call-site chains through which a node can be reached, walking call edges up to a bounded depth.
- findCasts() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds every checked cast in scope.
- findCastsTo(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds casts to one type.
- findCircularDependencies() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Walks the pool classes depth-first collecting every dependency cycle found.
- findClasses(Predicate<DependencyNode>) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Finds classes whose node satisfies a predicate.
- findDependenciesOf(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds the classes one class depends on, building the dependency analysis if none is attached.
- findDependentsOf(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds the classes that depend on one class, building the dependency analysis if none is attached.
- findDuplicates() - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Finds pairs scoring at least 0.95 on the combined metric.
- findEnclosingStatement(Expression) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Walks parent links to find the statement that contains an expression.
- findExactMatches(MethodFingerprint, FingerprintLevel) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Finds methods whose hash at the given level equals the query's hash.
- findExpressions(ExprMatcher) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Finds all expressions matching the given matcher.
- findExpressions(ExprMatcher) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Collects the expressions a matcher selects.
- findFieldAccesses() - Method in class com.tonic.analysis.source.editor.ExpressionEditor
- findFieldAccesses(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds field reads and writes against one owner class.
- findFieldsByName(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds field accesses by field name, whatever the owner.
- findFieldType(String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves a field's declared type, searching the current class declaration first, then the field tables of the owner class and its superclasses via the ClassPool.
- findFirst(Class<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Finds the first descendant of the specified type.
- findFirst(Class<T>, Predicate<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Finds the first descendant of the specified type matching the predicate.
- findIfElses() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all if statements that have an else branch.
- findIfs() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all if statements.
- findInstanceOfChecks() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds every instanceof check in scope.
- findInstanceOfChecks(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds instanceof checks against one type.
- findInstructionIndexForOffset(int) - Method in class com.tonic.analysis.CodeWriter
-
Finds the instruction index that contains or follows the given bytecode offset.
- findLambdaMethod(String, String, int) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Finds an already-declared synthetic lambda method by position.
- findLeafClasses() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Finds pool classes that depend on nothing.
- findLoops() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all for, while, do-while and for-each statements.
- findMatchingNameAndTypes(ClassFile, String, String) - Method in class com.tonic.renamer.RenamerContext
-
Collects all NameAndType indices that are used for a specific method signature.
- findMergePoint(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Finds the merge point for an if-then-else by finding the immediate post-dominator of the branch block.
- findMethodCalls() - Method in class com.tonic.analysis.source.editor.ExpressionEditor
- findMethodCalls(PatternMatcher) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds call sites accepted by a matcher.
- findMethodCalls(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds calls to any method declared by one owner class.
- findMethodCalls(String) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Collects the calls to one method name, whatever the owner.
- findMethodCalls(String, String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds calls to one named method on one owner class.
- findMethodCalls(String, String) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Collects the calls to one method on one owner.
- findMethodHierarchy(String, String, String) - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
-
Finds all classes that declare or inherit a method with the given signature.
- findMethods(Predicate<CallGraphNode>) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Finds all methods whose node matches a predicate.
- findMethodsWithNoCallers() - Method in class com.tonic.analysis.callgraph.CallGraph
-
Finds methods with no callers (potential dead code).
- findNewExpressions(String) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Collects the allocations of one class.
- findNullChecks() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds every null comparison in scope.
- findOrAddClass(String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a ClassRef entry (and its name Utf8) for the given internal class name.
- findOrAddClassRef(int) - Method in class com.tonic.parser.ConstPool
-
Finds an existing ClassRefItem with the given name index or adds a new one.
- findOrAddConstantDynamic(int, String, String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a ConstantDynamic entry for the given bootstrap method and name-and-type.
- findOrAddDouble(double) - Method in class com.tonic.parser.ConstPool
-
Finds an existing DoubleItem with the given value or adds a new one to the constant pool.
- findOrAddField(String, String, String) - Method in class com.tonic.parser.ConstPool
-
Finds an existing FieldRefItem for the specified class, field name, and field type, or adds a new one to the constant pool.
- findOrAddFieldRef(String, String, String) - Method in class com.tonic.parser.ConstPool
-
Finds an existing FieldRefItem or creates a new one using string parameters.
- findOrAddFloat(float) - Method in class com.tonic.parser.ConstPool
-
Finds an existing FloatItem with the given value or adds a new one to the constant pool.
- findOrAddInteger(int) - Method in class com.tonic.parser.ConstPool
-
Finds an existing IntegerItem with the given value or adds a new one to the constant pool.
- findOrAddInterfaceRef(int, int) - Method in class com.tonic.parser.ConstPool
-
Finds an existing InterfaceRefItem with the given class and name-and-type indices, or creates a new one if none exists.
- findOrAddInterfaceRef(String, String, String) - Method in class com.tonic.parser.ConstPool
-
Finds an existing InterfaceRefItem or creates a new one using string parameters.
- findOrAddLong(long) - Method in class com.tonic.parser.ConstPool
-
Finds an existing LongItem with the given value or adds a new one to the constant pool.
- findOrAddMethodHandle(int, String, String, String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a MethodHandle constant pool entry.
- findOrAddMethodHandle(int, String, String, String, boolean) - Method in class com.tonic.parser.ConstPool
-
As
ConstPool.findOrAddMethodHandle(int, String, String, String), with the owner's interface-ness made explicit. - findOrAddMethodRef(int, int) - Method in class com.tonic.parser.ConstPool
-
Finds an existing MethodRefItem with the given class and nameAndType indices or adds a new one.
- findOrAddMethodRef(String, String, String) - Method in class com.tonic.parser.ConstPool
-
Finds an existing MethodRefItem or creates a new one using string parameters.
- findOrAddMethodType(String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a MethodType constant pool entry.
- findOrAddNameAndType(int, int) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a NameAndTypeRefItem with the specified name and descriptor indices.
- findOrAddNameAndType(String, String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a NameAndType entry (and its name/descriptor Utf8s) for the given strings.
- findOrAddString(String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a String constant (and its backing Utf8) for the given value.
- findOrAddUtf8(String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a Utf8Item with the specified value.
- findOverrides(String, String, String) - Method in class com.tonic.renamer.Renamer
-
Finds all methods that override or implement the specified method.
- findPattern(PatternMatcher) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds instructions accepted by a caller-supplied matcher.
- findPotentialNullDereferences() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds calls and field reads whose receiver type inference cannot prove non-null.
- FindQuery - Class in com.tonic.analysis.query.ast
-
FIND query - returns matching entities with evidence.
- FindQuery(Target, Scope, Condition, RunSpec, Integer, OrderBy) - Constructor for class com.tonic.analysis.query.ast.FindQuery
-
Creates a FIND query.
- findRefsBetweenClasses(String, String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Collects the references one class makes to another.
- findRenamedCopies() - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Finds pairs with near-identical opcode sequences but different method names.
- findReturns() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all return statements.
- findRootClasses() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Finds pool classes that nothing else depends on.
- findSimilar(MethodFingerprint, double) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Scores hash-index candidates against a query and keeps those at or above the threshold.
- findSimilarityGroups(SimilarityMetric, double) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Clusters similar methods into connected components over the pairwise similarity graph.
- findSimilarTo(MethodSignature, SimilarityMetric, double) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Finds indexed methods similar to a given signature.
- findSimilarTo(String, String, String, SimilarityMetric, double) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Finds indexed methods similar to the referenced method.
- findSinkNodes() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Scans every call site in the graph for one matching a registered sink.
- findSourceNodes() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Scans every call site in the graph for one matching a registered source.
- findStatements(StmtMatcher) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Finds all statements matching the given matcher.
- findStatements(StmtMatcher) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all statements matching the given matcher.
- findSwitches() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all switch statements.
- findThrows() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Finds every athrow in scope.
- findThrows() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all throw statements.
- findTopMatches(MethodFingerprint, int) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Finds the highest-scoring matches for a query, capped at a limit.
- findTryCatches() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all try-catch statements.
- findValueReturns() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all returns that carry a value.
- findVarDecls() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all variable declaration statements.
- findVoidReturns() - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Finds all returns that carry no value.
- FingerprintBuilder - Class in com.tonic.analysis.fingerprint
-
Extractor that computes a MethodFingerprint from a method's descriptor and raw bytecode.
- FingerprintBuilder() - Constructor for class com.tonic.analysis.fingerprint.FingerprintBuilder
-
Creates a stateless builder.
- FingerprintComparator - Class in com.tonic.analysis.fingerprint
-
Scorer that compares two method fingerprints into a weighted similarity score with a confidence estimate.
- FingerprintComparator() - Constructor for class com.tonic.analysis.fingerprint.FingerprintComparator
- FingerprintDatabase - Class in com.tonic.analysis.fingerprint
-
In-memory store of method fingerprints with per-level hash indexes for exact and similarity lookups.
- FingerprintDatabase() - Constructor for class com.tonic.analysis.fingerprint.FingerprintDatabase
-
Creates an empty database.
- FingerprintLevel - Enum in com.tonic.analysis.fingerprint
-
The three fingerprint granularity levels, each with a fixed index and scoring weight.
- FingerprintMatch - Class in com.tonic.analysis.fingerprint
-
The result of comparing two method fingerprints: an overall score, a confidence, and per-level scores.
- FingerprintMatch(String, String, double, double, double[]) - Constructor for class com.tonic.analysis.fingerprint.FingerprintMatch
-
Creates a match result.
- first() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query with its first node.
- first() - Method in class com.tonic.analysis.query.ast.Accessor
- flatMap(Function<CPGNode, Stream<CPGNode>>) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Replaces each node with the nodes produced by the mapper.
- fload(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a float load from a local slot.
- FLOAD - com.tonic.util.Opcode
-
Loads a float from the local variable at the given index onto the operand stack.
- FLOAD - Static variable in interface com.tonic.type.AccessFlags
- FLOAD_0 - com.tonic.util.Opcode
-
Loads the float in local variable 0 onto the operand stack.
- FLOAD_1 - com.tonic.util.Opcode
-
Loads the float in local variable 1 onto the operand stack.
- FLOAD_2 - com.tonic.util.Opcode
-
Loads the float in local variable 2 onto the operand stack.
- FLOAD_3 - com.tonic.util.Opcode
-
Loads the float in local variable 3 onto the operand stack.
- FLoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM FLOAD instruction.
- FLoadInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.FLoadInstruction
-
Constructs an FLoadInstruction.
- FLOAT - com.tonic.analysis.execution.state.ValueTag
-
A 32-bit floating point value occupying one slot.
- FLOAT - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Floatentry, occupying one stack word. - FLOAT - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
floatkeyword; 32-bit IEEE 754, one slot wide. - FLOAT - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a 32-bit IEEE 754 floating point value.
- FLOAT - com.tonic.analysis.ssa.type.PrimitiveType
-
32-bit floating point, descriptor
F, occupying one slot. - FLOAT - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
F, one slot wide. - FLOAT - Static variable in class com.tonic.analysis.frame.VerificationType
- FLOAT - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- FLOAT - Static variable in class com.tonic.parser.util.TypeInfo
- FLOAT - Static variable in class com.tonic.type.TypeDescriptor
- FLOAT - Static variable in class com.tonic.util.CommonTypes
- FLOAT_LITERAL - com.tonic.analysis.source.parser.TokenType
-
A numeric literal carrying an f or F suffix.
- FLOAT_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- floatArray(String, float...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a float-array element.
- FloatConstant - Class in com.tonic.analysis.ssa.value
-
Represents a float constant.
- FloatConstant(float) - Constructor for class com.tonic.analysis.ssa.value.FloatConstant
-
Creates a float constant with the given value.
- FloatItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_Float entry in the constant pool.
- FloatItem() - Constructor for class com.tonic.parser.constpool.FloatItem
- floatLit(float) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a float literal node.
- floatLiteral(float) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a float literal.
- floatValue() - Method in class com.tonic.analysis.source.parser.Token
-
Reads the literal value as a float, converting any numeric value.
- floatValue(float) - Static method in class com.tonic.analysis.execution.state.ConcreteValue
-
Creates a FLOAT value, storing its raw bit pattern so NaN payloads survive.
- FLOWS_FROM - com.tonic.analysis.query.value.Operator
-
Data-flow reachability into the left operand from the right, evaluated over SSA rather than by
Operator.test(com.tonic.analysis.query.value.Value, com.tonic.analysis.query.value.Value), which always returns false for it. - FLOWS_TO - com.tonic.analysis.query.value.Operator
-
Data-flow reachability from the left operand to the right, evaluated over SSA rather than by
Operator.test(com.tonic.analysis.query.value.Value, com.tonic.analysis.query.value.Value), which always returns false for it. - flowsTo(SimValue, SimValue) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Searches the dependent chain for a path from one value to another.
- flush() - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Flushes the underlying writer.
- fmul() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fmul, multiplying the top two float values. - FMUL - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Multiplies two floats, rounding to the nearest representable float.
- FMUL - com.tonic.util.Opcode
-
Pops two floats and pushes their IEEE 754 product.
- fneg() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fneg, negating the top float value. - FNEG - com.tonic.util.Opcode
-
Pops a float and pushes it with its sign bit flipped, which also negates zeros and NaN.
- FNegInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM FNEG instruction.
- FNegInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.FNegInstruction
-
Constructs an FNegInstruction.
- fontName(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the font applied to the graph, nodes and edges.
- fontSize(int) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the graph and node font size; edges are rendered two points smaller.
- FOR - com.tonic.analysis.source.parser.TokenType
-
Introduces either a classic three-clause loop or a for-each loop.
- FOR_LOOP - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A head-tested loop whose induction variable and increment block were both identified, so it can print as a for statement.
- forAnnotation(String) - Static method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
-
Creates a filter that matches methods with the given annotation.
- forArray(IRType) - Static method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Starts a builder for a one-dimensional array.
- forArray(TypeDescriptor, int) - Static method in class com.tonic.type.TypeDescriptor
-
Wraps a type in array brackets.
- forArrayType(TypeInfo, int) - Static method in class com.tonic.parser.util.TypeInfo
-
Builds an array type by prefixing an element descriptor with the requested dimensions.
- forArrayType(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Restricts this hook to arrays of one type.
- forArrayType(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Restricts this hook to arrays of one type.
- forBranchCondition(boolean) - Static method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
-
Picks the control edge type for one side of a branch.
- forceComputeFrames() - Method in class com.tonic.analysis.Bytecode
-
Forces recomputation of StackMapTable frames, even if bytecode wasn't modified.
- forceComputeFrames() - Method in class com.tonic.analysis.CodeWriter
-
Recomputes the StackMapTable unconditionally, ignoring the modified flag and any existing valid table.
- forClass(ClassFile) - Static method in class com.tonic.analysis.instrumentation.Instrumenter
-
Creates an instrumenter targeting one class.
- forClass(ClassFile) - Static method in class com.tonic.analysis.simulation.core.SimulationContext
-
Creates a context for simulating methods in a class, backed by the pool it was loaded from.
- forClass(String) - Static method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Starts a builder for an object type, accepting dotted or slashed names.
- forClass(String) - Static method in class com.tonic.type.TypeDescriptor
-
Wraps an internal class name as an object descriptor.
- forClasses(ClassFile...) - Static method in class com.tonic.analysis.instrumentation.Instrumenter
-
Creates an instrumenter targeting the given classes.
- forClasses(List<ClassFile>) - Static method in class com.tonic.analysis.instrumentation.Instrumenter
-
Creates an instrumenter targeting a list of classes.
- forClassName(String) - Static method in class com.tonic.parser.util.TypeInfo
-
Wraps an internal class name into an object type descriptor.
- forClassPool(ClassPool) - Static method in class com.tonic.analysis.cpg.CPGBuilder
-
Creates a builder over the given class pool.
- forClassPool(ClassPool) - Static method in class com.tonic.analysis.instrumentation.Instrumenter
-
Creates an instrumenter targeting every class in a pool.
- forConfig(VerifierConfig) - Static method in interface com.tonic.analysis.verifier.ErrorCollector
-
Creates the collector a verifier configuration asks for.
- forEach(VarDeclStmt, Expression, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an enhanced-for loop node.
- forEach(Consumer<CPGNode>) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query by applying an action to each node.
- forEachExpression(Statement, Consumer<Expression>) - Static method in class com.tonic.analysis.source.ast.ASTUtils
-
Walks every expression under a statement tree in depth-first order.
- forEachNode(Consumer<? super T>) - Method in class com.tonic.analysis.source.ast.NodeList
-
Applies an action to each element.
- forEachStatement(Statement, Consumer<Statement>) - Static method in class com.tonic.analysis.source.ast.ASTUtils
-
Walks every statement under a root in depth-first order.
- forEachStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches for-each statements.
- ForEachStmt - Class in com.tonic.analysis.source.ast.stmt
-
An enhanced for loop over an iterable or array, with an optional label.
- ForEachStmt(VarDeclStmt, Expression, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Creates an unlabeled enhanced for loop with an unknown location.
- ForEachStmt(VarDeclStmt, Expression, Statement, String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Creates an enhanced for loop and parents its children to it.
- forExceptionType(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Restricts this hook to handlers of one exception type.
- forField(String) - Static method in class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a filter matching a field by name.
- forField(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Restricts this hook to one field name.
- forField(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Restricts this hook to one field name.
- forFieldsMatching(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Restricts this hook to fields whose name matches a pattern.
- forIntArrays() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Restricts this hook to int array stores.
- forLoop(List<Statement>, Expression, List<Expression>, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a for loop node.
- ForLoopCounterFolder - Class in com.tonic.analysis.source.ast.transform
-
Folds a loop counter's hoisted declaration back into the
for-init: - ForLoopCounterFolder() - Constructor for class com.tonic.analysis.source.ast.transform.ForLoopCounterFolder
- FORMAL_IN - com.tonic.analysis.pdg.node.PDGNodeType
-
The callee side of an argument, a dependence source at the method's entry.
- FORMAL_OUT - com.tonic.analysis.pdg.node.PDGNodeType
-
The callee side of a returned value, a dependence sink at the method's exit.
- format() - Method in class com.tonic.analysis.execution.listener.TraceEvent
-
Renders the event as a single line with type, offset, description, and any captured stack state.
- format() - Method in class com.tonic.analysis.verifier.VerificationError
-
Formats this finding as one line with severity, type, location, offset, and message.
- format(ASTNode) - Static method in class com.tonic.analysis.source.ast.ASTPrinter
-
Formats a node as an indented tree with type annotations.
- format(ASTNode, boolean) - Static method in class com.tonic.analysis.source.ast.ASTPrinter
-
Formats a node as an indented tree.
- format(IRMethod) - Static method in class com.tonic.analysis.ssa.IRPrinter
-
Formats an entire IR method as a human-readable string.
- format(IRInstruction) - Static method in class com.tonic.analysis.ssa.IRPrinter
-
Formats an IR instruction as a human-readable string.
- formatAll() - Method in class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
- formatBlockHeader(IRBlock) - Static method in class com.tonic.analysis.ssa.IRPrinter
-
Formats an IR block header with predecessors and successors.
- formatCompact(ASTNode) - Static method in class com.tonic.analysis.source.ast.ASTPrinter
-
Formats a node as an indented tree without type annotations.
- formatPath() - Method in class com.tonic.analysis.cpg.taint.TaintPath
-
Builds a multi-line report listing the source, every hop, the sink, and any sanitizers.
- formatReport() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
-
Renders a human-readable summary of the collected statistics, including top opcodes and method calls.
- formatReport() - Method in class com.tonic.analysis.verifier.VerificationResult
-
Formats a multi-line pass/fail report listing every error and warning.
- formatStackTrace() - Method in class com.tonic.analysis.execution.frame.CallStack
-
Renders the stack as a multi-line trace with method, line, and PC per frame.
- formatTrace() - Method in class com.tonic.analysis.execution.listener.TracingListener
-
Formats the full recorded trace without a line limit.
- formatTrace(int) - Method in class com.tonic.analysis.execution.listener.TracingListener
-
Formats the recorded trace, truncating after the given number of lines.
- forMethod(MethodEntry) - Static method in class com.tonic.analysis.simulation.core.SimulationContext
-
Creates a context for simulating a single method, backed by the pool its class was loaded from.
- forMethod(MethodEntry, ConcreteValue[]) - Static method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Creates a table sized for a method with its arguments preloaded by slot category.
- forMethod(TypeDescriptor, TypeDescriptor...) - Static method in class com.tonic.type.TypeDescriptor
-
Builds a method descriptor from its parameter and return types.
- forMethodEntry(IRBlock, LocalState) - Static method in class com.tonic.analysis.simulation.core.SimulationState
-
Create an initial state for a method entry.
- forObjectArrays() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Restricts this hook to Object array stores.
- forPackage(String) - Static method in class com.tonic.analysis.instrumentation.filter.PackageFilter
-
Creates a filter for a package and all its subpackages; alias for
PackageFilter.of(String). - forParameters(List<SimValue>) - Static method in class com.tonic.analysis.simulation.state.LocalState
-
Lays parameter values out from slot 0, giving each wide value two slots.
- forPool(ClassPool) - Static method in class com.tonic.analysis.simulation.core.SimulationContext
-
Creates a context for simulating across a class pool.
- forStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches for statements.
- ForStmt - Class in com.tonic.analysis.source.ast.stmt
-
A basic for loop with init statements, an optional condition, and update expressions.
- ForStmt(List<Statement>, Expression, List<Expression>, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.ForStmt
-
Creates an unlabeled for loop with an unknown location.
- ForStmt(List<Statement>, Expression, List<Expression>, Statement, String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.ForStmt
-
Creates a for loop, skipping null init and update entries and parenting children to it.
- forType(IRType) - Static method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Starts a builder for an IR type.
- forType(String, String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
-
Creates an exception hook restricted to a specific exception type.
- FORWARD - com.tonic.analysis.pdg.slice.SliceResult.SliceType
-
Walked along the dependence edges, reaching everything the criterion can affect.
- forwardSlice(PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices forwards from a single node.
- forwardSlice(Set<PDGNode>) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Walks outgoing edges transitively from every criterion node.
- forwardSliceControlOnly(PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices forwards over control dependences only, leaving this slicer's settings untouched.
- forwardSliceDataOnly(PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices forwards over data dependences only, leaving this slicer's settings untouched.
- forwardSliceWithFilter(PDGNode, Predicate<PDGNode>) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Slices forwards, stopping the walk at any node the filter rejects.
- Frame - Class in com.tonic.analysis.absexec
-
One abstract execution path through a method.
- FRAME_EXCEPTION - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A frame was unwound because its method exited by exception.
- FRAME_LOCALS_MISMATCH - com.tonic.analysis.verifier.VerificationErrorType
-
The locals a declared frame promises differ from those the verifier derived at that offset.
- FRAME_POP - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A frame was popped after its method returned normally.
- FRAME_PUSH - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A frame was pushed onto the call stack for a method about to run.
- FRAME_STACK_MISMATCH - com.tonic.analysis.verifier.VerificationErrorType
-
The operand stack a declared frame promises differs from the one the verifier derived.
- FRAME_TYPE_MISMATCH - com.tonic.analysis.verifier.VerificationErrorType
-
An individual slot in a declared frame names a type incompatible with the computed one.
- FrameComparator - Class in com.tonic.analysis.verifier.stackmap
-
Slot-by-slot comparison of declared StackMapTable frames against dataflow-computed frames.
- FrameComparator() - Constructor for class com.tonic.analysis.verifier.stackmap.FrameComparator
- FrameComparator.FrameMismatch - Class in com.tonic.analysis.verifier.stackmap
-
One difference between a declared and a computed frame slot; critical mismatches are stack-side.
- FrameComparator.FrameMismatch.Location - Enum in com.tonic.analysis.verifier.stackmap
-
Which frame area the mismatch is in.
- frameException(String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a frame-exception event.
- FrameGenerator - Class in com.tonic.analysis.frame
-
Generates StackMapTable frames for a method.
- FrameGenerator(ConstPool) - Constructor for class com.tonic.analysis.frame.FrameGenerator
-
Constructs a FrameGenerator for the given constant pool.
- FrameMismatch(FrameComparator.FrameMismatch.Location, int, VerificationType, VerificationType, String, boolean) - Constructor for class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- framePop(String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a frame-pop event.
- framePush(String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a frame-push event.
- frem() - Method in class com.tonic.builder.CodeBuilder
-
Appends
frem, taking the remainder of the top two float values. - FREM - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Float remainder, taking the sign of the dividend; a zero divisor yields NaN.
- FREM - com.tonic.util.Opcode
-
Pops two floats and pushes the remainder of a truncating division, taking the sign of the dividend.
- freturn() - Method in class com.tonic.builder.CodeBuilder
-
Appends
freturn, returning a float. - FRETURN - com.tonic.util.Opcode
-
Pops a float and returns it to the caller, discarding the rest of the frame.
- FRETURN - com.tonic.util.ReturnType
-
Float return instruction.
- FRETURN - Static variable in interface com.tonic.type.AccessFlags
- from(SimulationResult) - Static method in class com.tonic.analysis.simulation.query.PathQuery
-
Creates a path query from a simulation result, indexing its successor and predecessor edges.
- from(SimulationResult) - Static method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Builds the def-use flow graph over a completed simulation.
- from(AllocationListener) - Static method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
-
Snapshots the counts a listener collected during simulation.
- from(ControlFlowListener) - Static method in class com.tonic.analysis.simulation.metrics.PathMetrics
-
Captures the counters a listener has accumulated so far.
- from(FieldAccessListener) - Static method in class com.tonic.analysis.simulation.metrics.AccessMetrics
-
Snapshots the counts a listener accumulated.
- from(MethodCallListener) - Static method in class com.tonic.analysis.simulation.metrics.CallMetrics
-
Snapshots the counters a call listener accumulated.
- from(StackOperationListener) - Static method in class com.tonic.analysis.simulation.metrics.StackMetrics
-
Snapshots the counts a listener accumulated.
- fromAccessFlags(int) - Static method in enum com.tonic.analysis.source.ast.decl.Modifier
-
Decodes class file access flags into modifiers; DEFAULT has no flag bit and is never produced.
- fromCode(int) - Static method in enum com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Looks up the element type for a NEWARRAY atype code.
- fromCode(int) - Static method in enum com.tonic.util.Opcode
-
Retrieves the Opcode enum constant corresponding to the specified bytecode value.
- fromDescriptor(char) - Static method in class com.tonic.analysis.frame.VerificationType
-
Gets a verification type from a type descriptor character.
- fromDescriptor(String) - Static method in class com.tonic.analysis.ssa.type.ArrayType
-
Creates an array type from a descriptor string.
- fromDescriptor(String) - Static method in interface com.tonic.analysis.ssa.type.IRType
-
Parses a JVM type descriptor.
- fromDescriptor(String) - Static method in enum com.tonic.util.ReturnType
-
Determines the appropriate return type based on a method descriptor.
- fromDescriptor(String, int) - Static method in class com.tonic.analysis.frame.VerificationType
-
Gets a verification type from a full type descriptor.
- fromInternalName(String) - Static method in interface com.tonic.analysis.ssa.type.IRType
-
Builds a reference type from an internal class name, accepting an array descriptor as well since that is how array types appear in the constant pool.
- fromIRType(IRType) - Static method in interface com.tonic.analysis.source.ast.type.SourceType
-
Creates a SourceType from an IR type.
- fromLine(int) - Static method in class com.tonic.analysis.source.ast.SourceLocation
-
Creates a location with only a line number.
- fromMethod(MethodEntry, String) - Static method in class com.tonic.analysis.similarity.MethodSignature
-
Builds a signature from a method entry, analyzing its bytecode when present.
- fromMethodEntry(MethodEntry, ConstPool) - Static method in class com.tonic.analysis.frame.TypeState
-
Creates the initial TypeState from a method descriptor and access flags.
- fromOffset(int) - Static method in class com.tonic.analysis.source.ast.SourceLocation
-
Creates a location with only a bytecode offset.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Looks up the arithmetic type for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Looks up the shift type for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Looks up the compare type for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Looks up the branch type for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Looks up the conversion type for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.DupInstruction.DupType
-
Looks up the duplication variant for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.GetFieldInstruction.FieldType
-
Looks up the field-read kind for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.GotoInstruction.GotoType
-
Looks up the goto width for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
-
Looks up the narrowing type for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.analysis.instruction.PutFieldInstruction.FieldType
-
Looks up the field-write kind for a JVM opcode.
- fromOpcode(int) - Static method in enum com.tonic.util.ReturnType
-
Retrieves the ReturnType corresponding to the specified opcode.
- fromPrimitive(PrimitiveType) - Static method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
-
Maps an IR primitive type onto its source type constant.
- fromSSA(CodeWriter, IRMethod) - Static method in class com.tonic.analysis.ssa.SSABridge
-
Lowers an SSA-form IRMethod back to bytecode and refreshes the writer to reflect it.
- fromSSA(Value, IRInstruction) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Wraps an SSA value, adopting its type when it is present.
- fromString(String) - Static method in enum com.tonic.analysis.query.ast.ArgumentType
-
Parses a case-insensitive type keyword.
- fstore(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a float store to a local slot.
- FSTORE - com.tonic.util.Opcode
-
Pops a float and stores it in the local variable at the given index.
- FSTORE - Static variable in interface com.tonic.type.AccessFlags
- FSTORE_0 - com.tonic.util.Opcode
-
Pops a float and stores it in local variable 0.
- FSTORE_1 - com.tonic.util.Opcode
-
Pops a float and stores it in local variable 1.
- FSTORE_2 - com.tonic.util.Opcode
-
Pops a float and stores it in local variable 2.
- FSTORE_3 - com.tonic.util.Opcode
-
Pops a float and stores it in local variable 3.
- FStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM FSTORE instruction.
- FStoreInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.FStoreInstruction
-
Constructs an FStoreInstruction.
- fsub() - Method in class com.tonic.builder.CodeBuilder
-
Appends
fsub, subtracting the top two float values. - FSUB - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Subtracts the topmost float from the one beneath it.
- FSUB - com.tonic.util.Opcode
-
Pops two floats and pushes the lower one minus the upper one.
- FULL - com.tonic.analysis.query.ast.RunSpec.TraceMode
-
Keep every event for the whole run; the most expensive mode in memory and only practical for short executions.
- FULL_INT - Static variable in class com.tonic.analysis.ssa.transform.ValueRange
- FullFrame - Class in com.tonic.parser.attribute.stack
-
Represents a FullFrame in the StackMapTable attribute.
- FullFrame(int, ClassFile, ConstPool) - Constructor for class com.tonic.parser.attribute.stack.FullFrame
-
Constructs a FullFrame by reading from a class file.
- FullFrame(int, List<VerificationTypeInfo>, List<VerificationTypeInfo>) - Constructor for class com.tonic.parser.attribute.stack.FullFrame
-
Constructs a FullFrame programmatically.
- fullObjectModel() - Static method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
-
Creates a preset enabling the full object/runtime-model lowering via the jvm_* runtime ABI.
- functionalConstructorParamType(String, int, int) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves the declared type of a constructor parameter that expects a functional argument.
G
- gap() - Static method in class com.tonic.analysis.query.ast.Condition.Sequence.Element
-
Creates the gap element that matches any run of instructions.
- ge(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean greater-or-equal comparison node.
- GE - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Greater-than-or-equal relational test,
>=. - GE - com.tonic.analysis.ssa.ir.CompareOp
-
Greater or equal.
- generateArrayConstructorMethodName() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Generates a unique name for a synthetic array constructor method, advancing the counter.
- generateGetter(ClassFile, FieldEntry, boolean) - Static method in class com.tonic.analysis.ClassFactory
-
Generates a getter named
get<Field>for a field. - generateGetter(ClassFile, FieldEntry, String, boolean) - Static method in class com.tonic.analysis.ClassFactory
-
Generates a getter under a caller-chosen name for a field.
- generateLambdaMethodName() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Generates a unique name for a synthetic lambda method, advancing the counter.
- generateSetter(ClassFile, FieldEntry, boolean) - Static method in class com.tonic.analysis.ClassFactory
-
Generates a setter named
set<Field>for a field. - generateSetter(ClassFile, FieldEntry, String, boolean) - Static method in class com.tonic.analysis.ClassFactory
-
Generates a setter under a caller-chosen name for a field.
- generateSyntheticName(SSAValue) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
Generates a synthetic name based on the value's type.
- GenericAttribute - Class in com.tonic.parser.attribute
-
A fallback attribute for unrecognized attribute names, holding the raw info bytes.
- GenericAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.GenericAttribute
-
Creates the attribute shell for parsing, attached to a class.
- GenericAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.GenericAttribute
-
Creates the attribute shell for parsing, attached to a member.
- GenericSourceType - Class in com.tonic.analysis.source.ast.type
-
A parameterized reference type such as List<String>; the type arguments are source-only and erase away in toIRType.
- GenericSourceType(ReferenceSourceType, List<SourceType>) - Constructor for class com.tonic.analysis.source.ast.type.GenericSourceType
-
Creates a generic type over a copy of the type argument list.
- GenericSourceType(String, SourceType...) - Constructor for class com.tonic.analysis.source.ast.type.GenericSourceType
-
Creates a generic type from a class name and type arguments.
- GenericSourceType(String, List<SourceType>) - Constructor for class com.tonic.analysis.source.ast.type.GenericSourceType
-
Creates a generic type from a class name and a type argument list.
- get() - Method in class com.tonic.analysis.query.value.Value.BoolValue
- get() - Method in class com.tonic.analysis.query.value.Value.IntValue
- get() - Method in class com.tonic.analysis.query.value.Value.RealValue
- get() - Method in class com.tonic.analysis.query.value.Value.RegexValue
- get() - Method in class com.tonic.analysis.query.value.Value.SetValue
- get() - Method in class com.tonic.analysis.query.value.Value.StrValue
- get() - Method in class com.tonic.analysis.query.value.Value.TypeValue
- get(int) - Method in class com.tonic.analysis.absexec.Variables
-
Reads a slot, returning null when the index is out of range or the slot is unset.
- get(int) - Method in class com.tonic.analysis.execution.debug.LocalsSnapshot
- get(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads an element as a boxed value or reference.
- get(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Reads a slot.
- get(int) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Reads a value by absolute index from the bottom.
- get(int) - Method in class com.tonic.analysis.simulation.state.LocalState
-
Reads a slot.
- get(int) - Method in class com.tonic.analysis.source.ast.NodeList
- get(Subject) - Method in interface com.tonic.analysis.query.eval.AttributeRegistry.Attribute
-
Reads this attribute off a subject.
- get(ClassFile, ConstPool, MemberEntry) - Static method in class com.tonic.parser.attribute.Attribute
-
Factory method to instantiate the appropriate Attribute subclass based on the attribute name.
- get(String) - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
- get(String) - Method in class com.tonic.parser.ClassPool
-
Retrieves ClassFile by internal name.
- getAccess() - Method in class com.tonic.parser.ClassFile
- getAccess() - Method in class com.tonic.parser.MemberEntry
- getAccessFlags() - Method in class com.tonic.parser.attribute.table.MethodParameter
- getActualIn(int) - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
-
Looks up an attached actual-in node by the parameter position it feeds.
- getActualInCount() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getActualIns() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getActualIns(SDGCallNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
- getActualOut() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getActualOuts(SDGCallNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Collects the actual-out node of a call site, if it has one.
- getActualSSAValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
-
Narrows the actual argument to an SSA value.
- getActualValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- getAdditionalTransforms() - Method in class com.tonic.analysis.source.decompile.DecompilerConfig
- getAffectedBlocks() - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Collects the blocks the sliced nodes belong to, skipping nodes with no block.
- getAffinityPinnedValues() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
- getAll() - Method in class com.tonic.analysis.simulation.state.LocalState
- getAllAncestors() - Method in class com.tonic.renamer.hierarchy.ClassNode
-
Walks superclasses and interfaces transitively.
- getAllArraySites() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getAllBreakpoints() - Method in class com.tonic.analysis.execution.debug.BreakpointManager
- getAllClasses() - Method in class com.tonic.renamer.RenamerContext
- getAllDependentOn(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Finds every node reachable from the given node over one outgoing edge, of any kind.
- getAllDescendants() - Method in class com.tonic.renamer.hierarchy.ClassNode
-
Walks subclasses and implementors transitively.
- getAllEdges() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getAllEdges() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getAllElements() - Method in class com.tonic.analysis.simulation.heap.SimArray
- getAllFieldReads() - Method in class com.tonic.analysis.xref.XrefDatabase
- getAllFieldWrites() - Method in class com.tonic.analysis.xref.XrefDatabase
- getAllFingerprints() - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
- getAllInstantiations() - Method in class com.tonic.analysis.xref.XrefDatabase
- getAllInstructions() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Gets all instructions including phi instructions.
- getAllIssues() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- getAllIssues() - Method in class com.tonic.analysis.verifier.VerificationResult
- getAllMethodCalls() - Method in class com.tonic.analysis.xref.XrefDatabase
- getAllMethods() - Method in class com.tonic.analysis.cpg.CPGIndex
- getAllNodes() - Method in class com.tonic.analysis.callgraph.CallGraph
-
Returns all nodes in the call graph.
- getAllNodes() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getAllNodes() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
- getAllNodes() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getAllNodes() - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
- getAllObjectSites() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getAllocation() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
- getAllocationsByType() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- getAllocationsByType() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- getAllocationSites() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- getAllocationsOf(String) - Method in class com.tonic.analysis.simulation.listener.AllocationListener
-
Filters the recorded sites to one type.
- getAllPaths(IRBlock, IRBlock) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets all paths between two blocks, capped at 100 results.
- getAllPaths(IRBlock, IRBlock, int) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets all paths between two blocks with a maximum limit.
- getAllScores() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getAllSites() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getAllSources(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Finds every node reaching the given node over one incoming edge, of any kind.
- getAllStates() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getAllStopBlocks() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Flattens the stop blocks of every enclosing scope so an inner structure honours the outer exit points too.
- getAllTypeStates() - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Runs the analysis if needed and exposes every value's type state.
- getAllXrefs() - Method in class com.tonic.analysis.xref.XrefDatabase
- getAlternative(int) - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
-
Reads one alternative by position.
- getAlternativeCount() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- getAlternatives() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getAnnotations() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- getAnnotations() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- getAnnotations() - Method in class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
- getAnnotationType() - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- getAnnotationType() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- getAnyType() - Method in class com.tonic.analysis.typeinference.TypeSet
-
Returns an arbitrary member to stand in for the set.
- getAnyType() - Method in class com.tonic.analysis.typeinference.TypeState
- getArgCpIndices() - Method in class com.tonic.analysis.Bootstraps.BootstrapRef
- getArgumentCount() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getArgumentCount() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getArgumentCount() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getArgumentCount(Instruction) - Static method in class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
-
Counts the declared arguments of an invoke, receiver excluded.
- getArguments() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getArguments() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getArguments() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getArguments() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getArguments() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getArgumentsAndReturnSize(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Sums the argument slots and the return type slots.
- getArgumentsSize() - Method in class com.tonic.type.TypeDescriptor
- getArgumentsSize(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Sums the local variable slots the arguments occupy, counting long and double as two.
- getArgumentTypes() - Method in class com.tonic.type.TypeDescriptor
- getArgumentTypes(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Parses the parameter types between the parentheses.
- getArithmeticOpHistogram() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getArms() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- getArray() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- getArray() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- getArray(ObjectInstance) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Views a reference as an array.
- getArray(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getArrayAllocationCount() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- getArrayAllocations() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getArrayConstructorCounter() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getArrayConstructors() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getArrayCount() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getArrayCount() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- getArrayDimensions() - Method in class com.tonic.parser.util.TypeInfo
- getArrayDimensions(String) - Static method in class com.tonic.util.DescriptorUtil
-
Gets the number of array dimensions.
- getArrayElements(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Collects the elements of every array a reference may point to.
- getArrayElementType(String) - Static method in class com.tonic.util.DescriptorUtil
-
Gets the element type from an array descriptor.
- getArrayReadCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getArrayReads() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getArrayType() - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
- getArrayTypeDescriptor() - Method in class com.tonic.analysis.source.lower.SyntheticArrayConstructor
- getArrayTypeFilter() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- getArrayTypeFilter() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- getArrayUsageFlags() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getArrayWriteCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getArrayWrites() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getArrowHead() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle
- getAssignability(String, Supplier<Boolean>) - Method in class com.tonic.analysis.execution.resolve.ResolutionCache
-
Returns the cached assignability verdict, computing and caching it on a miss.
- getAssignedFields(IRMethod) - Method in class com.tonic.analysis.simulation.heap.ConstructorAnalyzer
-
Lists the instance fields a constructor writes, ignoring the values written.
- getAttribute(String) - Method in class com.tonic.analysis.query.planner.QueryMatch
-
Looks up one computed attribute.
- getAttributes() - Method in class com.tonic.analysis.query.planner.QueryMatch
- getAttributes() - Method in class com.tonic.parser.attribute.CodeAttribute
- getAttributes() - Method in class com.tonic.parser.attribute.RecordAttribute.Component
- getAttributes() - Method in class com.tonic.parser.MemberEntry
- getAvailableLevelsCount() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getAvailableLevelsMask() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getAverageCallsPerMethod() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getAverageVisitsPerBlock() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
-
Divides total block entries by distinct blocks visited.
- getBackEdges() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
- getBaseElementType() - Method in class com.tonic.analysis.ssa.type.ArrayType
-
Gets the base element type for multi-dimensional arrays.
- getBaseOperator(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Gets the base operator for compound assignment (e.g., ADD_ASSIGN -> ADD).
- getBinding() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Component
- getBlock() - Method in class com.tonic.analysis.cpg.node.BlockNode
- getBlock() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getBlock() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getBlock() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- getBlockBody() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Returns the body as a statement block.
- getBlockCount() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getBlockCount() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getBlockCount() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getBlockCount() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getBlockCount() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Gets the number of basic blocks in this method.
- getBlockCountBucket() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getBlockEndOffsets() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getBlockId() - Method in class com.tonic.analysis.cpg.node.BlockNode
- getBlockId() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- getBlockId() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getBlockLabels() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getBlockLabels() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getBlockMapping() - Method in class com.tonic.analysis.ssa.util.IRMethodCloner
-
Gets the block mapping from original to cloned blocks.
- getBlockNodes() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getBlockOffsets() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getBlocks() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getBlocks() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
- getBlocks() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getBlockSequence() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getBlocksInOrder() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Gets blocks in breadth-first order starting from entry block.
- getBlocksReaching(IRBlock) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets all blocks that can reach a given block, the block itself included.
- getBlockStatements() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getBlocksVisited() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getBlocksVisited() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getBlockTerminatorNodes() - Method in class com.tonic.analysis.pdg.PDGBuilder
- getBlockToLoop() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
- getBlockToNodes() - Method in class com.tonic.analysis.pdg.PDG
- getBlockToRegion() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getBlockVisitCounts() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getBody() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getBody() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getBody() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getBody() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- getBody() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getBody() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getBody() - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- getBody() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- getBody() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getBoolean(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a boolean element.
- getBootstrapArguments() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
- getBootstrapArguments() - Method in class com.tonic.parser.attribute.table.BootstrapMethod
- getBootstrapClassArgs() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getBootstrapDescriptor() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getBootstrapInfo() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getBootstrapMethod() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
- getBootstrapMethodAttrIndex() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Gets the bootstrap method attribute index from the InvokeDynamicItem.
- getBootstrapMethodAttrIndex() - Method in class com.tonic.parser.constpool.ConstantDynamicItem
-
Gets the bootstrap method attribute index.
- getBootstrapMethodAttrIndex() - Method in class com.tonic.parser.constpool.structure.ConstantDynamic
- getBootstrapMethodAttrIndex() - Method in class com.tonic.parser.constpool.structure.InvokeDynamic
- getBootstrapMethodIndex() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
- getBootstrapMethodIndex() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
- getBootstrapMethodIndex() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getBootstrapMethodIndex() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- getBootstrapMethodRef() - Method in class com.tonic.parser.attribute.table.BootstrapMethod
- getBootstrapMethods() - Method in class com.tonic.parser.attribute.BootstrapMethodsAttribute
- getBootstrapMethodsAttribute() - Method in class com.tonic.parser.ClassFile
-
Finds this class's
BootstrapMethodsAttribute. - getBootstrapName() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getBootstrapName() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getBootstrapOwner() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getBootstrapOwner() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getBorderColor() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle
- getBound() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- getBound(int) - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- getBoundCount() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- getBoundKind() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- getBounds() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- getBranchCount() - Method in class com.tonic.analysis.similarity.MethodSignature
- getBranchCount() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getBranchCount() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getBranches() - Method in class com.tonic.analysis.absexec.InsnContext
- getBranchesTaken() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getBranchesTotal() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getBranchOffset() - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Returns the branch offset.
- getBranchOffset() - Method in class com.tonic.analysis.instruction.GotoInstruction
-
Returns the branch offset.
- getBranchOffset() - Method in class com.tonic.analysis.instruction.JsrInstruction
- getBranchOffsetWide() - Method in class com.tonic.analysis.instruction.GotoInstruction
-
Returns the wide branch offset.
- getBranchScopedVariables() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getBranchTakenRatio() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
-
Computes the fraction of observed branches that were taken.
- getBranchTarget() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getBranchTargets() - Method in class com.tonic.analysis.CodeWriter
- getBranchTypeHistogram() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getBreakFrame(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Resolves the loop/switch frame a
breaktargets - the labeled frame, else the innermost. - getBreakpoint(String) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Looks up a breakpoint by key.
- getBreakpointCount() - Method in class com.tonic.analysis.execution.debug.BreakpointManager
- getBreakpoints() - Method in class com.tonic.analysis.execution.debug.DebugSession
- getBreakpointsForMethod(String, String, String) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Lists the breakpoints registered for one method.
- getBreakTarget(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
The block a
breakjumps to - the labeled frame's break target, else the innermost frame's. - getBuildTimeMs() - Method in class com.tonic.analysis.xref.XrefDatabase
- getByProperty(String, Object) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Looks up nodes carrying a property with the given key and value.
- getByte(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a byte element.
- getBytecode() - Method in class com.tonic.analysis.CodeWriter
- getBytecode() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getBytecodeHash() - Method in class com.tonic.analysis.similarity.MethodSignature
- getBytecodeOffset() - Method in class com.tonic.analysis.callgraph.CallSite
- getBytecodeOffset() - Method in class com.tonic.analysis.pattern.SearchResult
- getBytecodeOffset() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getBytecodeOffset() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Stamped by the lifter so SSA instructions can be correlated back to their source bytecode (e.g.
- getBytecodeOffset() - Method in class com.tonic.analysis.verifier.VerificationError
- getBytecodeOffset() - Method in class com.tonic.analysis.xref.Xref
- getBytecodeSize() - Method in class com.tonic.analysis.CodeWriter
-
Returns the size of the bytecode array in bytes.
- getBytes() - Method in class com.tonic.parser.AbstractParser
-
Gets the classes origonal bytes
- getByType(CPGNodeType) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Looks up all nodes of a given node type.
- getCachedExpression(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getCallChain() - Method in class com.tonic.analysis.simulation.state.CallStackState
- getCallChainString() - Method in class com.tonic.analysis.simulation.state.CallStackState
-
Renders the call chain for debugging.
- getCallCount() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- getCallCount() - Method in class com.tonic.analysis.similarity.MethodSignature
- getCallCount(String, String, String) - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
-
Looks up how many times one exact method was called.
- getCallCounts() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getCallDepth() - Method in class com.tonic.analysis.execution.debug.DebugState
- getCallDepth() - Method in class com.tonic.analysis.simulation.core.SimulationState
- getCallDepth() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getCalleeCount() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- getCallees() - Method in class com.tonic.analysis.callgraph.CallGraphNode
-
Collects the distinct methods called by this method.
- getCallees(MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all methods called by the specified method.
- getCallees(MethodEntry) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all methods called by the specified method entry.
- getCallees(String, String, String) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all methods called by the specified method.
- getCaller() - Method in class com.tonic.analysis.callgraph.CallSite
- getCallers() - Method in class com.tonic.analysis.callgraph.CallGraphNode
-
Collects the distinct methods that call this method.
- getCallers(MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all methods that call the specified method.
- getCallers(MethodEntry) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all methods that call the specified method entry.
- getCallers(String, String, String) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all methods that call the specified method.
- getCallerState() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- getCallGraph() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getCallGraph() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getCallGraph() - Method in class com.tonic.analysis.pdg.sdg.SDGBuilder
- getCallGraph() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- getCallNode() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- getCallNode() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- getCallNodes(SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Collects the call sites of a procedure from its PDG, plus any registered call node not already in that PDG.
- getCallNodesCount() - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Counts the call nodes across every registered node.
- getCallSequence() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getCallSite() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getCallSite() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- getCallSitesFor(MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all call sites where the specified method is called.
- getCallSitesFrom(MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all call sites made from the specified method.
- getCallSitesIn(MethodReference) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Finds the call sites appearing in a method's PDG.
- getCallSitesTo(MethodReference) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Finds the call sites resolved to a method.
- getCallStack() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
- getCallStack() - Method in class com.tonic.analysis.execution.debug.DebugSession
- getCallStack() - Method in class com.tonic.analysis.execution.debug.DebugState
- getCallStack() - Method in interface com.tonic.analysis.execution.invoke.InvocationContext
- getCallStack() - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
- getCallsTo(String, String) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Streams call sites targeting a method name regardless of descriptor.
- getCallsTo(String, String) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Looks up call sites targeting a method name regardless of descriptor.
- getCallsTo(String, String, String) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Streams call sites targeting an exact method signature.
- getCallsTo(String, String, String) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Looks up call sites targeting an exact method signature.
- getCallTargets(SDGCallNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
- getCallToTargets() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getCapabilities() - Method in interface com.tonic.analysis.execution.listener.CapableListener
-
Returns the set of capabilities this listener requires.
- getCapabilities() - Method in class com.tonic.analysis.execution.listener.TracingListener
- getCapturedArgCount(String) - Method in class com.tonic.analysis.execution.invoke.LambdaProxyFactory
-
Counts the parameters in a call site descriptor, which equals the number of captured arguments.
- getCaptures() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getCase(int) - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
-
Gets the target block for a specific case value.
- getCaseCount() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getCases() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getCases() - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- getCastOp(SourceType, SourceType) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Gets the IR unary op for type casting between primitives.
- getCatches() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getCatchType() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- getCatchType() - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- getCategory() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- getCategory() - Method in enum com.tonic.analysis.execution.state.ValueTag
- getCategory() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- getCfgEdgeTypeDistribution() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- getChar(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a char element.
- getCheckType() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getChildren() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Lists the direct children a node holds, in source order.
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- getChildren() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- getClass(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Finds a top-level class by simple name.
- getClass(String) - Method in class com.tonic.renamer.RenamerContext
-
Gets a class from the ClassPool by name.
- getClass(String, Supplier<ClassFile>) - Method in class com.tonic.analysis.execution.resolve.ResolutionCache
-
Returns the cached class, loading and caching it on a miss.
- getClassAttributes() - Method in class com.tonic.parser.ClassFile
- getClasses() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getClasses() - Method in class com.tonic.parser.attribute.InnerClassesAttribute
- getClasses() - Method in class com.tonic.parser.attribute.NestMembersAttribute
- getClasses() - Method in class com.tonic.parser.attribute.PermittedSubclassesAttribute
- getClasses() - Method in class com.tonic.parser.ClassPool
- getClassesInPackage(String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Selects pool classes whose name starts with the given prefix.
- getClassesInstrumented() - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport
- getClassesReferencedByClass(String) - Method in class com.tonic.analysis.xref.XrefDatabase
- getClassesReferencingClass(String) - Method in class com.tonic.analysis.xref.XrefDatabase
- getClassFile() - Method in class com.tonic.analysis.dependency.DependencyNode
- getClassFile() - Method in class com.tonic.analysis.pattern.SearchResult
- getClassFile() - Method in class com.tonic.parser.attribute.CodeAttribute
-
Returns the class file that owns this code attribute.
- getClassFile() - Method in class com.tonic.parser.attribute.SourceFileAttribute
- getClassFile() - Method in class com.tonic.parser.ConstPool
- getClassFile() - Method in class com.tonic.parser.MemberEntry
- getClassFile() - Method in class com.tonic.renamer.hierarchy.ClassNode
- getClassIndex() - Method in class com.tonic.analysis.frame.VerificationType.ObjectType
- getClassIndex() - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Returns the class index used by this instruction.
- getClassIndex() - Method in class com.tonic.analysis.instruction.CheckCastInstruction
-
Returns the class index used by this instruction.
- getClassIndex() - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
-
Returns the class index used by this instruction.
- getClassIndex() - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
- getClassIndex() - Method in class com.tonic.analysis.instruction.NewObjectInstruction
- getClassIndex() - Method in class com.tonic.parser.attribute.EnclosingMethodAttribute
- getClassIndex() - Method in class com.tonic.parser.constpool.structure.FieldRef
- getClassIndex() - Method in class com.tonic.parser.constpool.structure.InterfaceRef
- getClassIndex() - Method in class com.tonic.parser.constpool.structure.MethodRef
- getClassMapping(String) - Method in class com.tonic.renamer.mapping.MappingStore
-
Resolves the replacement name for a class.
- getClassMappings() - Method in class com.tonic.renamer.mapping.MappingStore
- getClassName() - Method in class com.tonic.analysis.dependency.DependencyNode
- getClassName() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getClassName() - Method in class com.tonic.analysis.execution.heap.ObjectInstance
- getClassName() - Method in class com.tonic.analysis.frame.VerificationType.ObjectType
- getClassName() - Method in class com.tonic.analysis.pattern.SearchResult
- getClassName() - Method in class com.tonic.analysis.similarity.MethodSignature
- getClassName() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- getClassName() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getClassName() - Method in class com.tonic.analysis.ssa.ir.NewInstruction
- getClassName() - Method in class com.tonic.analysis.ssa.value.ClassConstant
-
Gets the class name in internal format.
- getClassName() - Method in class com.tonic.analysis.verifier.VerificationError
- getClassName() - Method in class com.tonic.analysis.verifier.VerificationResult
- getClassName() - Method in class com.tonic.parser.ClassFile
-
Retrieves the class name from the constant pool.
- getClassName() - Method in class com.tonic.parser.constpool.ClassRefItem
-
Retrieves the class name from the constant pool.
- getClassName() - Method in class com.tonic.parser.constpool.FieldRefItem
-
Gets the class name from constant pool.
- getClassName() - Method in class com.tonic.parser.constpool.MethodRefItem
-
Gets the class name from constant pool.
- getClassName() - Method in class com.tonic.parser.util.TypeInfo
- getClassName() - Method in class com.tonic.type.TypeDescriptor
- getClassName(int) - Method in class com.tonic.parser.ConstPool
-
Gets the class name from a ClassRefItem at the given constant pool index.
- getClassPool() - Method in class com.tonic.analysis.callgraph.CallGraph
- getClassPool() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getClassPool() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getClassPool() - Method in class com.tonic.analysis.execution.resolve.ClassResolver
- getClassPool() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- getClassPool() - Method in class com.tonic.analysis.source.lower.TypeResolver
- getClassPool() - Method in class com.tonic.analysis.verifier.Verifier
- getClassPool() - Method in class com.tonic.parser.ClassFile
- getClassPool() - Method in class com.tonic.renamer.RenamerContext
- getClassResolver() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getClassResolver() - Method in interface com.tonic.analysis.execution.invoke.InvocationContext
- getClassResolver() - Method in interface com.tonic.analysis.execution.invoke.NativeContext
- getClassSpan() - Method in class com.tonic.analysis.source.decompile.DecompileResult
- getClassTransforms() - Method in class com.tonic.analysis.ssa.SSA
-
Gets the list of registered class-level transforms.
- getClassType() - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- getClassType() - Method in class com.tonic.analysis.ssa.value.ClassConstant
- getCode() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getCode() - Method in enum com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
- getCode() - Method in class com.tonic.parser.attribute.CodeAttribute
- getCode() - Method in enum com.tonic.util.Opcode
- getCodeAttribute() - Method in class com.tonic.analysis.CodeWriter
- getCodeAttribute() - Method in class com.tonic.parser.MethodEntry
-
Retrieves the CodeAttribute associated with this method.
- getCodeWriter() - Method in class com.tonic.analysis.Bytecode
- getColor() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle
- getColumn() - Method in exception com.tonic.analysis.source.parser.ParseException
- getColumn() - Method in class com.tonic.analysis.source.parser.SourcePosition
- getColumn() - Method in class com.tonic.analysis.source.parser.Token
- getCompiledMethod() - Method in class com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
- getCompiledOwner() - Method in class com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
- getComplexityIndicator() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
-
Computes a McCabe-like score of branches plus switches plus one.
- getComponentNameAndDescriptors() - Method in class com.tonic.parser.attribute.RecordAttribute
-
Resolves every component's name and descriptor against the constant pool.
- getComponents() - Method in class com.tonic.parser.attribute.RecordAttribute
- getComponentType() - Method in class com.tonic.analysis.execution.heap.ArrayInstance
- getComponentType() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- getComputed() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- getCondition() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getCondition() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getCondition() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- getCondition() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getCondition() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- getCondition() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- getCondition() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- getConditionBlocks() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getConfidence() - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- getConfig() - Method in class com.tonic.analysis.verifier.Verifier
- getConflictingName() - Method in exception com.tonic.renamer.exception.NameConflictException
- getConstant() - Method in class com.tonic.analysis.ssa.ir.ConstantInstruction
- getConstant(String) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Finds an enum constant by name.
- getConstantPoolIndex() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
- getConstantPoolIndex() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
- getConstants() - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Scans every simulated state for constant stack and local values.
- getConstants() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getConstantType() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
-
Classifies the referenced constant-pool entry.
- getConstantType() - Method in class com.tonic.analysis.instruction.LdcInstruction
-
Classifies the referenced constant-pool entry.
- getConstantType() - Method in class com.tonic.analysis.instruction.LdcWInstruction
-
Classifies the referenced constant-pool entry.
- getConstantValue() - Method in class com.tonic.analysis.simulation.state.SimValue
- getConstantValueIndex() - Method in class com.tonic.parser.attribute.ConstantValueAttribute
- getConstNameIndex() - Method in class com.tonic.parser.attribute.annotation.EnumConst
- getConstPool() - Method in class com.tonic.analysis.Bytecode
- getConstPool() - Method in class com.tonic.analysis.CodeWriter
- getConstPool() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
- getConstPool() - Method in class com.tonic.analysis.instruction.LdcInstruction
- getConstPool() - Method in class com.tonic.analysis.instruction.LdcWInstruction
- getConstPool() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getConstPool() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getConstPool() - Method in class com.tonic.analysis.ssa.lower.BytecodeLowerer
- getConstPool() - Method in class com.tonic.analysis.ssa.SSA
-
Gets the constant pool associated with this SSA processor.
- getConstPool() - Method in class com.tonic.parser.ClassFile
- getConstPool() - Method in class com.tonic.parser.constpool.InterfaceRefItem
- getConstPool() - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
- getConstructor(SourceType...) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Finds a constructor by exact parameter types.
- getConstructors() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getConstructors() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getConstructors() - Method in class com.tonic.parser.ClassFile
- getConstValue() - Method in class com.tonic.analysis.instruction.IIncInstruction
- getConstValue() - Method in class com.tonic.analysis.instruction.WideIIncInstruction
-
Returns the constant value by which the local variable is incremented.
- getConstValue() - Method in class com.tonic.analysis.instruction.WideInstruction
- getContext() - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
- getContext() - Method in class com.tonic.analysis.simulation.core.SimulationEngine
- getContinueFrame(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Resolves the loop frame a
continuetargets - the labeled frame, else the innermost frame with a continue-target. - getContinueTarget() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getContinueTarget(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Gets the continue target for the current or labeled loop.
- getControlDependenceEdges() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getControlDependenceEdges() - Method in class com.tonic.analysis.pdg.PDG
- getControlDependentOn(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Finds the nodes whose execution is controlled by the given node.
- getControlEdgeCount() - Method in class com.tonic.analysis.pdg.PDG
- getControlFlowContext() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getControllingNodes(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Finds the nodes that control whether the given node executes.
- getConversionTargetType(UnaryOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Gets the target type descriptor for a type conversion operator.
- getCount() - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Returns the count of array elements.
- getCount() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
- getCount() - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
- getCountForType(String) - Method in class com.tonic.analysis.simulation.listener.AllocationListener
-
Looks up how many times one type was allocated.
- getCountForType(String) - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
-
Looks up one type's tally.
- getCoveredBlocks() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- getCpg() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getCpg() - Method in class com.tonic.analysis.cpg.query.CPGQuery
- getCpg() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
- getCpIndex() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
- getCpIndex() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
- getCpIndex() - Method in class com.tonic.analysis.instruction.LdcInstruction
- getCpIndex() - Method in class com.tonic.analysis.instruction.LdcWInstruction
- getCriterion() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getCriticalPaths() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getCurrentBlock() - Method in class com.tonic.analysis.simulation.core.SimulationState
- getCurrentBlock() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getCurrentClass() - Method in class com.tonic.analysis.source.lower.TypeResolver
- getCurrentDepth() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getCurrentFrame() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
- getCurrentFrame() - Method in class com.tonic.analysis.execution.debug.DebugSession
- getCurrentInstruction() - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Looks up the instruction at the current program counter.
- getCurrentInstruction() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Get the instruction at the current position.
- getCurrentLine() - Method in class com.tonic.analysis.execution.debug.DebugState
- getCurrentLine() - Method in class com.tonic.analysis.source.emit.IndentingWriter
- getCurrentMethod() - Static method in class com.tonic.analysis.callgraph.CallGraphBuilder
- getCurrentMethod() - Method in class com.tonic.analysis.execution.debug.DebugState
- getCurrentMethodName() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getCurrentMethodReturnType() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getCurrentNodes() - Method in class com.tonic.analysis.cpg.query.CPGQuery
- getCurrentOffset() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getCurrentPC() - Method in class com.tonic.analysis.execution.debug.DebugState
- getCurrentSourceLocal() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getCurrentState() - Method in class com.tonic.analysis.execution.debug.DebugSession
- getCurrentStatement() - Method in class com.tonic.analysis.source.editor.EditorContext
- getDatabase() - Method in class com.tonic.analysis.xref.XrefBuilder
- getDataDependenceEdges() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getDataDependenceEdges() - Method in class com.tonic.analysis.pdg.PDG
- getDataDependentOn(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Finds the nodes that consume values produced by the given node.
- getDataEdgeCount() - Method in class com.tonic.analysis.pdg.PDG
- getDataLayout() - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
- getDataSources(PDGNode) - Method in class com.tonic.analysis.pdg.PDG
-
Finds the nodes producing the values the given node consumes.
- getDebugExtension() - Method in class com.tonic.parser.attribute.SourceDebugExtensionAttribute
- getDeclared() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- getDeclaredType(String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getDeclaredVariables() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getDeclaredVariableTypes() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getDeclaringClass() - Method in class com.tonic.analysis.execution.resolve.ResolvedField
- getDeclaringClass() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- getDeconstructionComponents() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- getDefault() - Static method in class com.tonic.parser.ClassPool
-
Returns the shared default pool, lazily created with the JDK's classes loaded.
- getDefaultCase() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getDefaultEdgeStyle() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getDefaultNodeStyle() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getDefaultOffset() - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
- getDefaultOffset() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
- getDefaultTarget() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getDefaultTarget() - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- getDefaultValue() - Method in class com.tonic.parser.attribute.AnnotationDefaultAttribute
- getDefaultWeight() - Method in enum com.tonic.analysis.similarity.SimilarityMetric
- getDefinedIndices() - Method in class com.tonic.analysis.simulation.state.LocalState
- getDefinedValue() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getDefinedValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getDefinedValue(IRInstruction) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Gets the value defined by the specified instruction.
- getDefiningInstruction(SimValue) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Resolves the instruction that produced a value, falling back to the value's own recorded source instruction.
- getDefinition() - Method in class com.tonic.analysis.ssa.value.SSAValue
- getDefinition(SSAValue) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Gets the instruction that defines the specified value.
- getDefinitions() - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
- getDefUseChains() - Method in class com.tonic.analysis.pdg.PDGBuilder
- getDefUseChains() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getDefUseChains() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getDelegate() - Method in class com.tonic.analysis.source.editor.ExpressionEditor
- getDelegate() - Method in class com.tonic.analysis.source.editor.StatementEditor
- getDependencies() - Method in class com.tonic.analysis.dependency.DependencyNode
-
Collects the names of the classes this class depends on.
- getDependencies(SimValue) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Looks up the inputs a value was computed from.
- getDependencies(String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Looks up the direct dependencies recorded for a class.
- getDependenciesByType(DependencyType) - Method in class com.tonic.analysis.dependency.DependencyNode
-
Collects the classes this class depends on through a specific dependency kind.
- getDependencyCount() - Method in class com.tonic.analysis.dependency.DependencyNode
- getDependentCount() - Method in class com.tonic.analysis.dependency.DependencyNode
- getDependents() - Method in class com.tonic.analysis.dependency.DependencyNode
-
Collects the names of the classes that depend on this class.
- getDependents(SimValue) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Scans the dependency map for values computed from the given one.
- getDependents(String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Looks up the direct dependents recorded for a class.
- getDependentValue() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- getDepth() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
- getDepthAfter() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange
- getDepthHistory() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getDesc() - Method in class com.tonic.parser.MemberEntry
- getDescIndex() - Method in class com.tonic.parser.MemberEntry
- getDescription() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- getDescription() - Method in enum com.tonic.analysis.cpg.node.CPGNodeType
- getDescription() - Method in enum com.tonic.analysis.dataflow.DataFlowEdgeType
- getDescription() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getDescription() - Method in enum com.tonic.analysis.dataflow.DataFlowNodeType
- getDescription() - Method in class com.tonic.analysis.execution.listener.TraceEvent
- getDescription() - Method in enum com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
- getDescription() - Method in class com.tonic.analysis.pattern.SearchResult
- getDescription() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- getDescription() - Method in enum com.tonic.analysis.pdg.node.PDGNodeType
- getDescription() - Method in enum com.tonic.analysis.similarity.SimilarityMetric
- getDescription() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- getDescription() - Method in enum com.tonic.analysis.verifier.VerificationErrorType
- getDescription() - Method in enum com.tonic.analysis.xref.XrefType
- getDescriptor() - Method in class com.tonic.analysis.Bootstraps.BootstrapRef
- getDescriptor() - Method in class com.tonic.analysis.common.MethodReference
- getDescriptor() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getDescriptor() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
- getDescriptor() - Method in class com.tonic.analysis.execution.dispatch.FieldInfo
- getDescriptor() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
- getDescriptor() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- getDescriptor() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- getDescriptor() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
- getDescriptor() - Method in class com.tonic.analysis.instrumentation.HookDescriptor
- getDescriptor() - Method in class com.tonic.analysis.similarity.MethodSignature
- getDescriptor() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- getDescriptor() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- getDescriptor() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- getDescriptor() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getDescriptor() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getDescriptor() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getDescriptor() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getDescriptor() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getDescriptor() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getDescriptor() - Method in class com.tonic.analysis.source.lower.SyntheticArrayConstructor
- getDescriptor() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getDescriptor() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getDescriptor() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getDescriptor() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getDescriptor() - Method in class com.tonic.analysis.ssa.type.ArrayType
- getDescriptor() - Method in interface com.tonic.analysis.ssa.type.IRType
- getDescriptor() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- getDescriptor() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- getDescriptor() - Method in class com.tonic.analysis.ssa.type.VoidType
- getDescriptor() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- getDescriptor() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- getDescriptor() - Method in class com.tonic.analysis.ssa.value.MethodTypeConstant
- getDescriptor() - Method in class com.tonic.analysis.xref.FieldReference
- getDescriptor() - Method in class com.tonic.parser.constpool.ConstantDynamicItem
-
Retrieves the descriptor from the constant pool.
- getDescriptor() - Method in class com.tonic.parser.constpool.FieldRefItem
-
Gets the field descriptor from constant pool.
- getDescriptor() - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Retrieves the method descriptor from the constant pool.
- getDescriptor() - Method in class com.tonic.parser.constpool.InvokeDynamicItem
-
Retrieves the method descriptor from the constant pool.
- getDescriptor() - Method in class com.tonic.parser.constpool.MethodRefItem
-
Gets the method descriptor from constant pool.
- getDescriptor() - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
-
Resolves the descriptor string through the bound constant pool.
- getDescriptor() - Method in class com.tonic.parser.util.TypeInfo
- getDescriptor() - Method in class com.tonic.renamer.mapping.FieldMapping
- getDescriptor() - Method in class com.tonic.renamer.mapping.MethodMapping
- getDescriptor() - Method in class com.tonic.type.MethodHandle
- getDescriptor() - Method in class com.tonic.type.TypeDescriptor
- getDescriptor(Instruction) - Static method in class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
-
Reads the callee descriptor off an invoke; for invokedynamic the descriptor is cut out of the resolved call site signature.
- getDescriptorIndex() - Method in class com.tonic.parser.attribute.RecordAttribute.Component
- getDescriptorIndex() - Method in class com.tonic.parser.attribute.table.LocalVariableTableEntry
- getDescriptorIndex() - Method in class com.tonic.parser.constpool.structure.NameAndType
- getDescriptorPattern() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getDescriptorPattern() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- getDescriptorPattern() - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- getDescriptorRegex() - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- getDescriptorRemapper() - Method in class com.tonic.renamer.RenamerContext
- getDetailedReport() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Renders the summary followed by each critical, high, and medium unsanitized path.
- getDimensionCount() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getDimensions() - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
- getDimensions() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getDimensions() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- getDimensions() - Method in class com.tonic.analysis.source.lower.SyntheticArrayConstructor
- getDimensions() - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
- getDimensions() - Method in class com.tonic.analysis.ssa.type.ArrayType
- getDimensions() - Method in class com.tonic.type.TypeDescriptor
- getDisplayLabel() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
-
Returns the explicit label, falling back to the edge type's display name when unset.
- getDisplayName() - Method in class com.tonic.analysis.common.MethodReference
-
Renders the reference with the dotted class name and a summarized parameter list.
- getDisplayName() - Method in enum com.tonic.analysis.dataflow.DataFlowEdgeType
- getDisplayName() - Method in enum com.tonic.analysis.dataflow.DataFlowNodeType
- getDisplayName() - Method in enum com.tonic.analysis.pdg.node.PDGNodeType
- getDisplayName() - Method in class com.tonic.analysis.similarity.MethodSignature
- getDisplayName() - Method in enum com.tonic.analysis.similarity.SimilarityMetric
- getDisplayName() - Method in class com.tonic.analysis.xref.FieldReference
-
Renders the reference with a dotted class name and no descriptor.
- getDisplayName() - Method in enum com.tonic.analysis.xref.XrefType
- getDistinctFieldCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getDistinctFields() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getDistinctMethodCount() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getDistinctMethods() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getDistinctTransitions() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getDistinctTransitions() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getDistinctTypeCount() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- getDistinctTypeCount() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- getDominanceFrontier() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
- getDominanceFrontier(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Gets the dominance frontier of the specified block.
- getDominanceFrontiers() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Gets all blocks that appear in any dominance frontier.
- getDominanceTreeDepth() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- getDominatorTree() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getDominatorTree() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getDominatorTree() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getDominatorTree() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
- getDominatorTreeChildren() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
- getDominatorTreeChildren(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Gets the children of the specified block in the dominator tree.
- getDos() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getDouble(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a double element.
- getDouble(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Reads a slot as a double.
- getDoubleCompareOp(boolean) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Gets the comparison op for double values.
- getDupCount() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getDupCount() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getDynamicCalls() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getDynamicCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getEdgeCount() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getEdgeCount() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- getEdgeCount() - Method in class com.tonic.analysis.pdg.PDG
- getEdgeCount() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getEdgeCount(CPGEdgeType) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Counts edges of one type.
- getEdges() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getEdges() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- getEdges() - Method in class com.tonic.analysis.pdg.PDG
- getEdges() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getEdges(CPGEdgeType) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Collects incident edges of one type in either direction.
- getEdgesByType(PDGDependenceType) - Method in class com.tonic.analysis.pdg.PDG
-
Collects every edge of a given dependence kind.
- getEdgeType(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Gets the edge type to a successor block.
- getEdgeTypeCounts() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Tallies edge counts per edge type.
- getElement(SimValue) - Method in class com.tonic.analysis.simulation.heap.SimArray
-
Reads through a symbolic index, using index-sensitive tracking only for a constant int.
- getElementAt(int) - Method in class com.tonic.analysis.simulation.heap.SimArray
-
Reads a known index, falling back to the index-insensitive set when nothing was tracked there.
- getElementName() - Method in class com.tonic.parser.attribute.annotation.ElementValuePair
- getElements() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- getElementType() - Method in class com.tonic.analysis.simulation.heap.SimArray
- getElementType() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getElementType() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
-
Descends through nested array component types to the non-array base.
- getElementType() - Method in class com.tonic.analysis.source.lower.SyntheticArrayConstructor
- getElementType() - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
- getElementType() - Method in class com.tonic.analysis.ssa.type.ArrayType
- getElementType() - Method in class com.tonic.parser.util.TypeInfo
-
Strips one array dimension off this type.
- getElementType() - Method in class com.tonic.type.TypeDescriptor
- getElementType(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- getElementValuePairs() - Method in class com.tonic.parser.attribute.annotation.Annotation
- getElseBlock() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getElseBranch() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- getElseExpr() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getEmitterConfig() - Method in class com.tonic.analysis.source.decompile.DecompilerConfig
- getEnclosingBlock() - Method in class com.tonic.analysis.source.editor.EditorContext
- getEnclosingInstance() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getEndLine() - Method in class com.tonic.analysis.source.decompile.DecompileResult.MemberSpan
- getEndPc() - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- getEngine() - Method in class com.tonic.analysis.execution.debug.DebugSession
- getEntry(MethodReference) - Method in class com.tonic.analysis.pdg.sdg.SDG
- getEntryBlock() - Method in class com.tonic.analysis.simulation.query.PathQuery
- getEntryBlock() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getEntryBlock() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getEntryNode() - Method in class com.tonic.analysis.pdg.PDG
- getEntryNode() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getEntryNode() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getEntryNodes() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getEntryStateFor(IRBlock) - Method in class com.tonic.analysis.simulation.core.SimulationResult
-
Gets the first state snapshot recorded for a block.
- getEnum(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Finds a top-level enum by simple name.
- getEnums() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getErrorCount() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- getErrorCount() - Method in class com.tonic.analysis.verifier.VerificationResult
- getErrorCount() - Method in class com.tonic.renamer.validation.ValidationResult
- getErrorListener() - Method in class com.tonic.analysis.source.parser.JavaParser
- getErrorMode() - Method in class com.tonic.analysis.verifier.VerifierConfig
- getErrors() - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport
- getErrors() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- getErrors() - Method in class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
- getErrors() - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
- getErrors() - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
- getErrors() - Method in interface com.tonic.analysis.verifier.ErrorCollector
- getErrors() - Method in class com.tonic.analysis.verifier.VerificationResult
- getErrors() - Method in class com.tonic.renamer.validation.ValidationResult
- getEscaping() - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
- getEvents() - Method in class com.tonic.analysis.execution.listener.TracingListener
- getEvidence() - Method in class com.tonic.analysis.query.planner.QueryMatch
- getException() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- getException() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getException() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- getException() - Method in class com.tonic.analysis.execution.result.BytecodeResult
- getException() - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- getExceptionClass() - Method in exception com.tonic.analysis.execution.invoke.NativeException
- getExceptionHandlerCount() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getExceptionHandlers() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getExceptionHandlers() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getExceptionIndexTable() - Method in class com.tonic.parser.attribute.ExceptionsAttribute
- getExceptionTable() - Method in class com.tonic.parser.attribute.CodeAttribute
- getExceptionType() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- getExecutionTimeNanos() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- getExistingName() - Method in exception com.tonic.renamer.exception.NameConflictException
- getExitBlocks() - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets all exit blocks (blocks with returns or throws).
- getExitBlocks() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
- getExitNode() - Method in class com.tonic.analysis.pdg.PDG
- getExitStateFor(IRBlock) - Method in class com.tonic.analysis.simulation.core.SimulationResult
-
Gets the last state snapshot recorded for a block.
- getExpectedArgCount(String) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Counts the parameters declared in a call site descriptor.
- getExports() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getExportsFlags() - Method in class com.tonic.parser.attribute.module.Exports
- getExportsIndex() - Method in class com.tonic.parser.attribute.module.Exports
- getExportsTo() - Method in class com.tonic.parser.attribute.module.Exports
- getExpression() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- getExpression() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getExpression() - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- getExpression() - Method in class com.tonic.analysis.source.editor.Replacement
- getExpressionBody() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Returns the body as an expression.
- getExpressionContext() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getExpressionRecoverer() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getExtendedInterfaces() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getExternalCallTargets() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getFalseTarget() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- getfield(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
getfield, adding the field reference to the constant pool. - getField() - Method in class com.tonic.analysis.execution.resolve.ResolvedField
- getField(AllocationSite, FieldKey) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Reads every value a field of one object may hold.
- getField(FieldKey) - Method in class com.tonic.analysis.simulation.heap.SimObject
- getField(String) - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
-
Finds a declared field by name.
- getField(String) - Method in class com.tonic.parser.ClassFile
-
Finds the first field with the given name.
- getField(String, String, String) - Method in class com.tonic.analysis.execution.heap.ObjectInstance
-
Reads a field value.
- getField(String, Supplier<ResolvedField>) - Method in class com.tonic.analysis.execution.resolve.ResolutionCache
-
Returns the cached field resolution, resolving and caching it on a miss.
- GETFIELD - com.tonic.analysis.instruction.GetFieldInstruction.FieldType
-
Reads an instance field, popping the object reference to read it from.
- GETFIELD - com.tonic.util.Opcode
-
Pops an object reference and pushes the value of the instance field named by the two-byte constant pool index.
- getFieldAccessCount() - Method in class com.tonic.analysis.similarity.MethodSignature
- getFieldAccesses() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getFieldAccessTargets() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getFieldDescriptor() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns the field descriptor.
- getFieldDescriptor() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns the field descriptor.
- getFieldForRef(Set<AllocationSite>, FieldKey) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Reads a field across every object a reference may point to.
- getFieldIndex() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
- getFieldIndex() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns the field index used by this instruction.
- GetFieldInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM GETFIELD and GETSTATIC instructions.
- GetFieldInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.GetFieldInstruction
-
Constructs a GetFieldInstruction.
- GetFieldInstruction.FieldType - Enum in com.tonic.analysis.instruction
-
The field-read kinds (instance GETFIELD vs static GETSTATIC), each pairing a JVM opcode with its mnemonic.
- getFieldKeys() - Method in class com.tonic.analysis.simulation.heap.SimObject
- getFieldMapping(String, String, String) - Method in class com.tonic.renamer.mapping.MappingStore
-
Looks up the mapping registered for one field.
- getFieldMappings() - Method in class com.tonic.renamer.mapping.MappingStore
- getFieldName() - Method in class com.tonic.analysis.execution.dispatch.FieldInfo
- getFieldName() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns the field name.
- getFieldName() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns the field name.
- getFieldName() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getFieldName() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext.FieldKey
- getFieldReadCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getFieldReads() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getFieldReadWriteRatio() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getFields() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getFields() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getFields() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getFields() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getFields() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- getFields() - Method in class com.tonic.parser.ClassFile
- getFieldSpan(String, String) - Method in class com.tonic.analysis.source.decompile.DecompileResult
-
Looks up the text span of one field in
DecompileResult.getSource(). - getFieldSpans() - Method in class com.tonic.analysis.source.decompile.DecompileResult
- getFieldValues(SimValue, FieldKey) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Collects a field's values across every object a reference may point to.
- getFieldWriteCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getFieldWrites() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getFillColor() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- getFilters() - Method in interface com.tonic.analysis.instrumentation.hook.Hook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- getFilters() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- getFinallyBlock() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getFirst() - Method in class com.tonic.analysis.source.ast.NodeList
-
Returns the first element.
- getFirstAlternative() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- getFirstBound() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- getFirstOptional() - Method in class com.tonic.analysis.source.ast.NodeList
- getFloat(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a float element.
- getFloat(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Reads a slot as a float.
- getFloatCompareOp(boolean) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Gets the comparison op for float values.
- getFlowingIntoNodes(DataFlowNode) - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Walks incoming edges to find everything that flows into the target node.
- getFlowPath(SimValue, SimValue) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Finds the shortest chain of dependent values leading from one value to another.
- getFontName() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getFontSize() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getForLoopHeaderBlocks() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getForLoopInductionLocalIndices() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getForLoopInductionPhis() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getForLoopInitInstructions() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getForLoopRegions() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getForLoopScopedVariables() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getFormalIn(int) - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
-
Looks up the parameter node at a position.
- getFormalInCount() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getFormalIns() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getFormalIns(SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
- getFormalOut() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getFormalOuts(SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Collects the formal-out node of a procedure, if it has one.
- getFormalParameter() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getFormattedBootstrapMethod() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getFormattedBootstrapMethod() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getFormattedMessage() - Method in exception com.tonic.analysis.source.parser.ParseException
-
Renders the message, the position when known, and - if the source text was supplied - the offending line with a caret under the column.
- getFrame() - Method in class com.tonic.analysis.absexec.InsnContext
- getFrame() - Method in exception com.tonic.analysis.execution.core.ExecutionException
- getFrame(int) - Method in class com.tonic.analysis.simulation.state.CallStackState
-
Reads a frame by position.
- getFrames() - Method in class com.tonic.analysis.simulation.state.CallStackState
- getFrames() - Method in class com.tonic.parser.attribute.StackMapTableAttribute
- getFrameType() - Method in class com.tonic.parser.attribute.stack.StackMapFrame
- getFrom() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener.BlockTransition
- getFromClass() - Method in class com.tonic.analysis.dependency.Dependency
- getFullReference() - Method in class com.tonic.analysis.common.MethodReference
-
Alias for
MethodReference.getFullSignature(). - getFullReference() - Method in class com.tonic.analysis.similarity.MethodSignature
- getFullReference() - Method in class com.tonic.analysis.xref.FieldReference
-
Renders the reference with the internal owner name and the descriptor.
- getFullSignature() - Method in class com.tonic.analysis.common.MethodReference
-
Concatenates owner, name and descriptor into a single identifying string.
- getFullSignature() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getFullSignature() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getFullTarget() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getFullyQualifiedName() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Gets the fully qualified name in Java format (e.g., "java.lang.String", or "Outer.Inner" for a nested class).
- getFullyQualifiedName() - Method in class com.tonic.renamer.mapping.FieldMapping
- getFullyQualifiedName() - Method in class com.tonic.renamer.mapping.MethodMapping
-
Joins the owner, original name and descriptor into one identifier.
- getFullyQualifiedName(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Qualifies a simple name with this unit's package.
- getGotoCount() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getGotoCount() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getGraphName() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getGuard() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- getHandler(MethodEntry) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Looks up the handler for the given method.
- getHandler(String, String, String) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Looks up the handler for the identified method.
- getHandlerBlock() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- getHandlerExceptionCaptures() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getHandlerExceptionValue(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Returns the caught-exception value for a handler block, or null if none is known.
- getHandlerExceptionValues() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getHandlerPc() - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- getHash(FingerprintLevel) - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getHeader() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getHeader() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
- getHeaderConditional() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getHeap() - Method in class com.tonic.analysis.simulation.core.SimulationState
- getHeapManager() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getHeapManager() - Method in interface com.tonic.analysis.execution.invoke.InvocationContext
- getHeapManager() - Method in interface com.tonic.analysis.execution.invoke.NativeContext
- getHierarchy() - Method in class com.tonic.analysis.callgraph.CallGraph
- getHierarchy() - Method in class com.tonic.analysis.execution.resolve.ClassResolver
- getHierarchy() - Method in class com.tonic.renamer.Renamer
-
Returns the class hierarchy.
- getHierarchy() - Method in class com.tonic.renamer.RenamerContext
- getHigh() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
- getHighPaths() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getHitBreakpoint() - Method in class com.tonic.analysis.execution.debug.DebugState
- getHitCount() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getHomeSlotGroups() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
-
The values sharing each source variable's home slot, phi results included.
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- getHookDescriptor() - Method in interface com.tonic.analysis.instrumentation.hook.Hook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- getHookDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- getHostClassIndex() - Method in class com.tonic.parser.attribute.NestHostAttribute
- getId() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getId() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getId() - Method in class com.tonic.analysis.execution.heap.ObjectInstance
- getId() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getId() - Method in class com.tonic.analysis.simulation.state.SimValue
- getId() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getId() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- getId() - Method in class com.tonic.analysis.ssa.value.SSAValue
- getIdentifierMode() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- getIdentityHashCode() - Method in class com.tonic.analysis.execution.heap.ObjectInstance
- getImmediateDominator() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
- getImmediateDominator(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Gets the immediate dominator of the specified block.
- getImmediatePostDominator() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
- getImmediatePostDominator(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Gets the immediate post-dominator of the specified block.
- getImplementors() - Method in class com.tonic.renamer.hierarchy.ClassNode
- getImplMethodKey() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getImports() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getIncoming(IRBlock) - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
-
Gets the incoming value from a specific predecessor block.
- getIncomingBlocks() - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
-
Gets all predecessor blocks with incoming values.
- getIncomingCalls() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- getIncomingDependencies() - Method in class com.tonic.analysis.dependency.DependencyNode
- getIncomingEdges() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getIncomingEdges() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getIncomingEdges(CPGEdgeType) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Collects incoming edges of one type.
- getIncomingEdges(DataFlowNode) - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Lists the edges entering a node.
- getIncomingValues() - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
- getIncrementBlock() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getInDegree() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getInDegree() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getIndentLevel() - Method in class com.tonic.analysis.source.emit.IndentingWriter
- getIndentString() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- getIndentString() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- getIndex() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getIndex() - Method in enum com.tonic.analysis.fingerprint.FingerprintLevel
- getIndex() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- getIndex() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- getIndex() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- getIndex() - Method in class com.tonic.parser.AbstractParser
- getIndex() - Method in class com.tonic.parser.attribute.table.LocalVariableTableEntry
- getIndex() - Method in class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
- getIndex(ConstPool) - Method in class com.tonic.parser.constpool.Item
-
Gets the index of this item in the constant pool.
- getIndexOf(Item<?>) - Method in class com.tonic.parser.ConstPool
-
Returns the pool index of the given item, by identity.
- getIndexOf(ConstPool, Item<?>) - Method in class com.tonic.renamer.RenamerContext
-
Gets the index of an item in a constant pool.
- getInductionLocalIndex() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getInductionVariable() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getInferredType(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Gets a single inferred type for a value, picking one when several are possible.
- getInfo() - Method in class com.tonic.parser.attribute.GenericAttribute
- getInfo() - Method in class com.tonic.parser.attribute.stack.VerificationTypeInfo
- getInit() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getInitializer() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getInitializer() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getInitializer() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- getInitToNew() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getInlinedConstants() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getInlinedConstantValue() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getInlinedValues() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getInnerClassAccessFlags() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
- getInnerClassInfoIndex() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
- getInnerClassName() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
-
Resolves the inner class name, with dots for slashes.
- getInnerNameIndex() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
- getInnerType(String) - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
-
Finds a directly nested type by simple name.
- getInnerTypes() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getInnerTypes() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getInnerTypes() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getInnerTypes() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- getInsertBeforeOffset() - Method in class com.tonic.analysis.Bytecode
- getInstance() - Static method in class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
- getInstanceFieldReadCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getInstanceFieldReads() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getInstanceFieldWriteCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getInstanceFieldWrites() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getInstanceInitializers() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getInstantiatedTypes() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getInstrDefs() - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
- getInstruction() - Method in class com.tonic.analysis.absexec.InsnContext
- getInstruction() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- getInstruction() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getInstruction() - Method in class com.tonic.analysis.pattern.SearchResult
- getInstruction() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- getInstruction() - Method in class com.tonic.analysis.simulation.listener.AllocationListener.AllocationSite
- getInstruction() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.CallSite
- getInstruction() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange
- getInstruction() - Method in class com.tonic.analysis.ssa.lower.StackScheduler.ScheduledInstruction
- getInstructionAt(int) - Method in class com.tonic.analysis.CodeWriter
-
Gets the instruction at a specific sequential index (0, 1, 2, ...).
- getInstructionAt(int) - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Looks up the instruction starting at a bytecode offset.
- getInstructionCount() - Method in class com.tonic.analysis.CodeWriter
-
Returns the total number of instructions in this method.
- getInstructionCount() - Method in class com.tonic.analysis.cpg.node.BlockNode
- getInstructionCount() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
- getInstructionCount() - Method in class com.tonic.analysis.execution.debug.DebugState
- getInstructionCount() - Method in class com.tonic.analysis.similarity.MethodSignature
- getInstructionCount() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Gets the total number of instructions in this method.
- getInstructionIndex() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- getInstructionIndex() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getInstructionIndex() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- getInstructionIndex() - Method in class com.tonic.analysis.simulation.core.SimulationState
- getInstructionIndex() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getInstructionIndex() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- getInstructionIndex() - Method in class com.tonic.analysis.xref.Xref
- getInstructionIndex(int) - Method in class com.tonic.analysis.CodeWriter
-
Gets the sequential instruction index for the instruction at the given bytecode offset.
- getInstructionList() - Method in class com.tonic.analysis.CodeWriter
-
Returns a fresh, bytecode-ordered, random-access snapshot of the instructions.
- getInstructionNode(IRInstruction) - Method in class com.tonic.analysis.pdg.PDG
-
Alias for
PDG.getNodeForInstruction(IRInstruction). - getInstructionNodes() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getInstructionOffsets() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getInstructions() - Method in class com.tonic.analysis.CodeWriter
-
Iterates over all instructions.
- getInstructions() - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Collects the instructions behind the sliced instruction nodes.
- getInstructions() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getInstructionsExecuted() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- getInstructionsOfType(Class<? extends IRInstruction>) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Streams instruction nodes wrapping a specific IR instruction class.
- getInstructionsOfType(Class<? extends IRInstruction>) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Looks up instruction nodes wrapping a specific IR instruction class.
- getInstructionToNode() - Method in class com.tonic.analysis.pdg.PDG
- getInstructionTypeHistogram() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- getInstructionWhichStored() - Method in class com.tonic.analysis.absexec.VarCtx
- getInstrUses() - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
- getInt(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads an int element.
- getInt(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Reads a slot as an int.
- getInterface(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Finds a top-level interface by simple name.
- getInterfaceCalls() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getInterfaceCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getInterfaceNames() - Method in class com.tonic.parser.ClassFile
-
Resolves the internal names of the directly-implemented interfaces.
- getInterfaces() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getInterfaces() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getInterfaces() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getInterfaces() - Method in class com.tonic.parser.ClassFile
- getInterfaces() - Method in class com.tonic.renamer.hierarchy.ClassNode
- getInterfaces(String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Lists the directly implemented interfaces of a class known to the hierarchy.
- getInternalName() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- getInternalName() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- getInternalName() - Method in class com.tonic.parser.util.TypeInfo
- getInternalName() - Method in class com.tonic.type.TypeDescriptor
-
Unwraps the slash-separated class name, descending through array dimensions.
- getInterproceduralEdgeCount() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getInterproceduralEdges() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getInvalidName() - Method in exception com.tonic.renamer.exception.InvalidNameException
- getInvocationHandler() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getInvoke() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getInvokeInstruction() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getInvokeToCallNode() - Method in class com.tonic.analysis.pdg.sdg.SDGBuilder
- getInvokeType() - Method in class com.tonic.analysis.callgraph.CallSite
- getInvokeType() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getInvokeType() - Method in class com.tonic.analysis.instrumentation.HookDescriptor
- getInvokeType() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.CallSite
- getInvokeType() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getInvokeTypeHistogram() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getIrMethod() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getIrMethod() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getIrMethod() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getIrMethod() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getIRMethod() - Method in class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
-
Gets the current IR method being visited.
- getIrMethods() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getIrMethods() - Method in class com.tonic.analysis.pdg.sdg.SDGBuilder
- getIRType() - Method in enum com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
- getItem(int) - Method in class com.tonic.parser.ConstPool
-
Retrieves the constant pool item at the specified index.
- getItems() - Method in class com.tonic.parser.ConstPool
- getIterable() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getJavaName() - Method in enum com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
- getJumpOffsets() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
- getKey() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getKey() - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- getKey() - Method in class com.tonic.parser.MemberEntry
- getKeyword() - Method in enum com.tonic.analysis.source.ast.decl.Modifier
- getKind() - Method in class com.tonic.analysis.Bootstraps.BootstrapRef
- getKind() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- getKind() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getKind() - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- getKnownFalseFieldsStack() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getKnownFalseValuesStack() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getKnownIndexCount() - Method in class com.tonic.analysis.simulation.heap.SimArray
- getKnownIndices() - Method in class com.tonic.analysis.simulation.heap.SimArray
- getLabel() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- getLabel() - Method in class com.tonic.analysis.cpg.node.BlockNode
- getLabel() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getLabel() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getLabel() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- getLabel() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getLabel() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- getLabel() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getLabel() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- getLabel() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- getLabel() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getLabel() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- getLabel() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- getLabel() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- getLabel() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getLabel() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getLabel() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getLabel() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getLabel() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- getLabel() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getLabel() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getLabel() - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- getLabel() - Method in interface com.tonic.analysis.source.ast.stmt.Statement
-
Gets the label for this statement, if any.
- getLabel() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- getLabel(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getLabelCounter() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getLabelFor(IRBlock) - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
-
Looks up the emission label of a block.
- getLabelMap() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getLabels() - Method in class com.tonic.analysis.Bytecode
- getLabels() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- getLambdaCounter() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getLast() - Method in class com.tonic.analysis.source.ast.NodeList
-
Returns the last element.
- getLastInstrumentationCount() - Method in class com.tonic.analysis.instrumentation.transform.InstrumentationTransform
- getLastOptional() - Method in class com.tonic.analysis.source.ast.NodeList
- getLastReport() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- getLastReturnValue() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
- getLatchBlock() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getLeastUpperBound() - Method in class com.tonic.analysis.typeinference.TypeSet
-
Computes the least upper bound, collapsing any mix of reference types to Object.
- getLeft() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getLeft() - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- getLeft() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- getLength() - Method in class com.tonic.analysis.execution.heap.ArrayInstance
- getLength() - Method in class com.tonic.analysis.instruction.Instruction
- getLength() - Method in class com.tonic.analysis.simulation.heap.SimArray
- getLength() - Method in class com.tonic.parser.AbstractParser
-
Gets the byte array length.
- getLength() - Method in class com.tonic.parser.attribute.annotation.Annotation
-
Calculates the total length of this annotation in bytes.
- getLength() - Method in class com.tonic.parser.attribute.annotation.ElementValue
-
Calculates the total length of this element value in bytes.
- getLength() - Method in class com.tonic.parser.attribute.stack.AppendFrame
- getLength() - Method in class com.tonic.parser.attribute.stack.ChopFrame
- getLength() - Method in class com.tonic.parser.attribute.stack.FullFrame
- getLength() - Method in class com.tonic.parser.attribute.stack.SameFrame
- getLength() - Method in class com.tonic.parser.attribute.stack.SameFrameExtended
- getLength() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrame
- getLength() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrameExtended
- getLength() - Method in class com.tonic.parser.attribute.stack.StackMapFrame
-
Returns the total length of this frame in bytes.
- getLength() - Method in class com.tonic.parser.attribute.stack.VerificationTypeInfo
-
Returns the length of this verification type info in bytes.
- getLengthPc() - Method in class com.tonic.parser.attribute.table.LocalVariableTableEntry
- getLengthPc() - Method in class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
- getLevel() - Method in enum com.tonic.analysis.source.parser.Precedence
- getLevel0() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getLevel1() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getLevel2() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getLevelScore(FingerprintLevel) - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- getLevelScores() - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- getLine() - Method in exception com.tonic.analysis.source.parser.ParseException
- getLine() - Method in class com.tonic.analysis.source.parser.SourcePosition
- getLine() - Method in class com.tonic.analysis.source.parser.Token
- getLineMap(String, String) - Method in class com.tonic.analysis.source.decompile.DecompileResult
-
Looks up the offset-to-line map for one method.
- getLineMaps() - Method in class com.tonic.analysis.source.decompile.DecompileResult
- getLineNumber() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getLineNumber() - Method in class com.tonic.analysis.execution.debug.StackFrameInfo
- getLineNumber() - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Maps the current PC to a source line via the LineNumberTable attribute.
- getLineNumber() - Method in class com.tonic.analysis.xref.Xref
- getLineNumber() - Method in class com.tonic.parser.attribute.table.LineNumberTableEntry
- getLineNumberTable() - Method in class com.tonic.parser.attribute.LineNumberTableAttribute
- getListener(Class<T>) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Looks up a registered listener by its class.
- getListener(Class<T>) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
-
Finds the first child assignable to a type.
- getListeners() - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- getListeners() - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- getLiveBlocks() - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
- getLiveBlocks(SSAValue) - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
-
Gets the set of blocks where the specified value is live.
- getLiveIn() - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
- getLiveIn(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
-
Gets the set of values live at the entry of the specified block.
- getLiveness() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
- getLiveOut() - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
- getLiveOut(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
-
Gets the set of values live at the exit of the specified block.
- getLoadOpcode() - Method in class com.tonic.type.TypeDescriptor
-
Picks the local-load opcode that matches this type.
- getLocal(int) - Method in class com.tonic.analysis.frame.TypeState
-
Gets the local variable type at the given index.
- getLocal(int) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Get a local variable.
- getLocal(int) - Method in class com.tonic.analysis.ssa.lift.AbstractState
- getLocalChange() - Method in class com.tonic.analysis.instruction.AALoadInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.AAStoreInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.AConstNullInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.ALoadInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.ArithmeticInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.ArithmeticShiftInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.ArrayLengthInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.AStoreInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.ATHROWInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.BALOADInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.BAStoreInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.BipushInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.CALoadInstruction
- getLocalChange() - Method in class com.tonic.analysis.instruction.CAStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.CheckCastInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.CompareInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.ConversionInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DALoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DAStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DConstInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DLoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DNegInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.DupInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.FALoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.FAStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.FConstInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.FLoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.FNegInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.FStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.GotoInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.I2LInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IALoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IAndInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IAStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IConstInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IIncInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.ILoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.INegInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.Instruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IOrInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.IXorInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.JsrInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LALoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LandInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LAStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LConstInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LdcInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LdcWInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LLoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LNegInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LorInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.LXorInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.MethodReturnInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.MonitorEnterInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.MonitorExitInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.NarrowingConversionInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.NewObjectInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.NopInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.Pop2Instruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.PopInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.RetInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.SALoadInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.SAStoreInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.SipushInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.SwapInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.UnknownInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.WideIIncInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalChange() - Method in class com.tonic.analysis.instruction.WideInstruction
-
Returns the change in local variables caused by this instruction.
- getLocalIndex() - Method in class com.tonic.analysis.ssa.ir.LoadLocalInstruction
- getLocalIndex() - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- getLocalIndices() - Method in class com.tonic.analysis.ssa.lift.AbstractState
- getLocals() - Method in class com.tonic.analysis.execution.debug.DebugState
- getLocals() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getLocals() - Method in class com.tonic.analysis.frame.TypeState
- getLocals() - Method in class com.tonic.analysis.simulation.core.SimulationState
- getLocals() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getLocals() - Method in class com.tonic.parser.attribute.stack.AppendFrame
- getLocals() - Method in class com.tonic.parser.attribute.stack.FullFrame
- getLocalsCount() - Method in class com.tonic.analysis.frame.TypeState
-
Gets the number of local variable slots used.
- getLocalSlotName(int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getLocalSlotNames() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getLocalSlotUnifiedType(String) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Looks up the type unified across every value stored into a local slot.
- getLocalValue(int) - Method in class com.tonic.analysis.simulation.core.StateSnapshot
-
Looks up a captured local variable.
- getLocalValues() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getLocalVariableTable() - Method in class com.tonic.parser.attribute.LocalVariableTableAttribute
- getLocalVariableTypeTable() - Method in class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
- getLocation() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getLocation() - Method in class com.tonic.analysis.pattern.SearchResult
-
Formats the result location as class, optional method signature, and optional bytecode offset.
- getLocation() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Gets the source location of this node.
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.SuperExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.ThisExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- getLocation() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- getLocation() - Method in interface com.tonic.analysis.source.ast.type.SourceType
-
Types carry no source position.
- getLocation() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- getLocation() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- getLocation() - Method in exception com.tonic.renamer.exception.NameConflictException
- getLock() - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- getLong(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a long element.
- getLong(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Reads a slot as a long.
- getLongCompareOp() - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Gets the comparison op for long values (LCMP instruction).
- getLoop() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getLoop(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
-
Gets the innermost loop containing the specified block.
- getLoopAnalysis() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getLoopAnalysis() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getLoopAnalysis() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getLoopBody() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getLoopCount() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getLoopCount() - Method in class com.tonic.analysis.similarity.MethodSignature
- getLoopDepth(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
-
Gets the loop nesting depth of the specified block.
- getLoopExit() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getLoopHeaders() - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Detects potential loops (back edges).
- getLoops() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
- getLoopStack() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getLoopStack() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getLow() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
- getMajorVersion() - Method in class com.tonic.parser.ClassFile
- getMappings() - Method in class com.tonic.renamer.Renamer
-
Returns the current mapping store.
- getMappings() - Method in class com.tonic.renamer.RenamerContext
- getMask() - Method in enum com.tonic.analysis.fingerprint.FingerprintLevel
- getMatchOffsets() - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
- getMaterializedValues() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getMax() - Method in class com.tonic.analysis.ssa.transform.ValueRange
- getMaxCallDepth() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getMaxCallDepth() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getMaxCallDepth() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- getMaxDepth() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getMaxDepth() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getMaxDepthReached() - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
- getMaxErrors() - Method in class com.tonic.analysis.verifier.VerifierConfig
- getMaxInstructions() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getMaxLabelLength() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getMaxLabelLength() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- getMaxLineLength() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- getMaxLocals() - Method in class com.tonic.analysis.CodeWriter
- getMaxLocals() - Method in class com.tonic.analysis.similarity.MethodSignature
- getMaxLocals() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getMaxLocals() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
- getMaxLocals() - Method in class com.tonic.parser.attribute.CodeAttribute
- getMaxLoopNestingDepth() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- getMaxNodesPerMethod() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- getMaxPathLength() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
- getMaxStack() - Method in class com.tonic.analysis.CodeWriter
- getMaxStack() - Method in class com.tonic.analysis.frame.FrameGenerator
-
The max operand-stack depth (slots) observed by the most recent
FrameGenerator.computeFrames(com.tonic.parser.MethodEntry)/FrameGenerator.computeMaxStack(com.tonic.parser.MethodEntry)run. - getMaxStack() - Method in class com.tonic.analysis.similarity.MethodSignature
- getMaxStack() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getMaxStack() - Method in class com.tonic.analysis.ssa.lower.StackScheduler
- getMaxStack() - Method in class com.tonic.parser.attribute.CodeAttribute
- getMaxStackDepth() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getMaxStackDepth() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getMaxStackDepth() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getMergeBlock() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getMessage() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- getMessage() - Method in class com.tonic.analysis.verifier.VerificationError
- getMethod() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getMethod() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- getMethod() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getMethod() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- getMethod() - Method in class com.tonic.analysis.pattern.SearchResult
- getMethod() - Method in class com.tonic.analysis.pdg.PDG
- getMethod() - Method in class com.tonic.analysis.pdg.PDGBuilder
- getMethod() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getMethod() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- getMethod() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getMethod() - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
- getMethod() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
- getMethod() - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
- getMethod() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
- getMethod() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
- getMethod() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getMethod() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getMethod() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
- getMethod() - Method in class com.tonic.analysis.ssa.lower.StackScheduler
- getMethod() - Method in class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
-
Gets the source method entry.
- getMethod() - Method in class com.tonic.parser.attribute.CodeAttribute
-
Returns the method that owns this code attribute, or
nullif its parent is not a method. - getMethod(String) - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
-
Finds a declared method by name, ignoring the descriptor.
- getMethod(String) - Method in class com.tonic.parser.ClassFile
-
Finds the first method with the given name.
- getMethod(String, SourceType...) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Finds a method by name and exact parameter types.
- getMethod(String, String) - Method in class com.tonic.parser.ClassFile
-
Finds the method with the exact name and descriptor.
- getMethod(String, String, String) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Looks up a method node by its exact signature.
- getMethod(String, String, String) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Looks up a method node by its exact signature.
- getMethod(String, String, String) - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
-
Finds a method declared directly on one class, without walking the hierarchy.
- getMethod(String, Supplier<ResolvedMethod>) - Method in class com.tonic.analysis.execution.resolve.ResolutionCache
-
Returns the cached method resolution, resolving and caching it on a miss.
- getMethod1() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getMethod2() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getMethodArguments() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Gets the method arguments excluding the receiver.
- getMethodBody() - Method in class com.tonic.analysis.source.editor.EditorContext
- getMethodCallCount() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getMethodCount() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getMethodCount() - Method in class com.tonic.analysis.cpg.CPGIndex
- getMethodCount() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getMethodCount() - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
- getMethodDesc() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getMethodDescriptor() - Method in interface com.tonic.analysis.instruction.InvokeInsn
- getMethodDescriptor() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Returns the method descriptor.
- getMethodDescriptor() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns the method descriptor.
- getMethodDescriptor() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Returns the method descriptor.
- getMethodDescriptor() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Returns the method descriptor.
- getMethodDescriptor() - Method in class com.tonic.analysis.pattern.SearchResult
- getMethodDescriptor() - Method in class com.tonic.analysis.source.editor.EditorContext
- getMethodDescriptor(TypeInfo, TypeInfo...) - Static method in class com.tonic.parser.util.DescriptorParser
-
Builds a method descriptor from a return type and parameter types.
- getMethodDescriptor(TypeInfo, List<TypeInfo>) - Static method in class com.tonic.parser.util.DescriptorParser
-
Builds a method descriptor from a return type and a parameter list.
- getMethodEntries() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getMethodEntry() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- getMethodEntry() - Method in class com.tonic.analysis.CodeWriter
- getMethodId() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- getMethodIndex() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
- getMethodIndex() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
- getMethodIndex() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
- getMethodIndex() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
- getMethodIndex() - Method in class com.tonic.parser.attribute.EnclosingMethodAttribute
- getMethodKey() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- getMethodMapping(String, String, String) - Method in class com.tonic.renamer.mapping.MappingStore
-
Looks up the mapping registered for one method.
- getMethodMappings() - Method in class com.tonic.renamer.mapping.MappingStore
- getMethodName() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- getMethodName() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getMethodName() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
- getMethodName() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- getMethodName() - Method in interface com.tonic.analysis.instruction.InvokeInsn
- getMethodName() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Returns the method name.
- getMethodName() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns the method name.
- getMethodName() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Returns the method name.
- getMethodName() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Returns the method name.
- getMethodName() - Method in class com.tonic.analysis.pattern.SearchResult
- getMethodName() - Method in class com.tonic.analysis.pdg.PDG
- getMethodName() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getMethodName() - Method in class com.tonic.analysis.similarity.MethodSignature
- getMethodName() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getMethodName() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getMethodName() - Method in class com.tonic.analysis.source.editor.EditorContext
- getMethodName() - Method in class com.tonic.analysis.verifier.VerificationError
- getMethodName() - Method in class com.tonic.analysis.verifier.VerificationResult
- getMethodNodes() - Method in class com.tonic.analysis.cpg.CPGBuilder
- getMethodPattern() - Method in class com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
- getMethodPattern() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getMethodPattern() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- getMethodPDGs() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getMethodRef() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getMethodReturnType() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- getMethods() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getMethods() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getMethods() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getMethods() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getMethods() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getMethods() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- getMethods() - Method in class com.tonic.parser.ClassFile
- getMethods(String) - Method in class com.tonic.parser.ClassFile
-
Collects every method with the given name (the overload set).
- getMethodSignature() - Method in class com.tonic.analysis.execution.debug.StackFrameInfo
- getMethodSignature() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getMethodsInstrumented() - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport
- getMethodSpan(String, String) - Method in class com.tonic.analysis.source.decompile.DecompileResult
-
Looks up the text span of one method in
DecompileResult.getSource(). - getMethodSpans() - Method in class com.tonic.analysis.source.decompile.DecompileResult
- getMethodsSimulated() - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
- getMin() - Method in class com.tonic.analysis.ssa.transform.ValueRange
- getMinorVersion() - Method in class com.tonic.parser.ClassFile
- getMnemonic() - Method in enum com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.CompareInstruction.CompareType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.ConversionInstruction.ConversionType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.DupInstruction.DupType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.GetFieldInstruction.FieldType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.GotoInstruction.GotoType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
- getMnemonic() - Method in enum com.tonic.analysis.instruction.PutFieldInstruction.FieldType
- getMnemonic() - Method in enum com.tonic.util.Opcode
- getMnemonic() - Method in enum com.tonic.util.ReturnType
- getMode() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getMode() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- getMode() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getMode() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- getMode() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getModifiedOpcode() - Method in class com.tonic.analysis.instruction.WideInstruction
- getModifiers() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getModifiers() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getModifiers() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getModifiers() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getModifiers() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getModifiers() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getModifiers() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- getModuleFlags() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getModuleNameIndex() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getModuleVersionIndex() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getMonitorCount() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getMostAllocatedType() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
-
Scans the per-type tally for the highest count.
- getMostCalledMethods(int) - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
-
Ranks the called methods by descending call count.
- getName() - Method in class com.tonic.analysis.Bootstraps.BootstrapRef
- getName() - Method in class com.tonic.analysis.common.MethodReference
- getName() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getName() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getName() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- getName() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getName() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
- getName() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- getName() - Method in class com.tonic.analysis.frame.VerificationType.PrimitiveType
- getName() - Method in class com.tonic.analysis.instrumentation.HookDescriptor
- getName() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- getName() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- getName() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- getName() - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- getName() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getName() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- getName() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- getName() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getName() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getName() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- getName() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- getName() - Method in class com.tonic.analysis.source.ast.transform.ArrayInitializerReconstructor
- getName() - Method in interface com.tonic.analysis.source.ast.transform.ASTTransform
- getName() - Method in class com.tonic.analysis.source.ast.transform.ComparisonChainToSwitch
- getName() - Method in class com.tonic.analysis.source.ast.transform.ControlFlowSimplifier
- getName() - Method in class com.tonic.analysis.source.ast.transform.DeadStoreEliminator
- getName() - Method in class com.tonic.analysis.source.ast.transform.DeadVariableEliminator
- getName() - Method in class com.tonic.analysis.source.ast.transform.DeclarationHoister
- getName() - Method in class com.tonic.analysis.source.ast.transform.ForLoopCounterFolder
- getName() - Method in class com.tonic.analysis.source.ast.transform.PatternInstanceOfDesugar
- getName() - Method in class com.tonic.analysis.source.ast.transform.PatternInstanceOfReconstructor
- getName() - Method in class com.tonic.analysis.source.ast.transform.PatternSwitchDesugar
- getName() - Method in class com.tonic.analysis.source.ast.transform.PatternSwitchReconstructor
- getName() - Method in class com.tonic.analysis.source.ast.transform.RedundantAssignmentEliminator
- getName() - Method in class com.tonic.analysis.source.ast.transform.ScopeEscapeHoister
- getName() - Method in class com.tonic.analysis.source.ast.transform.SingleUseInliner
- getName() - Method in class com.tonic.analysis.source.ast.transform.StringSwitchDesugar
- getName() - Method in class com.tonic.analysis.source.ast.transform.SwitchExpressionDesugar
- getName() - Method in class com.tonic.analysis.source.ast.transform.SwitchExpressionReconstructor
- getName() - Method in class com.tonic.analysis.source.ast.transform.VarargsReconstructor
- getName() - Method in class com.tonic.analysis.source.ast.transform.WhileToForCanonicalizer
- getName() - Method in class com.tonic.analysis.source.lower.SyntheticArrayConstructor
- getName() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod.CapturedVariable
- getName() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getName() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getName() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getName() - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- getName() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getName() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getName() - Method in class com.tonic.analysis.ssa.transform.AlgebraicSimplification
- getName() - Method in class com.tonic.analysis.ssa.transform.BitTrackingDCE
- getName() - Method in class com.tonic.analysis.ssa.transform.BlockMerging
- getName() - Method in interface com.tonic.analysis.ssa.transform.ClassTransform
-
Gets the name of this transformation.
- getName() - Method in class com.tonic.analysis.ssa.transform.CommonSubexpressionElimination
- getName() - Method in class com.tonic.analysis.ssa.transform.ConditionalConstantPropagation
- getName() - Method in class com.tonic.analysis.ssa.transform.ConstantFolding
-
Gets the name of this transformation.
- getName() - Method in class com.tonic.analysis.ssa.transform.ControlFlowReducibility
- getName() - Method in class com.tonic.analysis.ssa.transform.CopyPropagation
-
Gets the name of this transformation.
- getName() - Method in class com.tonic.analysis.ssa.transform.CorrelatedValuePropagation
- getName() - Method in class com.tonic.analysis.ssa.transform.DeadCodeElimination
-
Gets the name of this transformation.
- getName() - Method in class com.tonic.analysis.ssa.transform.DeadMethodElimination
- getName() - Method in class com.tonic.analysis.ssa.transform.DuplicateBlockMerging
- getName() - Method in interface com.tonic.analysis.ssa.transform.IRTransform
-
Gets the name of this transformation.
- getName() - Method in class com.tonic.analysis.ssa.transform.JumpThreading
- getName() - Method in class com.tonic.analysis.ssa.transform.LoopInvariantCodeMotion
- getName() - Method in class com.tonic.analysis.ssa.transform.LoopPredication
- getName() - Method in class com.tonic.analysis.ssa.transform.MethodInlining
- getName() - Method in class com.tonic.analysis.ssa.transform.NullCheckElimination
- getName() - Method in class com.tonic.analysis.ssa.transform.PeepholeOptimizations
- getName() - Method in class com.tonic.analysis.ssa.transform.PhiConstantPropagation
- getName() - Method in class com.tonic.analysis.ssa.transform.Reassociate
- getName() - Method in class com.tonic.analysis.ssa.transform.RedundantCopyElimination
- getName() - Method in class com.tonic.analysis.ssa.transform.StrengthReduction
- getName() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- getName() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- getName() - Method in class com.tonic.analysis.ssa.value.SSAValue
- getName() - Method in class com.tonic.analysis.xref.FieldReference
- getName() - Method in class com.tonic.parser.attribute.table.MethodParameter
-
Returns the parameter name.
- getName() - Method in class com.tonic.parser.constpool.ConstantDynamicItem
-
Retrieves the name from the constant pool.
- getName() - Method in class com.tonic.parser.constpool.FieldRefItem
-
Gets the field name from constant pool.
- getName() - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Retrieves the method name from the constant pool.
- getName() - Method in class com.tonic.parser.constpool.InvokeDynamicItem
-
Retrieves the method name from the constant pool.
- getName() - Method in class com.tonic.parser.constpool.MethodRefItem
-
Gets the method name from constant pool.
- getName() - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
-
Resolves the name string through the bound constant pool.
- getName() - Method in class com.tonic.parser.MemberEntry
- getName() - Method in class com.tonic.renamer.hierarchy.ClassNode
- getName() - Method in class com.tonic.type.MethodHandle
- getNameAndTypeIndex() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Gets the name and type index from the InvokeDynamicItem.
- getNameAndTypeIndex() - Method in class com.tonic.parser.constpool.structure.ConstantDynamic
- getNameAndTypeIndex() - Method in class com.tonic.parser.constpool.structure.FieldRef
- getNameAndTypeIndex() - Method in class com.tonic.parser.constpool.structure.InterfaceRef
- getNameAndTypeIndex() - Method in class com.tonic.parser.constpool.structure.InvokeDynamic
- getNameAndTypeIndex() - Method in class com.tonic.parser.constpool.structure.MethodRef
- getNameIndex() - Method in class com.tonic.parser.attribute.annotation.ElementValuePair
- getNameIndex() - Method in class com.tonic.parser.attribute.RecordAttribute.Component
- getNameIndex() - Method in class com.tonic.parser.attribute.table.LocalVariableTableEntry
- getNameIndex() - Method in class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
- getNameIndex() - Method in class com.tonic.parser.attribute.table.MethodParameter
- getNameIndex() - Method in class com.tonic.parser.constpool.ClassRefItem
-
Gets the name index in the constant pool.
- getNameIndex() - Method in class com.tonic.parser.constpool.ModuleItem
- getNameIndex() - Method in class com.tonic.parser.constpool.PackageItem
- getNameIndex() - Method in class com.tonic.parser.constpool.structure.NameAndType
- getNameIndex() - Method in class com.tonic.parser.MemberEntry
- getNamePattern() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- getNamePattern() - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- getNameRecoverer() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getNameRecoveryStrategy() - Method in class com.tonic.analysis.source.decompile.DecompilerConfig
- getNameRegex() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- getNameRegex() - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- getNameStrategy() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getNativeRegistry() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- getNetChange() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getNewFrame() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- getNewInstructionOffset() - Method in class com.tonic.analysis.frame.VerificationType.UninitializedType
- getNewName() - Method in class com.tonic.renamer.mapping.ClassMapping
- getNewName() - Method in class com.tonic.renamer.mapping.FieldMapping
- getNewName() - Method in class com.tonic.renamer.mapping.MethodMapping
- getNewName() - Method in interface com.tonic.renamer.mapping.RenameMapping
- getNewToInit() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getNextBlock() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getNextLocalIndex() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getNextNodeId() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getNextNodeId() - Method in class com.tonic.analysis.pdg.PDG
- getNextNodeId() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getNode() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- getNode(int) - Method in class com.tonic.analysis.pdg.PDG
-
Searches the node list for a given id.
- getNode(long) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Looks up a node by id.
- getNode(MethodReference) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets the node for a method reference.
- getNode(MethodEntry) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets the node for a MethodEntry.
- getNode(String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Looks up the graph node for a class.
- getNode(String) - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
-
Looks up an already-registered node.
- getNode(String, String, String) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets the node for a method by owner, name, and descriptor.
- getNodeCount() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getNodeCount() - Method in class com.tonic.analysis.cpg.CPGIndex
- getNodeCount() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- getNodeCount() - Method in class com.tonic.analysis.pdg.PDG
- getNodeCount() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getNodeForInstruction(IRInstruction) - Method in class com.tonic.analysis.pdg.PDG
-
Looks up the node built for an instruction.
- getNodeForValue(SSAValue) - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Looks up the node that defines an SSA value.
- getNodeForValue(SSAValue) - Method in class com.tonic.analysis.pdg.PDG
-
Looks up the node that defines a value.
- getNodes() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- getNodes() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- getNodes() - Method in class com.tonic.analysis.pdg.PDG
- getNodes() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getNodesByType(DataFlowNodeType) - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Collects the nodes of one node type.
- getNodesByType(PDGNodeType) - Method in class com.tonic.analysis.pdg.PDG
-
Collects every node of a given kind.
- getNodesInBlock(IRBlock) - Method in class com.tonic.analysis.pdg.PDG
-
Lists the nodes built from a block, in insertion order.
- getNodesOfType(PDGNodeType) - Method in class com.tonic.analysis.pdg.PDG
-
Alias for
PDG.getNodesByType(PDGNodeType). - getNodeType() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getNonEscaping() - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
- getNonNullValues() - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Runs the analysis if needed and collects the values proven non-null.
- getNpairs() - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
- getNullability() - Method in class com.tonic.analysis.typeinference.TypeState
- getNullability(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Gets the nullability state for a value.
- getNullState() - Method in class com.tonic.analysis.simulation.state.SimValue
- getNullValues() - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Runs the analysis if needed and collects the values proven null.
- getNumberOfEntries() - Method in class com.tonic.parser.attribute.StackMapTableAttribute
- getNumElementValuePairs() - Method in class com.tonic.parser.attribute.annotation.Annotation
- getObject(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getObjectAllocationCount() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- getObjectAllocations() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getObjectCount() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- getObjectCount() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- getObjectModel() - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
- getObjectRef() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getOffset() - Method in class com.tonic.analysis.instruction.Instruction
- getOffset() - Method in class com.tonic.analysis.source.parser.SourcePosition
- getOffsetAt(int) - Method in class com.tonic.analysis.CodeWriter
-
Gets the bytecode offset for the instruction at a specific sequential index.
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.AppendFrame
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.ChopFrame
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.FullFrame
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.SameFrame
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.SameFrameExtended
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrame
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrameExtended
- getOffsetDelta() - Method in class com.tonic.parser.attribute.stack.StackMapFrame
- getOffsetToBlock() - Method in class com.tonic.analysis.ssa.lift.InstructionTranslator
- getOldName() - Method in class com.tonic.renamer.mapping.ClassMapping
- getOldName() - Method in class com.tonic.renamer.mapping.FieldMapping
- getOldName() - Method in class com.tonic.renamer.mapping.MethodMapping
- getOldName() - Method in interface com.tonic.renamer.mapping.RenameMapping
- getOp() - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- getOp() - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- getOp() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- getOp() - Method in class com.tonic.analysis.ssa.ir.UnaryOpInstruction
- getOpcode() - Method in exception com.tonic.analysis.execution.core.ExecutionException
- getOpcode() - Method in enum com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
- getOpcode() - Method in enum com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
- getOpcode() - Method in enum com.tonic.analysis.instruction.CompareInstruction.CompareType
- getOpcode() - Method in enum com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
- getOpcode() - Method in enum com.tonic.analysis.instruction.ConversionInstruction.ConversionType
- getOpcode() - Method in enum com.tonic.analysis.instruction.DupInstruction.DupType
- getOpcode() - Method in enum com.tonic.analysis.instruction.GetFieldInstruction.FieldType
- getOpcode() - Method in enum com.tonic.analysis.instruction.GotoInstruction.GotoType
- getOpcode() - Method in class com.tonic.analysis.instruction.Instruction
- getOpcode() - Method in enum com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
- getOpcode() - Method in enum com.tonic.analysis.instruction.PutFieldInstruction.FieldType
- getOpcode() - Method in enum com.tonic.util.ReturnType
- getOpcodeCategory(int) - Static method in class com.tonic.analysis.fingerprint.features.Level2Features
-
Maps an opcode onto a coarse category name such as const, load, math, or invoke.
- getOpcodeCount() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getOpcodeNgramHistogram() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- getOpcodeSequence() - Method in class com.tonic.analysis.similarity.MethodSignature
- getOpens() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getOpensFlags() - Method in class com.tonic.parser.attribute.module.Opens
- getOpensIndex() - Method in class com.tonic.parser.attribute.module.Opens
- getOpensTo() - Method in class com.tonic.parser.attribute.module.Opens
- getOperand() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- getOperand() - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- getOperand() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- getOperand() - Method in class com.tonic.analysis.ssa.ir.UnaryOpInstruction
- getOperandCount() - Method in enum com.tonic.util.Opcode
- getOperands() - Method in class com.tonic.analysis.instruction.UnknownInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.ConstantInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.CopyInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Gets the operands used by this instruction.
- getOperands() - Method in class com.tonic.analysis.ssa.ir.LoadLocalInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.NewInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- getOperands() - Method in class com.tonic.analysis.ssa.ir.UnaryOpInstruction
- getOperandStack() - Method in class com.tonic.analysis.execution.debug.DebugState
- getOperator() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getOperator() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- getOrAllocateLocalIndex(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
The local slot a variable occupies, allocating the next free one on first use.
- getOrCreateLabel(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Returns a block's break/continue label, minting "labelN" on first use.
- getOriginalCpIndex() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getOriginalCpIndex() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- getOutDegree() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getOutDegree() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getOuterClassInfoIndex() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
- getOuterClassName() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
-
Resolves the enclosing class name, with dots for slashes.
- getOuterClassName(String) - Static method in class com.tonic.util.ClassNameUtil
-
Gets the outer class name from an inner class name.
- getOutgoingCalls() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- getOutgoingDependencies() - Method in class com.tonic.analysis.dependency.DependencyNode
- getOutgoingEdges() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getOutgoingEdges() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getOutgoingEdges(CPGEdgeType) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Collects outgoing edges of one type.
- getOutgoingEdges(DataFlowNode) - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Lists the edges leaving a node.
- getOverallScore() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getOwner() - Method in class com.tonic.analysis.Bootstraps.BootstrapRef
- getOwner() - Method in class com.tonic.analysis.common.MethodReference
- getOwner() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getOwner() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- getOwner() - Method in class com.tonic.analysis.instrumentation.HookDescriptor
- getOwner() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- getOwner() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- getOwner() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- getOwner() - Method in class com.tonic.analysis.source.ast.NodeList
- getOwner() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext.FieldKey
- getOwner() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getOwner() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- getOwner() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- getOwner() - Method in class com.tonic.analysis.xref.FieldReference
- getOwner() - Method in class com.tonic.parser.constpool.FieldRefItem
-
Gets owner class internal name from constant pool.
- getOwner() - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Retrieves the owner interface internal name from the constant pool.
- getOwner() - Method in class com.tonic.parser.constpool.MethodRefItem
-
Gets owner class internal name from constant pool.
- getOwner() - Method in class com.tonic.renamer.mapping.FieldMapping
- getOwner() - Method in class com.tonic.renamer.mapping.MethodMapping
- getOwner() - Method in class com.tonic.type.MethodHandle
- getOwnerClass() - Method in class com.tonic.analysis.execution.dispatch.FieldInfo
- getOwnerClass() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- getOwnerClass() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns the owner class name.
- getOwnerClass() - Method in interface com.tonic.analysis.instruction.InvokeInsn
- getOwnerClass() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Returns the owner interface name.
- getOwnerClass() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns the owner class internal name.
- getOwnerClass() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Returns the owner class name.
- getOwnerClass() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Returns the owner class name.
- getOwnerClass() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns the owner class name.
- getOwnerClass() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getOwnerClass() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getOwnerClass() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getOwnerClass() - Method in class com.tonic.analysis.source.editor.EditorContext
- getOwnerClass() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getOwnerClass() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getOwnerName() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns the class name that owns the method (with dots).
- getOwnerName() - Method in class com.tonic.parser.MemberEntry
- getOwnerPattern() - Method in class com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
- getOwnerPattern() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getOwnerPattern() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- getOwnerPattern() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- getOwnerRegex() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- getOwnerSimpleName() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getOwnerSimpleName() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getOwnerSimpleName() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getPackageName() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getPackageName() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- getPackageName() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Gets the package name (e.g., "java.lang").
- getPackageName(String) - Static method in class com.tonic.util.ClassNameUtil
-
Gets the package name from an internal name.
- getPackageNameAsSource(String) - Static method in class com.tonic.util.ClassNameUtil
-
Gets the package name from an internal name in source format (with dots).
- getPackagePrefix() - Method in class com.tonic.analysis.instrumentation.filter.PackageFilter
- getPadding() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
- getParameterAnnotations() - Method in class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
- getParameterCount() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getParameterCount() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Counts the parameters declared in the descriptor.
- getParameterCount() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
-
Counts the parameters declared in the descriptor.
- getParameterCount() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getParameterCount() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getParameterCount() - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Returns the number of parameters for the interface method.
- getParameterCount() - Method in class com.tonic.parser.constpool.InvokeDynamicItem
-
Returns the number of parameters for the dynamic call site.
- getParameterCount() - Method in class com.tonic.parser.constpool.MethodRefItem
-
Gets the number of method parameters.
- getParameterEdges() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getParameterIndex() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- getParameterIndex() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getParameterIndices() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- getParameterName() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
-
Names the argument for display, falling back to argN when the value has no name.
- getParameterName() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
-
Names the returned value for display, falling back to "result" for a void call.
- getParameterName() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getParameterName() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getParameters() - Method in class com.tonic.analysis.instrumentation.HookDescriptor
- getParameters() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getParameters() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getParameters() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getParameters() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getParameters() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getParameters() - Method in class com.tonic.parser.attribute.MethodParametersAttribute
- getParameterSlots() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Counts the local-variable slots consumed by the parameters.
- getParameterSlots() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
-
Counts the local-variable slots consumed by the parameters.
- getParameterType() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getParameterTypes() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
-
Parses the parameter type descriptors out of the method descriptor.
- getParent() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Gets the parent node in the AST tree.
- getParent() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- getParent() - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- getParent() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getParent() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getParent() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- getParent() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.SuperExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.ThisExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- getParent() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- getParent() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- getParent() - Method in interface com.tonic.analysis.source.ast.type.SourceType
-
Types are shared and carry no link to the node that uses them.
- getParent() - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
- getPath() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getPathLength() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getPaths() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getPathsBySeverity() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getPathsBySeverity(Severity) - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Looks up paths of one severity.
- getPathsByVulnerability() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getPathsByVulnerability(VulnerabilityType) - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Looks up paths of one vulnerability type.
- getPattern() - Method in class com.tonic.analysis.instrumentation.filter.ClassFilter
- getPatternBinding() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- getPatternType() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- getPatternVariable() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getPc() - Method in exception com.tonic.analysis.execution.core.ExecutionException
- getPC() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- getPC() - Method in class com.tonic.analysis.execution.debug.StackFrameInfo
- getPC() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getPC() - Method in class com.tonic.analysis.execution.listener.TraceEvent
- getPdg() - Method in class com.tonic.analysis.pdg.PDGBuilder
- getPdg() - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
- getPDG(MethodReference) - Method in class com.tonic.analysis.pdg.sdg.SDG
- getPendingArrayDimensions() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingConstantDynamic() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingFieldAccess() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingInvoke() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingInvokeDynamic() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingMethodHandle() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingMethodType() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingNewClass() - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
- getPendingNewInstructions() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getPendingNewLocalSlots() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getPendingStatements() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getPermittedClassNames() - Method in class com.tonic.parser.attribute.PermittedSubclassesAttribute
-
Resolves each stored class index against the constant pool.
- getPhiCopyMapping() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getPhiInstructions() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getPointsTo() - Method in class com.tonic.analysis.simulation.state.SimValue
- getPointsToSetSize(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
- getPolymorphicCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getPoolNodes() - Method in class com.tonic.analysis.callgraph.CallGraph
-
Returns only nodes that are in the ClassPool (not external references).
- getPoolNodes() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Selects the nodes backed by a class present in the pool.
- getPoolNodes() - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
- getPopCount() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getPopCount() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getPopCount(IRInstruction) - Static method in class com.tonic.analysis.simulation.util.StateTransitions
-
Get the number of stack slots an instruction pops.
- getPopped() - Method in class com.tonic.analysis.absexec.StackCtx
- getPops() - Method in class com.tonic.analysis.absexec.InsnContext
- getPosition() - Method in exception com.tonic.analysis.query.parser.ParseException
- getPosition() - Method in exception com.tonic.analysis.source.parser.ParseException
- getPosition() - Method in class com.tonic.analysis.source.parser.Token
- getPossibleTypes(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Gets all possible types for a polymorphic value.
- getPostDominatorTree() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getPostDominatorTreeChildren() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
- getPostDominatorTreeChildren(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Gets the children of the specified block in the post-dominator tree.
- getPostDomTree() - Method in class com.tonic.analysis.pdg.PDGBuilder
- getPostorder() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
- getPostOrder() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Gets blocks in post-order traversal.
- getPotentialSinks() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Collects the nodes whose type can act as a taint sink.
- getPotentialSources() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Collects the nodes whose type can act as a taint source.
- getPrecedence() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getPrecedence() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- getPredecessors() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getPredecessors() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getPreorder() - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
- getPrimaryMetric() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getPrimaryType() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Picks the unit's primary type: the first public type, else the first type.
- getPrimaryType() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- getPriority() - Method in interface com.tonic.analysis.instrumentation.hook.Hook
-
Gets the priority for ordering multiple hooks at the same point.
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- getPriority() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- getProcedurePDG() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getProcessedBlocks() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getProperties() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- getProperties() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getProperty(String) - Method in class com.tonic.analysis.cpg.edge.CPGEdge
-
Reads a property value.
- getProperty(String) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Reads a property value.
- getProvides() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getProvidesWithArguments() - Method in class com.tonic.parser.attribute.module.Provides
- getProvidesWithIndex() - Method in class com.tonic.parser.attribute.module.Provides
- getPushCount() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getPushCount() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getPushCount(IRInstruction) - Static method in class com.tonic.analysis.simulation.util.StateTransitions
-
Get the number of stack slots an instruction pushes.
- getPushed() - Method in class com.tonic.analysis.absexec.StackCtx
- getPushes() - Method in class com.tonic.analysis.absexec.InsnContext
- getRankDir() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- getRawType() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- getRawType(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- getRawValue() - Method in class com.tonic.analysis.execution.debug.ValueInfo
- getReachabilityCache() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getReachableBlocks(IRBlock) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets all blocks reachable from a given block, the block itself included.
- getReachableFrom(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
-
Walks fields and array elements transitively from one site.
- getReachableFrom(Collection<MethodReference>) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Computes all methods reachable from the given entry points.
- getReachableFromMainEntryPoints() - Method in class com.tonic.analysis.callgraph.CallGraph
-
Computes all methods reachable from main methods and static initializers.
- getReachableNodes(DataFlowNode) - Method in class com.tonic.analysis.dataflow.DataFlowGraph
-
Walks outgoing edges to find everything the start node flows into.
- getRead() - Method in class com.tonic.analysis.absexec.VarCtx
- getReadCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
- getReadCount(String, String) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
-
Looks up the read count of one field, ignoring its descriptor.
- getReads() - Method in class com.tonic.analysis.absexec.InsnContext
- getReason() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- getReason() - Method in exception com.tonic.renamer.exception.InvalidNameException
- getReceiver() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getReceiver() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getReceiver() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getReceiver() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Gets the receiver object for instance method calls.
- getRecordDeconstructionTemps() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getRecordDeconstructionTemps() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getRecoveredExpressions() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getRecoveryContext() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getReference() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- getReference(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Reads a slot as a reference.
- getReferenceIndex() - Method in class com.tonic.parser.constpool.structure.MethodHandle
- getReferenceKind() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- getReferenceKind() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- getReferenceKind() - Method in class com.tonic.parser.constpool.structure.MethodHandle
- getReferenceKindName() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Names the reference kind for diagnostics.
- getReferenceKindName() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
-
Gets a human-readable name for the reference kind.
- getRefsByType(XrefType) - Method in class com.tonic.analysis.xref.XrefDatabase
- getRefsFromClass(String) - Method in class com.tonic.analysis.xref.XrefDatabase
- getRefsFromMethod(MethodReference) - Method in class com.tonic.analysis.xref.XrefDatabase
- getRefsFromMethod(String, String, String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Looks up the references made by a method named by its parts.
- getRefsToClass(String) - Method in class com.tonic.analysis.xref.XrefDatabase
- getRefsToField(FieldReference) - Method in class com.tonic.analysis.xref.XrefDatabase
- getRefsToField(String, String, String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Looks up accesses of a field named by its parts.
- getRefsToMethod(MethodReference) - Method in class com.tonic.analysis.xref.XrefDatabase
- getRefsToMethod(String, String, String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Looks up callers of a method named by its parts.
- getRefsToMethodByName(String, String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Looks up callers by owner and name only, for queries that carry no descriptor.
- getRegAlloc() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getRegAlloc() - Method in class com.tonic.analysis.ssa.lower.StackScheduler
- getRegex() - Method in class com.tonic.analysis.instrumentation.filter.ClassFilter
- getRegion(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getRegionInfo(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getRegionInfos() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
- getRegionName() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- getRegister(SSAValue) - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
-
Looks up a value's slot, allocating a fresh one and growing max locals if the main pass missed it.
- getReport() - Method in class com.tonic.renamer.validation.ValidationResult
-
Renders every error and warning as an indented, sectioned listing.
- getRequires() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getRequiresFlags() - Method in class com.tonic.parser.attribute.module.Requires
- getRequiresIndex() - Method in class com.tonic.parser.attribute.module.Requires
- getRequiresVersionIndex() - Method in class com.tonic.parser.attribute.module.Requires
- getReservedNames() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getReservedSlotCount() - Method in class com.tonic.analysis.ssa.lower.RegisterAllocator
- getResources() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getResult() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Returns the final execution result.
- getResult() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- getResult() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- getResultType() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Gets the type of the result value.
- getReturnBlock() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- getReturnCount() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getReturnCount() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getReturnInstructionIndex() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- getReturnOpcode() - Method in class com.tonic.type.TypeDescriptor
-
Picks the return opcode that matches this type.
- getReturnType() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
- getReturnType() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Extracts the return type from the descriptor.
- getReturnType() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
-
Extracts the return type from the descriptor.
- getReturnType() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getReturnType() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getReturnType() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getReturnType() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getReturnType() - Method in class com.tonic.type.TypeDescriptor
- getReturnType(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Extracts the return type following the closing parenthesis.
- getReturnType(String, ConstPool) - Static method in class com.tonic.analysis.frame.TypeState
-
Returns the return type from a method descriptor.
- getReturnTypeCategory() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getReturnTypeSlots() - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Returns the number of slots for the return type.
- getReturnTypeSlots() - Method in class com.tonic.parser.constpool.InvokeDynamicItem
-
Returns the number of slots for the return type.
- getReturnTypeSlots() - Method in class com.tonic.parser.constpool.MethodRefItem
-
Gets the number of slots for the return type.
- getReturnValue() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- getReturnValue() - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Retrieves the return value of a completed frame.
- getReturnValue() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- getReturnValue() - Method in class com.tonic.analysis.execution.result.BytecodeResult
- getReturnValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- getReturnValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getReturnValue() - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- getReversePostorder() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
- getReversePostOrder() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Gets blocks in reverse post-order traversal.
- getReversePreorder() - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
- getRevisitedBlocks() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getRevisitedBlocks() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getRight() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getRight() - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- getRight() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- getRoot() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Gets the root of the AST tree containing this node.
- getSanitizedCount() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getSanitizedPaths() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getSanitizers() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getSanitizers() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
- getSchedule() - Method in class com.tonic.analysis.ssa.lower.StackScheduler
- getScheduler() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getScore() - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- getScore(SimilarityMetric) - Method in class com.tonic.analysis.similarity.SimilarityResult
- getScorePercent() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getSdg() - Method in class com.tonic.analysis.pdg.sdg.SDGBuilder
- getSdg() - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
- getSelector() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- getSelector() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- getSensitiveArgumentIndex() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getSeverity() - Method in class com.tonic.analysis.cpg.taint.TaintPath
-
Severity of the sink, downgraded to INFO once the path is sanitized.
- getSeverity() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getSeverity() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- getSeverity() - Method in class com.tonic.analysis.verifier.VerificationError
- getSeverityCounts() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Tallies unsanitized paths per severity.
- getShape() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle
- getShort(int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Reads a short element.
- getShortDisplayName() - Method in class com.tonic.analysis.common.MethodReference
-
Renders the reference with the simple class name and a summarized parameter list.
- getShortestPath(IRBlock, IRBlock) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets the shortest path between two blocks by breadth-first search.
- getShortName() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- getShortName() - Method in enum com.tonic.analysis.cpg.node.CPGNodeType
- getShortName() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- getSignature() - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- getSignature() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- getSignature() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Builds a name-and-parameter-types signature string.
- getSignature() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Renders the name and parameter types as name(type,type), ignoring the return type.
- getSignature() - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- getSignature(String, String, String) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Looks up an indexed signature by method reference.
- getSignatureIndex() - Method in class com.tonic.parser.attribute.SignatureAttribute
- getSignatureIndex() - Method in class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
- getSignatureRemapper() - Method in class com.tonic.renamer.RenamerContext
- getSignatures() - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
- getSignaturesByLvKey() - Method in class com.tonic.analysis.ssa.lower.LocalVariableTableBuilder
- getSimpleName() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- getSimpleName() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getSimpleName() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Gets the simple class name (e.g., "String").
- getSimpleName() - Method in class com.tonic.analysis.ssa.type.ReferenceType
-
Gets the simple class name without package.
- getSimpleName(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
-
Renders a type without package qualification, keeping array brackets and dropping generic arguments.
- getSimpleName(String) - Static method in class com.tonic.util.ClassNameUtil
-
Gets the simple class name from an internal name.
- getSimpleNameWithInnerClasses(String) - Static method in class com.tonic.util.ClassNameUtil
-
Gets the simple class name from an internal name, ignoring inner class separators.
- getSimulationTimeMillis() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getSimulationTimeNanos() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getSingleType() - Method in class com.tonic.analysis.typeinference.TypeSet
-
Returns the sole member of a singleton set.
- getSingleType() - Method in class com.tonic.analysis.typeinference.TypeState
- getSingleValue() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Returns the lone "value" element's expression.
- getSink() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getSinkLocation() - Method in class com.tonic.analysis.cpg.taint.TaintPath
-
Renders the sink node position as "method:line", falling back to the node label.
- getSinkNode() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getSinks() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
- getSite() - Method in class com.tonic.analysis.simulation.heap.SimArray
- getSite() - Method in class com.tonic.analysis.simulation.heap.SimObject
- getSize() - Method in class com.tonic.analysis.absexec.Stack
- getSize() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getSize() - Method in class com.tonic.analysis.ssa.type.ArrayType
- getSize() - Method in interface com.tonic.analysis.ssa.type.IRType
- getSize() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- getSize() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- getSize() - Method in class com.tonic.analysis.ssa.type.VoidType
- getSize() - Method in class com.tonic.parser.util.TypeInfo
- getSize() - Method in class com.tonic.type.TypeDescriptor
- getSize(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Returns the slot width of a single type.
- getSkipInstructionsStack() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getSlotAffinities() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getSlotPartition() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getSort() - Method in class com.tonic.type.TypeDescriptor
- getSortedParamCategories() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- getSource() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- getSource() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getSource() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- getSource() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- getSource() - Method in class com.tonic.analysis.source.decompile.DecompileResult
- getSource() - Method in exception com.tonic.analysis.source.parser.ParseException
- getSource() - Method in class com.tonic.analysis.ssa.ir.CopyInstruction
- getSourceClass() - Method in class com.tonic.analysis.xref.Xref
- getSourceDisplay() - Method in class com.tonic.analysis.xref.Xref
-
Renders the source as a dotted class name, optionally with method and line suffixes.
- getSourceFileIndex() - Method in class com.tonic.parser.attribute.SourceFileAttribute
- getSourceId() - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- getSourceInstruction() - Method in class com.tonic.analysis.simulation.state.SimValue
- getSourceLocals() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getSourceLocation() - Method in class com.tonic.analysis.cpg.taint.TaintPath
-
Renders the source node position as "method:line", falling back to the node label.
- getSourceMethod() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getSourceMethod() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getSourceMethod() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getSourceMethod() - Method in class com.tonic.analysis.xref.Xref
- getSourceMethodDesc() - Method in class com.tonic.analysis.xref.Xref
- getSourceMethodRef() - Method in class com.tonic.analysis.xref.Xref
-
Packages the source class, method name and descriptor as a method reference.
- getSourceNode() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getSources() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
- getSpecialCalls() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getSpecialCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getSsaValue() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getSsaValue() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- getSSAValue() - Method in class com.tonic.analysis.simulation.state.SimValue
- getSsaValueSlot() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getSSAValueSlot(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getStack() - Method in class com.tonic.analysis.execution.frame.StackFrame
- getStack() - Method in class com.tonic.analysis.frame.TypeState
- getStack() - Method in class com.tonic.analysis.simulation.core.SimulationState
- getStack() - Method in class com.tonic.parser.attribute.stack.FullFrame
- getStack() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrame
- getStack() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrameExtended
- getStackChange() - Method in class com.tonic.analysis.instruction.AALoadInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.AAStoreInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.AConstNullInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.ALoadInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.ArithmeticInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.ArithmeticShiftInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.ArrayLengthInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.AStoreInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.ATHROWInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.BALOADInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.BAStoreInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.BipushInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.CALoadInstruction
- getStackChange() - Method in class com.tonic.analysis.instruction.CAStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.CheckCastInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.CompareInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.ConversionInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DALoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DAStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DConstInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DLoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DNegInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.DupInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.FALoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.FAStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.FConstInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.FLoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.FNegInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.FStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.GotoInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.I2LInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IALoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IAndInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IAStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IConstInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IIncInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.ILoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.INegInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.Instruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IOrInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.IXorInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.JsrInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LALoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LandInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LAStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LConstInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LdcInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LdcWInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LLoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LNegInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LorInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.LXorInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.MethodReturnInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.MonitorEnterInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.MonitorExitInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.NarrowingConversionInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.NewObjectInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.NopInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.Pop2Instruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.PopInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.RetInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.SALoadInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.SAStoreInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.SipushInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.SwapInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.UnknownInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.WideIIncInstruction
-
Returns the change in stack size caused by this instruction.
- getStackChange() - Method in class com.tonic.analysis.instruction.WideInstruction
-
Returns the change in stack size caused by this instruction.
- getStackDepth() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getStackDepthAtAllocation() - Method in class com.tonic.analysis.simulation.listener.AllocationListener.AllocationSite
- getStackDepthAtCall() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.CallSite
- getStackResidentPhiIncomings() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getStackResidentPhiResults() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- getStackResidentValues() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getStackSize() - Method in class com.tonic.analysis.frame.TypeState
-
Gets the current stack depth.
- getStackSize() - Method in class com.tonic.analysis.ssa.lift.AbstractState
- getStackState() - Method in class com.tonic.analysis.execution.listener.TraceEvent
- getStackTrace() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- getStackValue(int) - Method in class com.tonic.analysis.simulation.core.StateSnapshot
-
Looks up a captured stack value counting down from the top.
- getStackValues() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getStackValues() - Method in class com.tonic.analysis.ssa.lift.AbstractState
- getStartLine() - Method in class com.tonic.analysis.source.decompile.DecompileResult.MemberSpan
- getStartPc() - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- getStartPc() - Method in class com.tonic.parser.attribute.table.LineNumberTableEntry
- getStartPc() - Method in class com.tonic.parser.attribute.table.LocalVariableTableEntry
- getStartPc() - Method in class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
- getState() - Method in class com.tonic.analysis.execution.debug.DebugSession
- getStateAt(int) - Method in class com.tonic.analysis.simulation.core.SimulationResult
-
Gets the state snapshot at an index into the overall recording order.
- getStateCount() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getStatement() - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- getStatement() - Method in class com.tonic.analysis.source.editor.Replacement
- getStatementIndex() - Method in class com.tonic.analysis.source.editor.EditorContext
- getStatementRecoverer() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getStatements() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- getStatements() - Method in class com.tonic.analysis.source.editor.Replacement
- getStatements(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getStatesAt(IRBlock) - Method in class com.tonic.analysis.simulation.core.SimulationResult
-
Gets the state snapshots recorded for a block.
- getstatic(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
getstatic, adding the field reference to the constant pool. - getStatic(FieldKey) - Method in class com.tonic.analysis.simulation.heap.SimHeap
- GETSTATIC - com.tonic.analysis.instruction.GetFieldInstruction.FieldType
-
Reads a class-level field, taking no receiver off the stack.
- GETSTATIC - com.tonic.util.Opcode
-
Pushes the current value of the static field named by the two-byte constant pool index.
- getStaticCallPercentage() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getStaticCalls() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getStaticCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getStaticField(String, String, String) - Method in interface com.tonic.analysis.execution.heap.HeapManager
- getStaticField(String, String, String) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- getStaticFieldReadCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getStaticFieldReads() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getStaticFieldWriteCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getStaticFieldWrites() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getStaticInitializer() - Method in class com.tonic.parser.ClassFile
- getStaticInitializers() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getStaticRoots() - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
The allocation sites any static field may point at.
- getStatus() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- getStatus() - Method in class com.tonic.analysis.execution.debug.DebugState
- getStatus() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- getStopBlocksStack() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- getStoreEndOffsets() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getStoreOpcode() - Method in class com.tonic.type.TypeDescriptor
-
Picks the local-store opcode that matches this type.
- getStrategy() - Method in class com.tonic.analysis.source.recovery.NameRecoverer
- getStructuralAnalyzer() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
- getStyle() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle
- getStyle() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle
- getSubClasses() - Method in class com.tonic.renamer.hierarchy.ClassNode
- getSuccessorEdgeTypes() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getSuccessors() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getSuccessors() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- getSummary() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Renders totals plus per-severity and per-type breakdowns.
- getSummary() - Method in class com.tonic.analysis.similarity.SimilarityResult
- getSummary() - Method in class com.tonic.analysis.xref.XrefDatabase
- getSummaryEdgeCount() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getSummaryEdges() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getSummaryEdges(SDGCallNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Selects the summary edges whose source is an actual-in of a call site.
- getSuperclass() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getSuperclass(String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Looks up the superclass of a pooled class.
- getSuperClass() - Method in class com.tonic.parser.ClassFile
- getSuperClass() - Method in class com.tonic.renamer.hierarchy.ClassNode
- getSuperclassName(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves the direct superclass, taking user classes from the pool and falling back to loading JDK and system classes.
- getSuperClassName() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getSuperClassName() - Method in class com.tonic.parser.ClassFile
-
Retrieves the superclass name from the constant pool.
- getSwapCount() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getSwapCount() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getSwitchCases() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getSwitchCount() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getSwitchCount() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getSwitchLabel(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
- getSwitchLabelMap() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getSwitchSelector() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getSwitchSpineBlocks() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getSymbol() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- getSymbol() - Method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
- getSyntheticCounter() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getSyntheticMethods() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getTag() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- getTag() - Method in class com.tonic.analysis.frame.VerificationType
- getTag() - Method in class com.tonic.parser.attribute.annotation.ElementValue
- getTag() - Method in class com.tonic.parser.attribute.stack.VerificationTypeInfo
- getTag() - Method in class com.tonic.type.MethodHandle
- getTaintedArgumentIndex() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- getTaintLabel() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getTaintLabel() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getTaintSource() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getTaintType() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- getTarget() - Method in class com.tonic.analysis.callgraph.CallSite
- getTarget() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- getTarget() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- getTarget() - Method in interface com.tonic.analysis.instrumentation.hook.Hook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- getTarget() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- getTarget() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- getTarget() - Method in class com.tonic.analysis.query.planner.QueryMatch
- getTarget() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.CallSite
- getTarget() - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- getTargetClass() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getTargetClass() - Method in class com.tonic.analysis.xref.Xref
- getTargetDescriptor() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getTargetDescriptor() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getTargetDescriptor() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getTargetDescriptor() - Method in class com.tonic.analysis.xref.Xref
- getTargetDisplay() - Method in class com.tonic.analysis.xref.Xref
-
Renders the target as a dotted class name plus member, with "()" appended for method refs.
- getTargetEntry() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getTargetFieldRef() - Method in class com.tonic.analysis.xref.Xref
-
Packages the target class, member and descriptor as a field reference.
- getTargetId() - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- getTargetLabel() - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- getTargetLabel() - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- getTargetMember() - Method in class com.tonic.analysis.xref.Xref
- getTargetMethod() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- getTargetMethodName(InvokeDynamicInfo) - Method in class com.tonic.analysis.execution.invoke.LambdaProxyFactory
-
Returns the interface method name the lambda implements.
- getTargetMethodRef() - Method in class com.tonic.analysis.xref.Xref
-
Packages the target class, member and descriptor as a method reference.
- getTargetName() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getTargetName() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getTargetOwner() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getTargetOwner() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getTargetTriple() - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
- getTargetType() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- getTargetType() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- getTempCounter() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getTerminator() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Gets the terminator instruction of this block.
- getTerminatorTypeHistogram() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- getText() - Method in class com.tonic.analysis.source.parser.Token
- getThenBlock() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getThenBranch() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- getThenExpr() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getThisClass() - Method in class com.tonic.parser.ClassFile
- getThrowCount() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getThrowCount() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getThrowsTypes() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getThrowsTypes() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getTimestamp() - Method in class com.tonic.analysis.execution.listener.TraceEvent
- getTimestamp() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getTo() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener.BlockTransition
- getToClass() - Method in class com.tonic.analysis.dependency.Dependency
- getTooltip() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
-
Builds multi-line tooltip text naming the edge type, its endpoints and the label.
- getTooltip() - Method in class com.tonic.analysis.dataflow.DataFlowNode
-
Builds multi-line hover text with the type, location, SSA type and taint state.
- getTopOfStack() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- getTotalAccesses() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getTotalArrayAccesses() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getTotalArrayAccesses() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getTotalBlockEntries() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getTotalBlockEntries() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- getTotalCalls() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getTotalCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getTotalClasses() - Method in class com.tonic.analysis.xref.XrefDatabase
- getTotalControlFlowInstructions() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getTotalControlFlowInstructions() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
-
Sums the branch, switch, goto, return, and throw counts.
- getTotalCount() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- getTotalCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
- getTotalCount() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- getTotalDimensions() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
-
Sums this type's dimension count with those of any nested array component types.
- getTotalEdgeCount() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getTotalFieldAccesses() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- getTotalFieldAccesses() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- getTotalInstructions() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- getTotalInstructions() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- getTotalInstrumentationPoints() - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport
- getTotalIssueCount() - Method in class com.tonic.analysis.verifier.VerificationResult
- getTotalMethods() - Method in class com.tonic.analysis.xref.XrefDatabase
- getTotalNodeCount() - Method in class com.tonic.analysis.pdg.sdg.SDG
- getTotalOperations() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- getTotalOperations() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- getTotalParameterCount() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- getTotalVulnerabilities() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getTotalXrefCount() - Method in class com.tonic.analysis.xref.XrefDatabase
- getTransforms() - Method in enum com.tonic.analysis.source.decompile.TransformPreset
-
Returns the list of transforms for this preset.
- getTransitionCounts() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getTransitiveDependencies(String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Walks the dependency edges breadth-first from the given class.
- getTransitiveDependents(String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Walks the dependent edges breadth-first from the given class.
- getTrueTarget() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- getTryBlock() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- getTryBlocks() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
-
Returns the full set of blocks making up the protected (try) region, when known.
- getTryEnd() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- getTryStart() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- getType() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- getType() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- getType() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- getType() - Method in class com.tonic.analysis.dependency.Dependency
- getType() - Method in class com.tonic.analysis.execution.debug.ValueInfo
- getType() - Method in class com.tonic.analysis.execution.listener.TraceEvent
- getType() - Method in class com.tonic.analysis.instruction.ArithmeticInstruction
- getType() - Method in class com.tonic.analysis.instruction.ArithmeticShiftInstruction
- getType() - Method in class com.tonic.analysis.instruction.CompareInstruction
-
Returns the type of compare operation.
- getType() - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Returns the type of branch operation.
- getType() - Method in class com.tonic.analysis.instruction.ConversionInstruction
-
Returns the type of conversion operation.
- getType() - Method in class com.tonic.analysis.instruction.DupInstruction
- getType() - Method in class com.tonic.analysis.instruction.GotoInstruction
- getType() - Method in class com.tonic.analysis.instruction.MethodReturnInstruction
-
Returns the type of return operation.
- getType() - Method in class com.tonic.analysis.instruction.NarrowingConversionInstruction
-
Returns the type of narrowing conversion operation.
- getType() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- getType() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getType() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- getType() - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
- getType() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange
- getType() - Method in class com.tonic.analysis.simulation.state.SimValue
- getType() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- getType() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- getType() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- getType() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- getType() - Method in interface com.tonic.analysis.source.ast.expr.Expression
-
Gets the inferred type of this expression.
- getType() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.SuperExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Component
- getType() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.ThisExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- getType() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- getType() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- getType() - Method in class com.tonic.analysis.source.editor.Replacement
- getType() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod.CapturedVariable
- getType() - Method in class com.tonic.analysis.source.parser.Token
- getType() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- getType() - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- getType() - Method in class com.tonic.analysis.ssa.lower.StackScheduler.ScheduledInstruction
- getType() - Method in class com.tonic.analysis.ssa.value.ClassConstant
- getType() - Method in class com.tonic.analysis.ssa.value.DoubleConstant
- getType() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- getType() - Method in class com.tonic.analysis.ssa.value.FloatConstant
- getType() - Method in class com.tonic.analysis.ssa.value.IntConstant
- getType() - Method in class com.tonic.analysis.ssa.value.LongConstant
- getType() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- getType() - Method in class com.tonic.analysis.ssa.value.MethodTypeConstant
- getType() - Method in class com.tonic.analysis.ssa.value.NullConstant
- getType() - Method in class com.tonic.analysis.ssa.value.SSAValue
- getType() - Method in class com.tonic.analysis.ssa.value.StringConstant
- getType() - Method in interface com.tonic.analysis.ssa.value.Value
-
Gets the IR type of this value.
- getType() - Method in class com.tonic.analysis.verifier.VerificationError
- getType() - Method in class com.tonic.analysis.xref.Xref
- getType() - Method in class com.tonic.parser.constpool.ClassRefItem
- getType() - Method in class com.tonic.parser.constpool.ConstantDynamicItem
- getType() - Method in class com.tonic.parser.constpool.DoubleItem
- getType() - Method in class com.tonic.parser.constpool.FieldRefItem
- getType() - Method in class com.tonic.parser.constpool.FloatItem
- getType() - Method in class com.tonic.parser.constpool.IntegerItem
- getType() - Method in class com.tonic.parser.constpool.InterfaceRefItem
- getType() - Method in class com.tonic.parser.constpool.InvokeDynamicItem
- getType() - Method in class com.tonic.parser.constpool.Item
-
Returns the type of the constant pool item.
- getType() - Method in class com.tonic.parser.constpool.LongItem
- getType() - Method in class com.tonic.parser.constpool.MethodHandleItem
- getType() - Method in class com.tonic.parser.constpool.MethodRefItem
- getType() - Method in class com.tonic.parser.constpool.MethodTypeItem
- getType() - Method in class com.tonic.parser.constpool.ModuleItem
- getType() - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
- getType() - Method in class com.tonic.parser.constpool.PackageItem
- getType() - Method in class com.tonic.parser.constpool.StringRefItem
- getType() - Method in class com.tonic.parser.constpool.Utf8Item
- getType(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Finds a top-level type by simple name.
- getTypeArgument(int) - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- getTypeArgumentCount() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- getTypeArguments() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- getTypeArguments() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- getTypeCode() - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
- getTypeIndex() - Method in class com.tonic.parser.attribute.annotation.Annotation
- getTypeName() - Method in class com.tonic.analysis.simulation.listener.AllocationListener.AllocationSite
- getTypeNameIndex() - Method in class com.tonic.parser.attribute.annotation.EnumConst
- getTypeParameters() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- getTypeParameters() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- getTypeParameters() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- getTypeParameters() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- getTypePattern() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- getTypeRegex() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- getTypeResolver() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getTypes() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- getTypes() - Method in class com.tonic.analysis.typeinference.TypeSet
- getTypeSet() - Method in class com.tonic.analysis.typeinference.TypeState
- getTypeSlots(String) - Static method in class com.tonic.util.DescriptorUtil
-
Gets the number of slots a type occupies on the stack/locals.
- getTypeState(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Runs the analysis if needed and gets the inferred type state for a value.
- getTypeStateAtBlockEntry(IRBlock, SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Gets the type state a value holds on entering a block.
- getTypeStateAtBlockExit(IRBlock, SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Gets the type state a value holds on leaving a block.
- getUnderlying() - Method in class com.tonic.analysis.cpg.node.BlockNode
- getUnderlying() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- getUnderlying() - Method in class com.tonic.analysis.cpg.node.CPGNode
- getUnderlying() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- getUnderlying() - Method in class com.tonic.analysis.cpg.node.MethodNode
- getUniqueSourceClassCount() - Method in class com.tonic.analysis.xref.XrefDatabase
- getUniqueTargetClassCount() - Method in class com.tonic.analysis.xref.XrefDatabase
- getUniqueTargetFieldCount() - Method in class com.tonic.analysis.xref.XrefDatabase
- getUniqueTargetMethodCount() - Method in class com.tonic.analysis.xref.XrefDatabase
- getUnreachableFrom(Collection<MethodReference>) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Finds all methods that are not reachable from the given entry points.
- getUnsanitizedCount() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getUnsanitizedPaths() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- getUnvisitedBlocks() - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets blocks that were not visited during simulation.
- getUpdate() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- getUseCount() - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Gets the number of uses of this value.
- getUseCount(SSAValue) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Gets the number of uses of the specified value.
- getUsedTypes() - Method in class com.tonic.analysis.source.emit.SourceEmitter
- getUsedValues() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.node.PDGNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- getUsedValues() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- getUsedValues(IRInstruction) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Gets all values used by the specified instruction.
- getUses() - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
- getUses() - Method in class com.tonic.analysis.ssa.value.SSAValue
- getUses() - Method in class com.tonic.parser.attribute.ModuleAttribute
- getUses(SimValue) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Looks up the instructions that consume a value as an operand.
- getUses(SSAValue) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Gets all instructions that use the specified value.
- getUsesIndex() - Method in class com.tonic.parser.attribute.module.Uses
- getValue() - Method in class com.tonic.analysis.instruction.BipushInstruction
- getValue() - Method in class com.tonic.analysis.instruction.DConstInstruction
-
Returns the constant value pushed onto the stack.
- getValue() - Method in class com.tonic.analysis.instruction.FConstInstruction
-
Returns the constant value pushed onto the stack.
- getValue() - Method in class com.tonic.analysis.instruction.IConstInstruction
- getValue() - Method in class com.tonic.analysis.instruction.LConstInstruction
- getValue() - Method in class com.tonic.analysis.instruction.SipushInstruction
- getValue() - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- getValue() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- getValue() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- getValue() - Method in class com.tonic.analysis.source.parser.Token
- getValue() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- getValue() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- getValue() - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- getValue() - Method in class com.tonic.analysis.ssa.value.ClassConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.Constant
-
Gets the value of this constant.
- getValue() - Method in class com.tonic.analysis.ssa.value.DoubleConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.FloatConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.IntConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.LongConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.MethodTypeConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.NullConstant
- getValue() - Method in class com.tonic.analysis.ssa.value.StringConstant
- getValue() - Method in class com.tonic.parser.attribute.annotation.ElementValue
- getValue() - Method in class com.tonic.parser.attribute.annotation.ElementValuePair
- getValue() - Method in class com.tonic.parser.constpool.ClassRefItem
- getValue() - Method in class com.tonic.parser.constpool.ConstantDynamicItem
- getValue() - Method in class com.tonic.parser.constpool.DoubleItem
- getValue() - Method in class com.tonic.parser.constpool.FieldRefItem
- getValue() - Method in class com.tonic.parser.constpool.FloatItem
- getValue() - Method in class com.tonic.parser.constpool.IntegerItem
- getValue() - Method in class com.tonic.parser.constpool.InterfaceRefItem
- getValue() - Method in class com.tonic.parser.constpool.InvokeDynamicItem
- getValue() - Method in class com.tonic.parser.constpool.Item
-
Returns the value held by the constant pool item.
- getValue() - Method in class com.tonic.parser.constpool.LongItem
- getValue() - Method in class com.tonic.parser.constpool.MethodHandleItem
- getValue() - Method in class com.tonic.parser.constpool.MethodRefItem
- getValue() - Method in class com.tonic.parser.constpool.MethodTypeItem
- getValue() - Method in class com.tonic.parser.constpool.ModuleItem
- getValue() - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
- getValue() - Method in class com.tonic.parser.constpool.PackageItem
- getValue() - Method in class com.tonic.parser.constpool.StringRefItem
- getValue() - Method in class com.tonic.parser.constpool.Utf8Item
- getValue(int) - Method in class com.tonic.analysis.simulation.state.LocalState
-
Reads a slot that must not be the upper half of a wide value.
- getValue(String) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Looks up an element value by name.
- getValueCount() - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
- getValueMapping() - Method in class com.tonic.analysis.ssa.util.IRMethodCloner
-
Gets the value mapping from original to cloned values.
- getValues() - Method in class com.tonic.analysis.execution.debug.LocalsSnapshot
- getValues() - Method in class com.tonic.analysis.execution.debug.StackSnapshot
- getValues() - Method in class com.tonic.analysis.simulation.state.StackState
- getValues() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- getValues() - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- getValuesAtStackPosition(int) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Collects everything a stack slot held over the whole simulation.
- getValuesInLocal(int) - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
-
Collects everything a local slot held over the whole simulation.
- getValueString() - Method in class com.tonic.analysis.execution.debug.ValueInfo
- getValueToNode() - Method in class com.tonic.analysis.pdg.PDG
- getVariable() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- getVariable() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- getVariable(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Gets a variable's current SSA value.
- getVariableLocalIndices() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getVariableMap() - Method in class com.tonic.analysis.source.lower.LoweringContext
- getVariableName(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getVariableNames() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- getVarIndex() - Method in class com.tonic.analysis.instruction.ALoadInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.AStoreInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.DLoadInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.DStoreInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.FLoadInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.FStoreInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.IIncInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.ILoadInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.IStoreInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.LLoadInstruction
- getVarIndex() - Method in interface com.tonic.analysis.instruction.LocalVarInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.LStoreInstruction
- getVarIndex() - Method in class com.tonic.analysis.instruction.RetInstruction
-
Returns the local variable index.
- getVarIndex() - Method in class com.tonic.analysis.instruction.WideIIncInstruction
-
Returns the local variable index to be incremented.
- getVarIndex() - Method in class com.tonic.analysis.instruction.WideInstruction
- getVerbosity() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- getVirtualCallPercentage() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getVirtualCalls() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- getVirtualCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- getVisibleVariables() - Method in class com.tonic.analysis.source.editor.EditorContext
-
Collects variables visible at the current location; simplified to the null-checked set.
- getVisitCount(IRBlock) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- getVisitedBlocks() - Method in class com.tonic.analysis.simulation.query.PathQuery
- getVisitedPercentage() - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Gets the percentage of blocks that were visited.
- getVulnerabilityCounts() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Tallies unsanitized paths per vulnerability type.
- getVulnerabilityType() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- getVulnerabilityType() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- getWarningCount() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- getWarningCount() - Method in class com.tonic.analysis.verifier.VerificationResult
- getWarningCount() - Method in class com.tonic.renamer.validation.ValidationResult
- getWarnings() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- getWarnings() - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
- getWarnings() - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
- getWarnings() - Method in interface com.tonic.analysis.verifier.ErrorCollector
- getWarnings() - Method in class com.tonic.analysis.verifier.VerificationResult
- getWarnings() - Method in class com.tonic.renamer.validation.ValidationResult
- getWeight() - Method in enum com.tonic.analysis.fingerprint.FingerprintLevel
- getWriteCount() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
- getWriteCount(String, String) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
-
Looks up the write count of one field, ignoring its descriptor.
- getWrittenSlots() - Method in class com.tonic.analysis.ssa.lower.BytecodeEmitter
- getXrefCountByType() - Method in class com.tonic.analysis.xref.XrefDatabase
- GLOBAL_ESCAPE - com.tonic.analysis.simulation.heap.EscapeAnalyzer.EscapeState
-
The allocation is visible outside the method, having been marked escaped, stored into a static field, or made reachable from an escaped object.
- GOTO - com.tonic.analysis.source.parser.TokenType
-
Reserved by the language but unused, so it can only ever appear as a syntax error.
- GOTO - com.tonic.analysis.ssa.ir.SimpleOp
-
Branches unconditionally to the target block; terminates its block and takes no operand.
- GOTO - com.tonic.util.Opcode
-
Transfers control unconditionally by the signed 16-bit offset from this instruction.
- goto_(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends an unconditional
goto. - GOTO_NORMAL - com.tonic.analysis.instruction.GotoInstruction.GotoType
-
Plain
goto, three bytes wide, carrying a signed 16-bit relative offset. - GOTO_W - com.tonic.util.Opcode
-
Transfers control unconditionally by the signed 32-bit offset from this instruction.
- GOTO_WIDE - com.tonic.analysis.instruction.GotoInstruction.GotoType
-
Wide
goto_w, five bytes wide, carrying a signed 32-bit relative offset for targets a 16-bit branch cannot reach. - GotoInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM GOTO and GOTO_W instructions.
- GotoInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.GotoInstruction
-
Constructs a GotoInstruction.
- GotoInstruction(int, int, short) - Constructor for class com.tonic.analysis.instruction.GotoInstruction
-
Constructs a GotoInstruction.
- GotoInstruction.GotoType - Enum in com.tonic.analysis.instruction
-
The goto widths (16-bit GOTO vs 32-bit GOTO_W), each pairing a JVM opcode with its mnemonic.
- graftMethod(ClassFile, MethodEntry, ClassFile) - Static method in class com.tonic.analysis.MethodGrafter
-
Grafts
methodfromsourceintotargetas a brand-new method, returning the new method entry on the target. - graphName(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the identifier written after the digraph keyword.
- GraphPrinterConfig - Class in com.tonic.analysis.graph.print
-
Immutable rendering settings shared by the dependence-graph printers, built through
GraphPrinterConfig.Builderor one of the named presets. - GraphPrinterConfig.Builder - Class in com.tonic.analysis.graph.print
-
Mutable accumulator for the printer settings, seeded with the normal defaults.
- greaterOrEqual(long) - Static method in class com.tonic.analysis.ssa.transform.ValueRange
-
Builds the range satisfying x >= val.
- greaterThan(long) - Static method in class com.tonic.analysis.ssa.transform.ValueRange
-
Builds the range satisfying x > val.
- greaterThan(Expression, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a greater-than comparison typed boolean.
- Group(Condition) - Constructor for class com.tonic.analysis.query.ast.Condition.Group
-
Creates an explicit grouping, preserving the source parentheses.
- groupByMethod(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether nodes are grouped under their owning procedure rather than listed flat.
- groupIncomingByType(String) - Method in class com.tonic.analysis.xref.XrefDatabase
- groupOutgoingByType(String) - Method in class com.tonic.analysis.xref.XrefDatabase
- gt(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean greater-than comparison node.
- GT - com.tonic.analysis.query.parser.Token.TokenType
-
The operator
>. - GT - com.tonic.analysis.query.value.Operator
-
Strictly greater than, numeric operands only; false for any other kind pairing.
- GT - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Greater-than relational test,
>. - GT - com.tonic.analysis.source.parser.TokenType
-
Greater-than test, and the closer of a type argument or type parameter list.
- GT - com.tonic.analysis.ssa.ir.CompareOp
-
Greater than.
- GT_EQ - com.tonic.analysis.source.parser.TokenType
-
Numeric greater-than-or-equal test.
- GT_GT - com.tonic.analysis.source.parser.TokenType
-
Right shift that preserves the sign bit; the parser also splits this token back apart when it closes two nested type argument lists.
- GT_GT_EQ - com.tonic.analysis.source.parser.TokenType
-
Sign-extending right-shifts the target in place.
- GT_GT_GT - com.tonic.analysis.source.parser.TokenType
-
Right shift that fills with zeroes regardless of sign.
- GT_GT_GT_EQ - com.tonic.analysis.source.parser.TokenType
-
Zero-filling right-shifts the target in place.
- GTE - com.tonic.analysis.query.parser.Token.TokenType
-
The operator
>=. - GTE - com.tonic.analysis.query.value.Operator
-
Greater than or equal, numeric operands only; false for any other kind pairing.
- GUARD_CLAUSE - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A conditional whose taken arm exits early, so it reads as a guard rather than an if/else with two live arms.
- guardAtomExceptionFree(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
True when recovering
block's branch condition inlines no operation that can throw. - guardAtomExceptionFree(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
H
- H_GETFIELD - Static variable in class com.tonic.type.MethodHandle
- H_GETSTATIC - Static variable in class com.tonic.type.MethodHandle
- H_INVOKEINTERFACE - Static variable in class com.tonic.type.MethodHandle
- H_INVOKESPECIAL - Static variable in class com.tonic.type.MethodHandle
- H_INVOKESTATIC - Static variable in class com.tonic.type.MethodHandle
- H_INVOKEVIRTUAL - Static variable in class com.tonic.type.MethodHandle
- H_NEWINVOKESPECIAL - Static variable in class com.tonic.type.MethodHandle
- H_PUTFIELD - Static variable in class com.tonic.type.MethodHandle
- H_PUTSTATIC - Static variable in class com.tonic.type.MethodHandle
- handle(ObjectInstance, ConcreteValue[], NativeContext) - Method in interface com.tonic.analysis.execution.invoke.NativeMethodHandler
-
Emulates the call.
- handle(EditorContext, ArrayAccessExpr, ArrayAccessHandler.ArrayAccessType) - Method in interface com.tonic.analysis.source.editor.handler.ArrayAccessHandler
-
Handles an array access expression.
- handle(EditorContext, BinaryExpr) - Method in interface com.tonic.analysis.source.editor.handler.AssignmentHandler
-
Handle an assignment expression.
- handle(EditorContext, BinaryExpr) - Method in interface com.tonic.analysis.source.editor.handler.BinaryExprHandler
-
Handle a binary expression.
- handle(EditorContext, CastExpr) - Method in interface com.tonic.analysis.source.editor.handler.CastHandler
-
Handle a cast expression.
- handle(EditorContext, Expression) - Method in interface com.tonic.analysis.source.editor.handler.ExpressionHandler
-
Handle an expression during AST traversal.
- handle(EditorContext, FieldAccessExpr) - Method in interface com.tonic.analysis.source.editor.handler.FieldAccessHandler
-
Handle a field access expression.
- handle(EditorContext, InstanceOfExpr) - Method in interface com.tonic.analysis.source.editor.handler.InstanceOfHandler
-
Handle an instanceof expression.
- handle(EditorContext, MethodCallExpr) - Method in interface com.tonic.analysis.source.editor.handler.MethodCallHandler
-
Handle a method call expression.
- handle(EditorContext, NewArrayExpr) - Method in interface com.tonic.analysis.source.editor.handler.NewArrayHandler
-
Handle a new array expression.
- handle(EditorContext, NewExpr) - Method in interface com.tonic.analysis.source.editor.handler.NewExprHandler
-
Handle a new expression.
- handle(EditorContext, UnaryExpr) - Method in interface com.tonic.analysis.source.editor.handler.UnaryExprHandler
-
Handle a unary expression.
- handle(EditorContext, IfStmt) - Method in interface com.tonic.analysis.source.editor.handler.IfHandler
-
Handle an if statement.
- handle(EditorContext, ReturnStmt) - Method in interface com.tonic.analysis.source.editor.handler.ReturnHandler
-
Handle a return statement.
- handle(EditorContext, Statement) - Method in interface com.tonic.analysis.source.editor.handler.LoopHandler
-
Handle a loop statement.
- handle(EditorContext, Statement) - Method in interface com.tonic.analysis.source.editor.handler.StatementHandler
-
Handle a statement during AST traversal.
- handle(EditorContext, ThrowStmt) - Method in interface com.tonic.analysis.source.editor.handler.ThrowHandler
-
Handle a throw statement.
- handle(EditorContext, TryCatchStmt) - Method in interface com.tonic.analysis.source.editor.handler.TryCatchHandler
-
Handle a try-catch statement.
- handler() - Method in class com.tonic.analysis.source.recovery.rcs.TryNodeDescriptor
- hasAccesses() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- hasActualOut() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- hasAllocations() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- hasArguments() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- hasArray(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
- hasBody() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- hasBody() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- hasBootstrapInfo() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Checks if this invocation has bootstrap method info available.
- hasBreakpoints() - Method in class com.tonic.analysis.execution.debug.BreakpointManager
- hasCallees() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- hasCaller() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- hasCalls() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- hasCapability(ListenerCapability) - Method in interface com.tonic.analysis.execution.listener.CapableListener
-
Checks if this listener has a specific capability.
- hasCatch() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- hasClassMapping(String) - Method in class com.tonic.renamer.mapping.MappingStore
-
Reports whether a class is mapped.
- hasCriticalVulnerabilities() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- hasDefault() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- hasDependentValue() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- hasDroppedOperations(BlockStmt) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Completeness invariant.
- hasElse() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- hasEntryNode() - Method in class com.tonic.analysis.pdg.PDG
- hasError() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- hasErrors() - Method in class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
- hasErrors() - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
- hasErrors() - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
- hasErrors() - Method in interface com.tonic.analysis.verifier.ErrorCollector
- hasErrors() - Method in class com.tonic.analysis.verifier.VerificationResult
- hasErrors() - Method in class com.tonic.renamer.validation.ValidationResult
- hasEscaped() - Method in class com.tonic.analysis.simulation.heap.SimArray
- hasEscaped() - Method in class com.tonic.analysis.simulation.heap.SimObject
- hasEscaped(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
- hasEvidence() - Method in class com.tonic.analysis.query.planner.QueryMatch
- hasException() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- hasExceptionHandling() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- hasExpressionLabels() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- hasField(FieldKey) - Method in class com.tonic.analysis.simulation.heap.SimObject
- hasField(String, String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Tests whether a pooled class directly declares a matching field.
- hasFieldMapping(String, String, String) - Method in class com.tonic.renamer.mapping.MappingStore
-
Reports whether a field is mapped.
- hasFinally() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- hasFormalOut() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- HASH_MAP - Static variable in class com.tonic.util.CommonTypes
- HASH_SET - Static variable in class com.tonic.util.CommonTypes
- hasHandler(MethodEntry) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Checks whether a handler is registered for the given method.
- hasHandler(String, String, String) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Checks whether a handler is registered for the identified method.
- hashCode() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- hashCode() - Method in class com.tonic.analysis.callgraph.CallSite
- hashCode() - Method in class com.tonic.analysis.common.MethodReference
- hashCode() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- hashCode() - Method in class com.tonic.analysis.cpg.node.CPGNode
- hashCode() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- hashCode() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- hashCode() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- hashCode() - Method in class com.tonic.analysis.dependency.Dependency
- hashCode() - Method in class com.tonic.analysis.dependency.DependencyNode
- hashCode() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- hashCode() - Method in class com.tonic.analysis.execution.debug.StackFrameInfo
- hashCode() - Method in class com.tonic.analysis.execution.debug.ValueInfo
- hashCode() - Method in class com.tonic.analysis.execution.heap.ObjectInstance
- hashCode() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- hashCode() - Method in class com.tonic.analysis.frame.TypeState
- hashCode() - Method in class com.tonic.analysis.frame.VerificationType.ObjectType
- hashCode() - Method in class com.tonic.analysis.frame.VerificationType.PrimitiveType
- hashCode() - Method in class com.tonic.analysis.frame.VerificationType.UninitializedType
- hashCode() - Method in class com.tonic.analysis.pattern.SearchResult
- hashCode() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- hashCode() - Method in class com.tonic.analysis.pdg.node.PDGNode
- hashCode() - Method in class com.tonic.analysis.query.ast.Accessor
- hashCode() - Method in class com.tonic.analysis.query.ast.AllScope
- hashCode() - Method in class com.tonic.analysis.query.ast.ClassScope
- hashCode() - Method in class com.tonic.analysis.query.ast.DuringScope
- hashCode() - Method in class com.tonic.analysis.query.ast.FindQuery
- hashCode() - Method in class com.tonic.analysis.query.ast.MethodScope
- hashCode() - Method in class com.tonic.analysis.query.ast.OrderBy
- hashCode() - Method in class com.tonic.analysis.query.ast.RunSpec
- hashCode() - Method in class com.tonic.analysis.query.ast.ShowQuery
- hashCode() - Method in class com.tonic.analysis.query.ast.Step
- hashCode() - Method in class com.tonic.analysis.query.exec.QueryService.QueryConfig
- hashCode() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- hashCode() - Method in class com.tonic.analysis.query.parser.Token
- hashCode() - Method in class com.tonic.analysis.query.planner.ProbePlan
- hashCode() - Method in class com.tonic.analysis.query.planner.QueryTarget.ClassTarget
- hashCode() - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- hashCode() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- hashCode() - Method in class com.tonic.analysis.query.value.Value.IntValue
- hashCode() - Method in class com.tonic.analysis.query.value.Value.RealValue
- hashCode() - Method in class com.tonic.analysis.query.value.Value.StrValue
- hashCode() - Method in class com.tonic.analysis.query.value.Value.TypeValue
- hashCode() - Method in class com.tonic.analysis.simulation.core.SimulationState
- hashCode() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- hashCode() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- hashCode() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- hashCode() - Method in class com.tonic.analysis.simulation.heap.SimArray
- hashCode() - Method in class com.tonic.analysis.simulation.heap.SimObject
- hashCode() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener.BlockTransition
- hashCode() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- hashCode() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- hashCode() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- hashCode() - Method in class com.tonic.analysis.simulation.state.CallStackState
- hashCode() - Method in class com.tonic.analysis.simulation.state.LocalState
- hashCode() - Method in class com.tonic.analysis.simulation.state.SimValue
- hashCode() - Method in class com.tonic.analysis.simulation.state.StackState
- hashCode() - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- hashCode() - Method in class com.tonic.analysis.source.ast.SourceLocation
- hashCode() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- hashCode() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- hashCode() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.VoidSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- hashCode() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- hashCode() - Method in class com.tonic.analysis.source.parser.SourcePosition
- hashCode() - Method in class com.tonic.analysis.source.parser.Token
- hashCode() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext.FieldKey
- hashCode() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- hashCode() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
- hashCode() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- hashCode() - Method in class com.tonic.analysis.ssa.transform.ValueRange
- hashCode() - Method in class com.tonic.analysis.ssa.type.ArrayType
- hashCode() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- hashCode() - Method in class com.tonic.analysis.ssa.value.ClassConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.DoubleConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.FloatConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.IntConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.LongConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.MethodTypeConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.NullConstant
- hashCode() - Method in class com.tonic.analysis.ssa.value.SSAValue
- hashCode() - Method in class com.tonic.analysis.ssa.value.StringConstant
- hashCode() - Method in class com.tonic.analysis.typeinference.TypeSet
- hashCode() - Method in class com.tonic.analysis.typeinference.TypeState
- hashCode() - Method in class com.tonic.analysis.verifier.VerificationError
- hashCode() - Method in class com.tonic.analysis.xref.FieldReference
- hashCode() - Method in class com.tonic.analysis.xref.Xref
- hashCode() - Method in class com.tonic.parser.util.TypeInfo
- hashCode() - Method in class com.tonic.renamer.hierarchy.ClassNode
- hashCode() - Method in class com.tonic.renamer.mapping.ClassMapping
- hashCode() - Method in class com.tonic.renamer.mapping.FieldMapping
- hashCode() - Method in class com.tonic.renamer.mapping.MethodMapping
- hashCode() - Method in class com.tonic.type.MethodHandle
- hashCode() - Method in class com.tonic.type.TypeDescriptor
- hasImplicitParameterTypes() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- hasIncomingEdges() - Method in class com.tonic.analysis.pdg.node.PDGNode
- hasIndex() - Method in class com.tonic.analysis.query.ast.Step
- hasInitializer() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- hasInitializer() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- hasInitializer() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- hasLabel() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- hasLabel() - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- hasLabel() - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- hasLabel(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- hasLevel(FingerprintLevel) - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- hasLineNumber() - Method in class com.tonic.analysis.source.ast.SourceLocation
- hasLocal(int) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Check if a local variable is defined.
- hasLocal(int) - Method in class com.tonic.analysis.ssa.lift.AbstractState
- hasLoops() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- hasLowerBound() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- hasMapping(String, String) - Method in class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
- hasMethodMapping(String, String, String) - Method in class com.tonic.renamer.mapping.MappingStore
-
Reports whether a method is mapped.
- hasMoreInstructions() - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Checks whether execution can continue in this frame.
- hasObject(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
- hasOffset() - Method in class com.tonic.analysis.source.ast.SourceLocation
- hasOutgoingEdges() - Method in class com.tonic.analysis.pdg.node.PDGNode
- hasPackage() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- hasParameterType() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- hasPatternVariable() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- hasPendingSynthetics() - Method in class com.tonic.analysis.source.lower.ASTLowerer
- hasPointsTo() - Method in class com.tonic.analysis.simulation.state.SimValue
- hasPreciseType(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Checks if a value has a precise (exact) type known.
- hasProperty(String) - Method in class com.tonic.analysis.cpg.edge.CPGEdge
-
Tests whether a property is present.
- hasProperty(String) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Tests whether a property is present.
- hasProperty(String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only nodes carrying a property.
- hasProperty(String, Object) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only nodes carrying a property with the given value.
- hasRecipe(InvokeDynamicInfo) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Checks whether the call site variant carries a recipe constant.
- hasResources() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- hasResult() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- hasResult() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- hasResult() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Checks if this instruction produces a result value.
- hasReturnValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- hasReturnValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- hasSSAValue() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- hasStackGrowth() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- hasStates() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- hasStaticField(String, String, String) - Method in interface com.tonic.analysis.execution.heap.HeapManager
- hasStaticField(String, String, String) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- hasTargetEntry() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- hasTerminator() - Method in class com.tonic.analysis.cpg.node.BlockNode
- hasTerminator() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Checks if this block has a terminator instruction.
- hasThisEscape(IRMethod) - Method in class com.tonic.analysis.simulation.heap.ConstructorAnalyzer
-
Conservatively reports whether the object under construction may escape, treating any invocation or static field store as an escape.
- hasTypeArguments() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Checks if this type has generic type arguments.
- hasUpperBound() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- hasUses() - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Checks if this value has any uses.
- hasUses(SSAValue) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Checks if the specified value has any uses.
- hasValidStackMapTable() - Method in class com.tonic.analysis.CodeWriter
-
Checks if the CodeAttribute has a valid StackMapTable.
- hasVariable(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
- hasVulnerabilities() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- hasWarnings() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- hasWarnings() - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
- hasWarnings() - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
- hasWarnings() - Method in interface com.tonic.analysis.verifier.ErrorCollector
- hasWarnings() - Method in class com.tonic.analysis.verifier.VerificationResult
- hasWarnings() - Method in class com.tonic.renamer.validation.ValidationResult
- header() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor.CaseSpec
- header() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
- HeapException - Exception in com.tonic.analysis.execution.heap
-
Runtime failure raised by the simulated heap, such as bad bounds or storage type mismatches.
- HeapException(String) - Constructor for exception com.tonic.analysis.execution.heap.HeapException
-
Creates a heap failure.
- HeapException(String, Throwable) - Constructor for exception com.tonic.analysis.execution.heap.HeapException
-
Creates a heap failure with an underlying cause.
- heapManager(HeapManager) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Sets the heap manager that owns objects and arrays during execution.
- HeapManager - Interface in com.tonic.analysis.execution.heap
-
Allocation, string interning, and static-field services for the simulated heap.
- HeapMode - Enum in com.tonic.analysis.simulation.heap
-
Configuration for heap behavior during simulation.
- hierarchy() - Method in class com.tonic.analysis.query.eval.EvalContext
- HIGH - com.tonic.analysis.cpg.taint.Severity
-
Reaches a directly exploitable sink such as path traversal, cross-site scripting, LDAP or XPath injection, server-side request forgery, or unsafe reflection.
- histogramSimilarity(Map<String, Integer>, Map<String, Integer>) - Static method in class com.tonic.analysis.fingerprint.features.Level1Features
-
Scores two histograms by the ratio of summed per-key minima to summed per-key maxima.
- Hit(String, String, String, int, String) - Constructor for class com.tonic.analysis.query.eval.EvidenceCollector.Hit
-
Creates a hit at one bytecode offset.
- hitBreakpoint(Breakpoint) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- hits() - Method in class com.tonic.analysis.query.eval.EvidenceCollector
- Hook - Interface in com.tonic.analysis.instrumentation.hook
-
Base interface for all hook configurations.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets the hook method invoked at each instrumented array load.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets the hook method invoked at each instrumented array store.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets the hook method invoked in each instrumented exception handler.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets the hook method invoked at each instrumented field read.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets the method the instrumentation will call.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets the method the instrumentation will call.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets the static method the hook calls.
- hookDescriptor(HookDescriptor) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets the method the instrumentation will call.
- HookDescriptor - Class in com.tonic.analysis.instrumentation
-
Describes a hook method to be called at instrumentation points.
- HookDescriptor.Builder - Class in com.tonic.analysis.instrumentation
-
Builder for HookDescriptor instances.
- HookDescriptor.HookParameter - Enum in com.tonic.analysis.instrumentation
-
Types of parameters that can be passed to hooks.
- httpCookie() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- httpHeader() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- httpParameter() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
I
- i2b() - Method in class com.tonic.builder.CodeBuilder
-
Appends
i2b, truncating an int to byte. - I2B - com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
-
Truncates an int to 8 bits and sign-extends it back, the byte conversion.
- I2B - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert int to byte.
- I2B - com.tonic.util.Opcode
-
Pops an int, truncates it to eight bits and pushes the sign-extended result as an int.
- i2c() - Method in class com.tonic.builder.CodeBuilder
-
Appends
i2c, truncating an int to char. - I2C - com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
-
Truncates an int to 16 bits and zero-extends it back, the char conversion.
- I2C - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert int to char.
- I2C - com.tonic.util.Opcode
-
Pops an int, truncates it to sixteen bits and pushes the zero-extended result as an int.
- i2d() - Method in class com.tonic.builder.CodeBuilder
-
Appends
i2d, converting an int to double. - I2D - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Widens an int to a double without loss of value.
- I2D - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert int to double.
- I2D - com.tonic.util.Opcode
-
Pops an int and pushes it widened to a double without loss.
- i2f() - Method in class com.tonic.builder.CodeBuilder
-
Appends
i2f, converting an int to float. - I2F - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts an int to a float, rounding to nearest when the magnitude exceeds 24 bits of precision.
- I2F - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert int to float.
- I2F - com.tonic.util.Opcode
-
Pops an int and pushes it converted to a float, which may lose precision for large values.
- i2l() - Method in class com.tonic.builder.CodeBuilder
-
Appends
i2l, widening an int to long. - I2L - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert int to long.
- I2L - com.tonic.util.Opcode
-
Pops an int and pushes it widened to a long.
- I2LInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM I2L instruction.
- I2LInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.I2LInstruction
-
Constructs an I2LInstruction.
- i2s() - Method in class com.tonic.builder.CodeBuilder
-
Appends
i2s, truncating an int to short. - I2S - com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
-
Truncates an int to 16 bits and sign-extends it back, the short conversion.
- I2S - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert int to short.
- I2S - com.tonic.util.Opcode
-
Pops an int, truncates it to sixteen bits and pushes the sign-extended result as an int.
- iadd() - Method in class com.tonic.builder.CodeBuilder
-
Appends
iadd, adding the top two int values. - IADD - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Adds two ints, wrapping silently on overflow.
- IADD - com.tonic.util.Opcode
-
Pops two ints and pushes their sum, wrapping around on overflow.
- iaload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
iaload, loading a int element from an array. - IALOAD - com.tonic.util.Opcode
-
Pops an array reference and an int index, and pushes the int element stored there.
- IALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM IALOAD instruction.
- IALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.IALoadInstruction
-
Constructs an IALoadInstruction.
- iand() - Method in class com.tonic.builder.CodeBuilder
-
Appends
iand, bitwise and of the top two int values. - IAND - com.tonic.util.Opcode
-
Pops two ints and pushes their bitwise AND.
- IAndInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM IAND instruction.
- IAndInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.IAndInstruction
-
Constructs an IAndInstruction.
- iastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
iastore, storing a int element into an array. - IASTORE - com.tonic.util.Opcode
-
Pops an array reference, an int index and an int value, and stores the value at that index.
- IAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM IASTORE instruction.
- IAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.IAStoreInstruction
-
Constructs an IASToreInstruction.
- iconst(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends the shortest int constant push for the value.
- ICONST_0 - com.tonic.util.Opcode
-
Pushes the int constant 0 onto the operand stack.
- ICONST_1 - com.tonic.util.Opcode
-
Pushes the int constant 1 onto the operand stack.
- ICONST_2 - com.tonic.util.Opcode
-
Pushes the int constant 2 onto the operand stack.
- ICONST_3 - com.tonic.util.Opcode
-
Pushes the int constant 3 onto the operand stack.
- ICONST_4 - com.tonic.util.Opcode
-
Pushes the int constant 4 onto the operand stack.
- ICONST_5 - com.tonic.util.Opcode
-
Pushes the int constant 5 onto the operand stack.
- ICONST_M1 - com.tonic.util.Opcode
-
Pushes the int constant -1 onto the operand stack.
- IConstInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM ICONST_M1, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, and ICONST_5 instructions.
- IConstInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.IConstInstruction
-
Constructs an IConstInstruction.
- id(int) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
- IDENTIFIER - com.tonic.analysis.query.parser.Token.TokenType
-
A name-like word that matched no keyword, left for the attribute registry to resolve.
- IDENTIFIER - com.tonic.analysis.source.parser.TokenType
-
Any name that is not a reserved word; it sits between the literals and the keywords so neither isLiteral nor isKeyword accepts it.
- identifierMode(IdentifierMode) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets how non-standard or obfuscated identifiers are emitted; defaults to RAW.
- IdentifierMode - Enum in com.tonic.analysis.source.emit
-
Modes for handling non-standard identifiers during source emission.
- IdentifierNormalizer - Class in com.tonic.analysis.source.emit
-
Rewriter of identifiers per the configured mode: raw, unicode-escaped, or semantically renamed.
- IdentifierNormalizer(IdentifierMode) - Constructor for class com.tonic.analysis.source.emit.IdentifierNormalizer
-
Creates a normalizer applying the given mode.
- IdentifierNormalizer.IdentifierType - Enum in com.tonic.analysis.source.emit
-
Identifier kinds, each with its own semantic-rename prefix and counter.
- identityHashCode(ObjectInstance) - Method in interface com.tonic.analysis.execution.heap.HeapManager
- identityHashCode(ObjectInstance) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- idiv() - Method in class com.tonic.builder.CodeBuilder
-
Appends
idiv, dividing the top two int values. - IDIV - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Divides two ints, truncating toward zero and throwing on a zero divisor.
- IDIV - com.tonic.util.Opcode
-
Pops two ints and pushes the quotient truncated toward zero; throws ArithmeticException if the divisor is zero.
- IDLE - com.tonic.analysis.execution.debug.DebugSessionState
-
Created but never started; no frame exists yet and only starting is allowed.
- IDLE - com.tonic.analysis.execution.debug.DebugState.Status
-
Nothing has started yet; the default state of a fresh builder.
- IF - com.tonic.analysis.source.parser.TokenType
-
Introduces a conditional statement.
- if_acmpeq(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_acmpeq, branching when the top two references are the same object. - IF_ACMPEQ - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when two popped references point at the same object.
- IF_ACMPEQ - com.tonic.util.Opcode
-
Pops two references and branches by the signed 16-bit offset if they point to the same object, or are both null.
- if_acmpne(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_acmpne, branching when the top two references are different objects. - IF_ACMPNE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when two popped references do not point at the same object.
- IF_ACMPNE - com.tonic.util.Opcode
-
Pops two references and branches by the signed 16-bit offset if they do not point to the same object.
- if_icmpeq(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_icmpeq, branching when the top two ints are equal. - IF_ICMPEQ - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when two popped ints are equal.
- IF_ICMPEQ - com.tonic.util.Opcode
-
Pops two ints and branches by the signed 16-bit offset if they are equal.
- if_icmpge(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_icmpge, branching when the first int is at least the second. - IF_ICMPGE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the first of two popped ints is
>=the second. - IF_ICMPGE - com.tonic.util.Opcode
-
Pops two ints and branches by the signed 16-bit offset if the lower one is greater than or equal to the upper one.
- if_icmpgt(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_icmpgt, branching when the first int is greater than the second. - IF_ICMPGT - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the first of two popped ints is
>the second. - IF_ICMPGT - com.tonic.util.Opcode
-
Pops two ints and branches by the signed 16-bit offset if the lower one is greater than the upper one.
- if_icmple(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_icmple, branching when the first int is at most the second. - IF_ICMPLE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the first of two popped ints is
<=the second. - IF_ICMPLE - com.tonic.util.Opcode
-
Pops two ints and branches by the signed 16-bit offset if the lower one is less than or equal to the upper one.
- if_icmplt(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_icmplt, branching when the first int is less than the second. - IF_ICMPLT - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the first of two popped ints is
<the second. - IF_ICMPLT - com.tonic.util.Opcode
-
Pops two ints and branches by the signed 16-bit offset if the lower one is less than the upper one.
- if_icmpne(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
if_icmpne, branching when the top two ints differ. - IF_ICMPNE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when two popped ints differ.
- IF_ICMPNE - com.tonic.util.Opcode
-
Pops two ints and branches by the signed 16-bit offset if they differ.
- IF_THEN - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A conditional with one populated arm, the other edge running straight to the merge.
- IF_THEN_ELSE - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A conditional with both arms populated, reconverging at a merge block.
- ifElse(Expression, Statement, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an if-else statement node.
- ifElseStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches if statements with an else branch.
- ifElseStmt(Expression, Statement, Statement) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an if statement with an else arm.
- ifeq(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifeq, branching when the top int is zero. - IFEQ - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped int is zero, the usual test for a false boolean.
- IFEQ - com.tonic.analysis.ssa.ir.CompareOp
-
If equal to zero.
- IFEQ - com.tonic.util.Opcode
-
Pops an int and branches by the signed 16-bit offset if it is zero.
- ifge(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifge, branching when the top int is at least zero. - IFGE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped int is
>= 0. - IFGE - com.tonic.analysis.ssa.ir.CompareOp
-
If greater or equal to zero.
- IFGE - com.tonic.util.Opcode
-
Pops an int and branches by the signed 16-bit offset if it is zero or positive.
- ifgt(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifgt, branching when the top int is greater than zero. - IFGT - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped int is
> 0. - IFGT - com.tonic.analysis.ssa.ir.CompareOp
-
If greater than zero.
- IFGT - com.tonic.util.Opcode
-
Pops an int and branches by the signed 16-bit offset if it is positive.
- IfHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for if statements.
- ifle(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifle, branching when the top int is at most zero. - IFLE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped int is
<= 0. - IFLE - com.tonic.analysis.ssa.ir.CompareOp
-
If less or equal to zero.
- IFLE - com.tonic.util.Opcode
-
Pops an int and branches by the signed 16-bit offset if it is zero or negative.
- iflt(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
iflt, branching when the top int is less than zero. - IFLT - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped int is
< 0. - IFLT - com.tonic.analysis.ssa.ir.CompareOp
-
If less than zero.
- IFLT - com.tonic.util.Opcode
-
Pops an int and branches by the signed 16-bit offset if it is negative.
- ifne(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifne, branching when the top int is non-zero. - IFNE - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped int is non-zero, the usual test for a true boolean.
- IFNE - com.tonic.analysis.ssa.ir.CompareOp
-
If not equal to zero.
- IFNE - com.tonic.util.Opcode
-
Pops an int and branches by the signed 16-bit offset if it is not zero.
- ifnonnull(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifnonnull, branching when the top reference is non-null. - IFNONNULL - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped reference is not null.
- IFNONNULL - com.tonic.analysis.ssa.ir.CompareOp
-
If reference is not null.
- IFNONNULL - com.tonic.util.Opcode
-
Pops a reference and branches by the signed 16-bit offset if it is not null.
- ifnull(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
ifnull, branching when the top reference is null. - IFNULL - com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Branches when the popped reference is null.
- IFNULL - com.tonic.analysis.ssa.ir.CompareOp
-
If reference is null.
- IFNULL - com.tonic.util.Opcode
-
Pops a reference and branches by the signed 16-bit offset if it is null.
- ifOnlyStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches if statements without an else branch.
- ifStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches if statements.
- ifStmt(Expression, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an if statement node without an else branch.
- ifStmt(Expression, Statement) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an if statement without an else arm.
- IfStmt - Class in com.tonic.analysis.source.ast.stmt
-
An if statement with an optional else branch.
- IfStmt(Expression, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.IfStmt
-
Creates an if statement without an else branch.
- IfStmt(Expression, Statement, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.IfStmt
-
Creates an if statement with an unknown location.
- IfStmt(Expression, Statement, Statement, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.IfStmt
-
Creates an if statement and parents its children to it.
- iinc(int, int) - Method in class com.tonic.builder.CodeBuilder
-
Appends
iinc, adding a constant to an int local in place. - IINC - com.tonic.util.Opcode
-
Adds the signed second operand byte to the int local variable named by the first operand byte, leaving the operand stack untouched.
- IIncInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM IINC instruction.
- IIncInstruction(int, int, int, int) - Constructor for class com.tonic.analysis.instruction.IIncInstruction
-
Constructs an IIncInstruction.
- ILLEGAL_ARGUMENT_EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- ILLEGAL_STATE_EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- iload(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a int load from a local slot.
- ILOAD - com.tonic.util.Opcode
-
Loads an int from the local variable at the given index onto the operand stack.
- ILOAD - Static variable in interface com.tonic.type.AccessFlags
- ILOAD_0 - com.tonic.util.Opcode
-
Loads the int in local variable 0 onto the operand stack.
- ILOAD_1 - com.tonic.util.Opcode
-
Loads the int in local variable 1 onto the operand stack.
- ILOAD_2 - com.tonic.util.Opcode
-
Loads the int in local variable 2 onto the operand stack.
- ILOAD_3 - com.tonic.util.Opcode
-
Loads the int in local variable 3 onto the operand stack.
- ILoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM ILOAD instruction.
- ILoadInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.ILoadInstruction
-
Constructs an ILoadInstruction.
- IMMUTABLE - com.tonic.analysis.simulation.heap.HeapMode
-
Copy-on-write semantics.
- IMPLEMENTS - com.tonic.analysis.dependency.DependencyType
-
Implements (interface)
- IMPLEMENTS - com.tonic.analysis.source.parser.TokenType
-
Names the interfaces a class declares itself to satisfy.
- implicit(String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.LambdaParameter
-
Creates an implicitly typed parameter.
- implicitType() - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- implies(BoolFormula, BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Tests entailment, ignoring the registered domains.
- IMPORT - com.tonic.analysis.source.parser.TokenType
-
Introduces an import declaration - single type, on demand, or static.
- ImportDecl - Class in com.tonic.analysis.source.ast.decl
-
A single import declaration, either plain or static and either single-type or on-demand.
- ImportDecl(String) - Constructor for class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates a plain single-type import at an unknown location.
- ImportDecl(String, boolean, boolean) - Constructor for class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates an import at an unknown location.
- ImportDecl(String, boolean, boolean, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates an import.
- imul() - Method in class com.tonic.builder.CodeBuilder
-
Appends
imul, multiplying the top two int values. - IMUL - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Multiplies two ints, keeping only the low 32 bits of the product.
- IMUL - com.tonic.util.Opcode
-
Pops two ints and pushes their product, wrapping around on overflow.
- in(CPGEdgeType...) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps along incoming edges to their sources.
- IN - com.tonic.analysis.query.parser.Token.TokenType
-
The word
in, introducing a static scope, and doubling as the set membership operator inside a condition. - IN - com.tonic.analysis.query.value.Operator
-
Set membership; false unless the right operand is a set.
- inAllClasses() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Clears the scope so the search covers every class in the pool.
- inAllMethodsOf(ClassFile) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Adds every method of a class to the scope.
- inClass(String) - Static method in class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a filter matching all fields in a specific class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Restricts this hook to call sites in a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Restricts this hook to a single class.
- inClass(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Adds one class to the scope, ignoring names the pool cannot resolve.
- inClassMatching(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Restricts this hook to classes whose name matches a pattern.
- includeEdgeTypes(CPGEdgeType...) - Method in class com.tonic.analysis.graph.export.CPGDOTExporter
-
Replaces the emitted edge set with exactly the given types.
- includeIRComments(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether IR detail is emitted as comments; defaults to false.
- includeLegend(boolean) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Controls whether a legend subgraph is emitted.
- includeLineNumbers(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether original line numbers are emitted; defaults to false.
- INCOMPATIBLE_RETURN_TYPE - com.tonic.analysis.verifier.VerificationErrorType
-
A return opcode or returned value disagrees with the method descriptor's return type.
- incomplete() - Static method in class com.tonic.analysis.execution.result.BytecodeResult
-
Creates a result for an execution that neither completed nor threw.
- IncorrectFormatException - Exception in com.tonic.exception
-
Exception thrown when bytecode or class file format is incorrect or malformed.
- IncorrectFormatException() - Constructor for exception com.tonic.exception.IncorrectFormatException
- incrementHitCount() - Method in class com.tonic.analysis.execution.debug.Breakpoint
-
Records one more hit of this breakpoint.
- incrementReads() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
-
Records one read of the field.
- incrementWrites() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
-
Records one write of the field.
- indent() - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Increases the indentation level.
- IndentingWriter - Class in com.tonic.analysis.source.emit
-
A writer that inserts the configured indent unit at the start of each line.
- IndentingWriter(Writer) - Constructor for class com.tonic.analysis.source.emit.IndentingWriter
-
Creates a writer indenting with tabs.
- IndentingWriter(Writer, String) - Constructor for class com.tonic.analysis.source.emit.IndentingWriter
-
Creates a writer with the given indent unit.
- indentString(String) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets the text emitted for one level of indentation.
- indentString(String) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets the string used for one indent level; defaults to a tab.
- index() - Method in class com.tonic.analysis.query.ast.Step
- index() - Method in class com.tonic.analysis.query.eval.Subject.CallSubject
- index() - Method in class com.tonic.analysis.query.eval.Subject.InstructionSubject
- index() - Method in class com.tonic.analysis.query.eval.Subject.ParamSubject
- index(CPGNode) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Adds a node to every applicable index.
- INDEX_OUT_OF_BOUNDS - Static variable in class com.tonic.util.CommonTypes
- indexed(String, int) - Static method in class com.tonic.analysis.query.ast.Step
-
Creates an indexed step such as arg(0).
- ineg() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ineg, negating the top int value. - INEG - com.tonic.util.Opcode
-
Pops an int and pushes its arithmetic negation.
- INegInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM INEG instruction.
- INegInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.INegInstruction
-
Constructs an INegInstruction.
- infinite(Statement) - Static method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Creates a conditionless for loop.
- infiniteLoop(Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an infinite for loop node.
- info(ValidationError.Category, String, ASTNode) - Static method in class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates an info-severity issue.
- info(String) - Static method in class com.tonic.util.Logger
-
Logs an informational message to standard output.
- INFO - com.tonic.analysis.cpg.taint.Severity
-
No action needed; a taint path that passes through a sanitizer is reported at this level whatever its sink is rated.
- INFO - com.tonic.analysis.source.ast.validation.ValidationError.Severity
-
An observation worth reporting that implies nothing is wrong.
- INHERITS_FROM - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links a type to a class it extends or an interface it implements.
- inInnermostSwitchCase(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
True when
blocklies in a case body of the innermost enclosing switch (is dominated by one of its case headers). - INIT - Static variable in class com.tonic.util.CommonTypes
- initializeLocalSlots(int) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Starts body-local allocation after the parameter slots.
- initializeRecovery() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
-
Initializes all recovery components.
- inliningWouldReorderEffects(SSAValue) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
True when inlining a side-effecting definition at its use would move it past another side effect.
- inMethod(MethodEntry) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Adds one method to the scope; an explicit method scope overrides any class scope.
- inMethod(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Restricts this hook to methods whose name matches a pattern.
- inner() - Method in class com.tonic.analysis.query.ast.Condition.Group
- inner() - Method in class com.tonic.analysis.query.ast.Condition.Not
- InnerClassEntry - Class in com.tonic.parser.attribute.table
-
Represents an entry in the InnerClasses attribute.
- InnerClassEntry(ConstPool, int, int, int, int) - Constructor for class com.tonic.parser.attribute.table.InnerClassEntry
-
Constructs an inner class entry.
- InnerClassesAttribute - Class in com.tonic.parser.attribute
-
The InnerClasses attribute: entries describing nested-class relationships.
- InnerClassesAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.InnerClassesAttribute
-
Creates the attribute shell for parsing, attached to a class.
- InnerClassesAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.InnerClassesAttribute
-
Creates the attribute shell for parsing, attached to a member.
- innermostLoopExit() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- innermostLoopHeader() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- innermostLoopLatch() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- innermostSwitchMerge() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Restricts this hook to call sites under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Restricts this hook to classes under a package.
- inPackage(String) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Adds the classes under a package prefix to the scope.
- INSECURE_DESERIALIZATION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted bytes are read back through object deserialization, allowing attacker-chosen types to be constructed.
- INSERT_AFTER - com.tonic.analysis.source.editor.Replacement.Type
-
Insert statements after current.
- INSERT_BEFORE - com.tonic.analysis.source.editor.Replacement.Type
-
Insert statements before current.
- insertAfter(Instruction, CodeWriter.ClonedRange) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a cloned range after the handle, carrying its targets + exception regions by identity.
- insertAfter(Instruction, CodeWriter.ClonedRange, Map<String, Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
As
CodeWriter.insertAfter(Instruction, ClonedRange)but binds external labels to host targets first. - insertAfter(Instruction, Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Inserts
newInstrimmediately after the given instruction handle. - insertAfter(Instruction, List<Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a block of instructions immediately after the handle.
- insertAfter(Statement...) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Creates a replacement that inserts statements after the current statement.
- insertAfter(Statement...) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that inserts statements after the current statement.
- insertAfter(List<Statement>) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that inserts statements after the current statement.
- insertALoad(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an ALOAD instruction at the specified bytecode offset.
- insertAStore(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an ASTORE instruction at the specified bytecode offset.
- insertBefore(Instruction, CodeWriter.ClonedRange) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a cloned range before the handle, carrying its targets + exception regions by identity.
- insertBefore(Instruction, CodeWriter.ClonedRange, Map<String, Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
As
CodeWriter.insertBefore(Instruction, ClonedRange)but binds external labels to host targets first. - insertBefore(Instruction, Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Inserts
newInstrimmediately before the given instruction handle. - insertBefore(Instruction, List<Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a block of instructions (e.g.
- insertBefore(Statement...) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Creates a replacement that inserts statements before the current statement.
- insertBefore(Statement...) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that inserts statements before the current statement.
- insertBefore(List<Statement>) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that inserts statements before the current statement.
- insertBeforeReturns(Statement...) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that inserts statements ahead of every return.
- insertBeforeThrows(Statement...) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that inserts statements ahead of every throw.
- insertBeforeValueReturns(Statement...) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that inserts statements ahead of every value-carrying return.
- insertBeforeVoidReturns(Statement...) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that inserts statements ahead of every valueless return.
- insertChainBefore(Instruction, List<CodeWriter.ClonedRange>) - Method in class com.tonic.analysis.CodeWriter
-
Splices several cloned bodies before
at, chaining them so each body's continuation exits (e.g. - insertDLoad(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a DLOAD instruction at the specified bytecode offset.
- insertDStore(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a DSTORE instruction at the specified bytecode offset.
- insertFLoad(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an FLOAD instruction at the specified bytecode offset.
- insertFStore(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an FSTORE instruction at the specified bytecode offset.
- insertGetField(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a GETFIELD instruction at the specified bytecode offset.
- insertGetStatic(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a GETSTATIC instruction at the specified bytecode offset.
- insertGoto(int, short) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a GOTO instruction at the specified bytecode offset with a signed short branch offset.
- insertGotoW(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a GOTO_W instruction at the specified bytecode offset with a 32-bit branch offset.
- insertIInc(int, int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an IINC instruction at the specified bytecode offset.
- insertILoad(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an ILOAD instruction at the specified bytecode offset.
- insertInstruction(int, Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an instruction before whatever instruction currently sits at
offset(or appends it whenoffset == code length). - insertInstruction(int, IRInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Inserts an instruction at the specified index.
- insertInvokeDynamic(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an INVOKEDYNAMIC instruction at the specified bytecode offset.
- insertInvokeInterface(int, int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an INVOKEINTERFACE instruction at the specified bytecode offset.
- insertInvokeSpecial(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an INVOKESPECIAL instruction at the specified bytecode offset.
- insertInvokeStatic(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an INVOKESTATIC instruction at the specified bytecode offset.
- insertInvokeVirtual(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an INVOKEVIRTUAL instruction at the specified bytecode offset.
- insertIStore(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an ISTORE instruction at the specified bytecode offset.
- insertLDC(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an LDC instruction at the specified bytecode offset.
- insertLDCW(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an LDC_W instruction at the specified bytecode offset.
- insertLLoad(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an LLOAD instruction at the specified bytecode offset.
- insertLookupSwitch(int, int, int, int, Map<Integer, Integer>) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a LOOKUPSWITCH instruction at the specified bytecode offset.
- insertLStore(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts an LSTORE instruction at the specified bytecode offset.
- insertNew(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a NEW instruction at the specified bytecode offset.
- insertPhis(IRMethod) - Method in class com.tonic.analysis.ssa.lift.PhiInserter
-
Inserts phi functions for every local defined in the method.
- insertPutField(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a PUTFIELD instruction at the specified bytecode offset.
- insertPutStatic(int, int) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a PUTSTATIC instruction at the specified bytecode offset.
- insertStatement(int, Statement) - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Inserts a statement at the given index, ignoring null.
- insertTableSwitch(int, int, int, int, int, Map<Integer, Integer>) - Method in class com.tonic.analysis.CodeWriter
-
Inserts a TABLESWITCH instruction at the specified bytecode offset.
- InsnContext - Class in com.tonic.analysis.absexec
-
Records one execution of one
Instructionby the abstractExecution- its operand-stack pops and pushes (with def-use links back to theInsnContextthat produced each value) and its local reads. - InsnContext(Instruction, Frame) - Constructor for class com.tonic.analysis.absexec.InsnContext
-
Creates a context for one execution of an instruction within a frame.
- INSTANCE - com.tonic.analysis.source.ast.expr.MethodRefKind
-
Instance method reference on a type: ClassName::instanceMethod
- INSTANCE - Static variable in class com.tonic.analysis.query.ast.AllScope
- INSTANCE - Static variable in class com.tonic.analysis.query.ast.Condition.True
- INSTANCE - Static variable in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- INSTANCE - Static variable in class com.tonic.analysis.source.ast.type.VoidSourceType
-
The singleton instance.
- INSTANCE - Static variable in class com.tonic.analysis.ssa.type.VoidType
- INSTANCE - Static variable in class com.tonic.analysis.ssa.value.NullConstant
- instanceCall(Expression, String, String, SourceType, Expression...) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an instance method call.
- instanceCall(Expression, String, String, List<Expression>, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Creates an instance method call.
- instanceField(Expression, String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Creates an instance field access.
- instanceOf(Expression, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an instanceof test node.
- instanceOf(Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an instanceof test.
- instanceOf(Expression, SourceType, String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an instanceof test node with a pattern variable.
- instanceOf(Expression, String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an instanceof test, parsing the tested type from its name.
- instanceOf(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches instanceof checks for a specific type.
- instanceOf(String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches instanceof expressions checking a specific type.
- INSTANCEOF - com.tonic.analysis.execution.dispatch.DispatchResult
-
A type test was performed; the dispatcher already pushed its result.
- INSTANCEOF - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A type test was performed; the dispatcher already pushed its result.
- INSTANCEOF - com.tonic.analysis.source.parser.TokenType
-
Run-time type test; it is a keyword by position but isComparisonOperator counts it as a comparison.
- INSTANCEOF - com.tonic.analysis.ssa.ir.TypeCheckOp
-
A non-throwing type test that produces an int, 1 when the value is an instance of the target type and 0 otherwise; null tests as 0.
- INSTANCEOF - com.tonic.util.Opcode
-
Pops a reference and pushes the int 1 if it is a non-null instance of the type named by the two-byte constant pool index, otherwise 0.
- instanceof_(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
instanceof, replacing the top reference with 1 when it is of the given type. - InstanceOfExpr - Class in com.tonic.analysis.source.ast.expr
-
An instanceof expression: expression instanceof Type, with an optional Java 16+ pattern variable.
- InstanceOfExpr(Expression, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.InstanceOfExpr
-
Creates a classic instanceof test without a pattern variable.
- InstanceOfExpr(Expression, SourceType, String) - Constructor for class com.tonic.analysis.source.ast.expr.InstanceOfExpr
-
Creates an instanceof test with an unknown source location.
- InstanceOfExpr(Expression, SourceType, String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.InstanceOfExpr
-
Creates an instanceof test and reparents the tested expression.
- InstanceOfHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for instanceof expressions.
- InstanceOfInstruction - Class in com.tonic.analysis.instruction
-
Represents the INSTANCEOF instruction (0xC1).
- InstanceOfInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.InstanceOfInstruction
-
Constructs an InstanceOfInstruction.
- instanceOnly() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Instruments instance field reads only.
- instanceOnly() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Instruments instance field writes only.
- instanceRef(String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates an unbound instance method reference, ClassName::instanceMethod.
- instruction() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- instruction() - Method in class com.tonic.analysis.query.eval.Subject.FieldAccessSubject
- instruction() - Method in class com.tonic.analysis.query.eval.Subject.InstructionSubject
- instruction(int, int, List<ConcreteValue>) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an instruction-execution event.
- instruction(IRInstruction) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
-
Sets the IR instruction this node stands for.
- Instruction - Class in com.tonic.analysis.instruction
-
Represents a single bytecode instruction.
- Instruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.Instruction
-
Constructs an Instruction.
- INSTRUCTION - com.tonic.analysis.cpg.node.CPGNodeType
-
A single IR instruction inside a block.
- INSTRUCTION - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A single instruction was executed, carrying its offset, opcode, and an optional operand stack snapshot.
- INSTRUCTION - com.tonic.analysis.pdg.node.PDGNodeType
-
An ordinary instruction, carrying dependences but neither starting nor ending a slice.
- INSTRUCTION - com.tonic.analysis.query.eval.SubjectKind
-
A single instruction in a method body, identified by its position there.
- INSTRUCTION - com.tonic.analysis.simulation.core.SimulationMode
-
Track state at every instruction.
- INSTRUCTION_COUNT - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
instructioncountorinstruction_count, naming a count of instructions. - INSTRUCTION_FALLS_OFF_END - com.tonic.analysis.verifier.VerificationErrorType
-
The last instruction can fall through, running past the end of the method body.
- INSTRUCTION_LIMIT - com.tonic.analysis.execution.core.BytecodeResult.Status
-
The run exhausted its instruction budget; the executed count is carried.
- instructionCount(long) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- InstructionFactory - Class in com.tonic.analysis.instruction
-
Decodes raw bytecode into
Instructionobjects. - instructionIndex(int) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the index of the referencing instruction within the method.
- InstructionInterceptor - Interface in com.tonic.analysis.execution.debug
-
Debugger hook invoked around each interpreted instruction, method entry and exit, and thrown exception.
- InstructionLength - Class in com.tonic.util
-
Encoded length of a single instruction in a raw bytecode array, for scanners that walk code without parsing it into instruction objects.
- instructionLimit(long) - Static method in class com.tonic.analysis.execution.core.BytecodeResult
-
Creates a result for an execution aborted by the instruction budget.
- InstructionNode - Class in com.tonic.analysis.cpg.node
-
CPG node wrapping a single IR instruction, positioned by block id and index.
- InstructionNode(long, IRInstruction, int, int) - Constructor for class com.tonic.analysis.cpg.node.InstructionNode
-
Creates a node for an IR instruction.
- instructions() - Method in class com.tonic.analysis.CodeWriter.ClonedRange
- instructions() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects all instruction nodes.
- instructions() - Method in class com.tonic.analysis.query.eval.EvalContext
- instructions(Class<? extends IRInstruction>) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects instruction nodes wrapping a specific IR instruction class.
- InstructionSubject(Instruction, int, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.InstructionSubject
-
Binds the cursor to one instruction of a method body.
- InstructionTranslator - Class in com.tonic.analysis.ssa.lift
-
Translator from JVM bytecode instructions to IR instructions during lifting.
- InstructionTranslator(ConstPool) - Constructor for class com.tonic.analysis.ssa.lift.InstructionTranslator
-
Creates a translator with no bootstrap methods attribute.
- InstructionTranslator(ConstPool, BootstrapMethodsAttribute) - Constructor for class com.tonic.analysis.ssa.lift.InstructionTranslator
-
Creates a translator.
- instrumentAll() - Static method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Creates a configuration that instruments everything.
- InstrumentationConfig - Class in com.tonic.analysis.instrumentation
-
Configuration holder for instrumentation settings.
- InstrumentationConfig.Builder - Class in com.tonic.analysis.instrumentation
-
Builder for InstrumentationConfig instances.
- InstrumentationFactory - Class in com.tonic.analysis.instrumentation.factory
-
Factory for creating instrumentation IR instructions.
- InstrumentationFactory() - Constructor for class com.tonic.analysis.instrumentation.factory.InstrumentationFactory
- InstrumentationFilter - Interface in com.tonic.analysis.instrumentation.filter
-
Base interface for instrumentation filters.
- InstrumentationTarget - Enum in com.tonic.analysis.instrumentation
-
Enumeration of instrumentation target types.
- InstrumentationTransform - Class in com.tonic.analysis.instrumentation.transform
-
Transform that applies instrumentation hooks to IR methods.
- InstrumentationTransform(List<Hook>, InstrumentationConfig) - Constructor for class com.tonic.analysis.instrumentation.transform.InstrumentationTransform
-
Creates a transform that applies the given hooks under the given configuration.
- Instrumenter - Class in com.tonic.analysis.instrumentation
-
Fluent entry point for registering instrumentation hooks and applying them to a set of classes.
- Instrumenter.ArrayLoadHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for an array load hook.
- Instrumenter.ArrayStoreHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for an array store hook.
- Instrumenter.ExceptionHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for an exception handler hook.
- Instrumenter.FieldReadHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for a field read hook.
- Instrumenter.FieldWriteHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for a field write hook.
- Instrumenter.InstrumentationReport - Class in com.tonic.analysis.instrumentation
-
Immutable counts from one instrumentation run.
- Instrumenter.InstrumentationReport.Builder - Class in com.tonic.analysis.instrumentation
-
Mutable accumulator for the report counters.
- Instrumenter.MethodCallHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for a method call hook.
- Instrumenter.MethodEntryHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for a method entry hook.
- Instrumenter.MethodExitHookBuilder - Class in com.tonic.analysis.instrumentation
-
Fluent builder for a method exit hook.
- instrumentExceptionalExits(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether exits by thrown exception are hooked as well as returns.
- instrumentInstance(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets whether instance field reads are instrumented.
- instrumentInstance(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether PUTFIELD sites are instrumented.
- instrumentMethod(IRMethod, MethodEntry, ClassFile) - Method in class com.tonic.analysis.instrumentation.transform.InstrumentationTransform
-
Instruments a single method.
- instrumentStatic(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets whether static field reads are instrumented.
- instrumentStatic(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether PUTSTATIC sites are instrumented.
- INT - com.tonic.analysis.execution.state.ValueTag
-
A 32-bit signed integer occupying one slot.
- INT - com.tonic.analysis.query.value.ValueKind
-
A whole number, carried as a long.
- INT - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
intkeyword; a 32-bit signed integer, one slot wide. - INT - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a signed 32-bit integer.
- INT - com.tonic.analysis.ssa.type.PrimitiveType
-
32-bit signed integer, descriptor
I, and the width the narrower integral types compute in. - INT - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
I, one slot wide. - INT - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- INT - Static variable in class com.tonic.parser.util.TypeInfo
- INT - Static variable in class com.tonic.type.TypeDescriptor
- INT_ARRAY_DESC - Static variable in class com.tonic.util.CommonTypes
- INT_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- intArray(String, int...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds an int-array element.
- IntConstant - Class in com.tonic.analysis.ssa.value
-
Represents an integer constant (covers boolean, byte, char, short, int).
- IntConstant(int) - Constructor for class com.tonic.analysis.ssa.value.IntConstant
-
Creates an integer constant with the given value.
- INTEGER - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Integerentry, occupying one stack word. - INTEGER - Static variable in class com.tonic.analysis.frame.VerificationType
- INTEGER - Static variable in class com.tonic.util.CommonTypes
- INTEGER_LITERAL - com.tonic.analysis.source.parser.TokenType
-
An unsuffixed whole-number literal in any radix; one too large to fit an int is retyped as LONG_LITERAL instead of being rejected.
- IntegerItem - Class in com.tonic.parser.constpool
-
A CONSTANT_Integer constant pool entry.
- IntegerItem() - Constructor for class com.tonic.parser.constpool.IntegerItem
- InterceptorAction - Enum in com.tonic.analysis.execution.debug
-
What an interceptor tells the interpreter to do after a callback: keep going, pause, or abort.
- INTERFACE - com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
- INTERFACE - com.tonic.analysis.source.parser.TokenType
-
Introduces an interface declaration, and follows AT in an annotation type declaration.
- INTERFACE - com.tonic.analysis.ssa.ir.InvokeType
-
Interface method invocation (invokeinterface).
- INTERFACE - Static variable in class com.tonic.util.Modifiers
- InterfaceDecl - Class in com.tonic.analysis.source.ast.decl
-
An interface declaration in the source AST, with its extended interfaces, type parameters, members, and nested types.
- InterfaceDecl(String) - Constructor for class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Creates an interface with no source position.
- InterfaceDecl(String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Creates an interface with no modifiers or members.
- InterfaceRef - Class in com.tonic.parser.constpool.structure
-
Represents an Interface Method Reference in the constant pool.
- InterfaceRef(int, int) - Constructor for class com.tonic.parser.constpool.structure.InterfaceRef
-
Creates an interface method reference from its two constant-pool indices.
- InterfaceRefItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_InterfaceMethodref entry in the constant pool.
- InterfaceRefItem() - Constructor for class com.tonic.parser.constpool.InterfaceRefItem
- interfaces(String...) - Method in class com.tonic.builder.ClassBuilder
-
Adds implemented interfaces.
- intern(String) - Method in class com.tonic.analysis.execution.heap.StringPool
-
Returns the pooled string object for a value, creating it on first use.
- internString(String) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Returns the pooled guest string for a host string, allocating it on first request.
- internString(String) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- interprocedural(boolean) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Controls whether traversal follows call, parameter, and return edges across methods.
- interproceduralBackwardSlice(PDGNode) - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Collects everything the criterion may depend on, across procedures.
- InterProceduralEngine - Class in com.tonic.analysis.simulation.core
-
Simulation engine that follows method calls up to a configurable depth, resolving callees from the ClassPool and lifting their bodies to IR on demand.
- InterProceduralEngine(SimulationContext) - Constructor for class com.tonic.analysis.simulation.core.InterProceduralEngine
-
Creates an engine with an empty call stack and method cache.
- interproceduralForwardSlice(PDGNode) - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Collects everything that may depend on the criterion, across procedures.
- interrupt() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
-
Requests that the current execution stop at the next instruction boundary.
- interrupted() - Static method in class com.tonic.analysis.execution.core.BytecodeResult
-
Creates a result for an execution stopped by an interrupt request.
- INTERRUPTED - com.tonic.analysis.execution.core.BytecodeResult.Status
-
The run was stopped by an interrupt request rather than by the code itself.
- intersect(SliceResult) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Builds the chop of two slices - the nodes in both, with this slice's edges whose endpoints both survive.
- intersect(ValueRange) - Method in class com.tonic.analysis.ssa.transform.ValueRange
-
Intersects this range with another, narrowing the result.
- IntersectionSourceType - Class in com.tonic.analysis.source.ast.type
-
An intersection type such as "A & B", as written in a type parameter bound; it lowers to its first bound.
- IntersectionSourceType(SourceType...) - Constructor for class com.tonic.analysis.source.ast.type.IntersectionSourceType
-
Creates an intersection from a bound array.
- IntersectionSourceType(List<SourceType>) - Constructor for class com.tonic.analysis.source.ast.type.IntersectionSourceType
-
Creates an intersection over a copied, unmodifiable bound list.
- intLabels() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor.CaseSpec
- intLit(int) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an int literal node.
- intLiteral(int) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an integer literal.
- intValue() - Method in class com.tonic.analysis.source.parser.Token
-
Reads the literal value as an int, narrowing any numeric value.
- intValue(int) - Static method in class com.tonic.analysis.execution.state.ConcreteValue
-
Creates an INT value, also used for the sub-int types.
- IntValue(long) - Constructor for class com.tonic.analysis.query.value.Value.IntValue
- intVar(String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an int-typed variable reference node.
- INVALID_ARRAY_TYPE - com.tonic.analysis.verifier.VerificationErrorType
-
An array instruction is applied to a value whose element type it cannot operate on.
- INVALID_BRANCH_TARGET - com.tonic.analysis.verifier.VerificationErrorType
-
A branch aims at an offset that falls mid-instruction or outside the method body.
- INVALID_CATCH_TYPE - com.tonic.analysis.verifier.VerificationErrorType
-
A handler names a catch type that does not descend from Throwable, so it can never match.
- INVALID_CONSTANT_POOL_INDEX - com.tonic.analysis.verifier.VerificationErrorType
-
An instruction names a constant pool slot that does not exist in the class.
- INVALID_CONSTANT_POOL_TYPE - com.tonic.analysis.verifier.VerificationErrorType
-
A constant pool reference resolves to an entry of a kind the instruction cannot use.
- INVALID_EXCEPTION_HANDLER - com.tonic.analysis.verifier.VerificationErrorType
-
A handler's protected range is malformed, such as an empty, inverted, or out-of-code span.
- INVALID_FRAME_OFFSET - com.tonic.analysis.verifier.VerificationErrorType
-
A stack map frame claims an offset that is out of range or not greater than its predecessor.
- INVALID_LOCAL_INDEX - com.tonic.analysis.verifier.VerificationErrorType
-
A load or store names a local slot outside the frame's declared range.
- INVALID_OPCODE - com.tonic.analysis.verifier.VerificationErrorType
-
A byte in the code stream is not an opcode the JVM assigns, or is one reserved for internal use.
- INVALID_OPERAND - com.tonic.analysis.verifier.VerificationErrorType
-
An opcode is recognized but its immediate operand is out of the range that opcode accepts.
- INVALID_WIDE_OPCODE - com.tonic.analysis.verifier.VerificationErrorType
-
A WIDE prefix precedes an opcode that has no wide-index form.
- invalidateCache() - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Clears all memoized resolution results.
- InvalidNameException - Exception in com.tonic.renamer.exception
-
Exception thrown when a name is not a valid Java identifier.
- InvalidNameException(String, String) - Constructor for exception com.tonic.renamer.exception.InvalidNameException
-
Creates the failure; the name and reason are folded into the message.
- invert() - Method in enum com.tonic.analysis.ssa.ir.CompareOp
-
The logically-opposite comparison (the branch that fires exactly when this one would not).
- InvocationContext - Interface in com.tonic.analysis.execution.invoke
-
Interpreter services available to an invocation handler: the call stack, heap, and class resolver.
- invocationHandler(InvocationHandler) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Overrides the default per-mode invocation handler.
- InvocationHandler - Interface in com.tonic.analysis.execution.invoke
-
Strategy for executing a resolved method call, producing a result that tells the interpreter how to proceed.
- InvocationResult - Class in com.tonic.analysis.execution.invoke
-
Outcome of a method invocation attempt, pairing a status with the value, exception, or frame it produced.
- InvocationResult.Status - Enum in com.tonic.analysis.execution.invoke
-
Outcome category of an invocation attempt.
- invoke() - Method in class com.tonic.analysis.query.eval.Subject.CallSubject
- invoke(MethodEntry, ObjectInstance, ConcreteValue[]) - Method in interface com.tonic.analysis.execution.invoke.DelegatingHandler.InvocationCallback
-
Performs the delegated call.
- invoke(MethodEntry, ObjectInstance, ConcreteValue[], InvocationContext) - Method in class com.tonic.analysis.execution.invoke.DelegatingHandler
- invoke(MethodEntry, ObjectInstance, ConcreteValue[], InvocationContext) - Method in interface com.tonic.analysis.execution.invoke.InvocationHandler
-
Executes a resolved call.
- invoke(MethodEntry, ObjectInstance, ConcreteValue[], InvocationContext) - Method in class com.tonic.analysis.execution.invoke.RecursiveHandler
- INVOKE - com.tonic.analysis.execution.dispatch.DispatchResult
-
A call was reached; the interpreter must resolve the target and push a new frame.
- INVOKE - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A call was reached; the interpreter must resolve the target and push a new frame.
- INVOKE_ARG - com.tonic.analysis.dataflow.DataFlowNodeType
-
An argument handed to a call, a taint sink because the value leaves this method.
- INVOKE_DYNAMIC - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
An invokedynamic call site was reached; the interpreter must link it through its bootstrap method before the call can proceed.
- INVOKE_RESULT - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value produced by a call, treated as a taint entry point since the callee is opaque here.
- invokedynamic(String, String, MethodHandle, Object...) - Method in class com.tonic.builder.CodeBuilder
-
Appends
invokedynamic, registering the bootstrap method and its static arguments on the host class - the enclosing class builder, or theCodeBuilder.assemble(ClassFile)target when detached. - InvokeDynamic - Class in com.tonic.parser.constpool.structure
-
The index pair carried by a CONSTANT_InvokeDynamic pool entry.
- InvokeDynamic(int, int) - Constructor for class com.tonic.parser.constpool.structure.InvokeDynamic
-
Creates an invokedynamic reference from its raw indices.
- INVOKEDYNAMIC - com.tonic.util.Opcode
-
Invokes the dynamically linked target of a call site, running its bootstrap method on first execution.
- InvokeDynamicExpr - Class in com.tonic.analysis.source.ast.expr
-
An invokedynamic call whose bootstrap method was not a recognized pattern, preserving the bootstrap information and call arguments for display.
- InvokeDynamicExpr(String, String, List<Expression>, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
-
Creates an invokedynamic expression with unknown bootstrap owner and name.
- InvokeDynamicExpr(String, String, List<Expression>, String, String, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
-
Creates an invokedynamic expression with full bootstrap information; null arguments fall back to placeholders.
- InvokeDynamicInfo - Class in com.tonic.analysis.execution.dispatch
-
An invokedynamic call site: bootstrap method index plus the invoked name and descriptor.
- InvokeDynamicInfo(int, String, String, int) - Constructor for class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Creates an invokedynamic call site descriptor.
- InvokeDynamicInstruction - Class in com.tonic.analysis.instruction
-
Represents the INVOKEDYNAMIC instruction (0xBA).
- InvokeDynamicInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Constructs an InvokeDynamicInstruction.
- InvokeDynamicItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_InvokeDynamic entry in the constant pool.
- InvokeDynamicItem() - Constructor for class com.tonic.parser.constpool.InvokeDynamicItem
-
Default constructor for parsing.
- InvokeDynamicItem(ConstPool, int, int) - Constructor for class com.tonic.parser.constpool.InvokeDynamicItem
-
Constructor for programmatic creation.
- InvokeInsn - Interface in com.tonic.analysis.instruction
-
Common supertype for the four owner-bearing invoke instructions -
InvokeVirtualInstruction,InvokeSpecialInstruction,InvokeStaticInstruction, andInvokeInterfaceInstruction. - InvokeInstruction - Class in com.tonic.analysis.ssa.ir
-
A method invocation of any dispatch kind, including invokedynamic with bootstrap info.
- InvokeInstruction(InvokeType, String, String, String, List<Value>) - Constructor for class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Creates a void invocation with no constant pool index or bootstrap method.
- InvokeInstruction(InvokeType, String, String, String, List<Value>, int) - Constructor for class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Creates a void invocation with no bootstrap method.
- InvokeInstruction(InvokeType, String, String, String, List<Value>, int, BootstrapMethodInfo) - Constructor for class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Creates a void invocation and registers uses of its SSA arguments.
- InvokeInstruction(SSAValue, InvokeType, String, String, String, List<Value>) - Constructor for class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Creates a value-producing invocation with no constant pool index or bootstrap method.
- InvokeInstruction(SSAValue, InvokeType, String, String, String, List<Value>, int) - Constructor for class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Creates a value-producing invocation with no bootstrap method.
- InvokeInstruction(SSAValue, InvokeType, String, String, String, List<Value>, int, BootstrapMethodInfo) - Constructor for class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Creates a value-producing invocation and registers uses of its SSA arguments.
- invokeinterface(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
invokeinterface, adding the interface method reference and deriving the argument slot count from the descriptor. - INVOKEINTERFACE - com.tonic.util.Opcode
-
Pops the receiver and arguments and invokes an interface method resolved against the receiver's runtime class.
- InvokeInterfaceInstruction - Class in com.tonic.analysis.instruction
-
Represents the INVOKEINTERFACE instruction (0xB9).
- InvokeInterfaceInstruction(ConstPool, int, int, int, int) - Constructor for class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Constructs an InvokeInterfaceInstruction.
- InvokeParameterUtil - Class in com.tonic.parser.constpool.structure
-
Utility for parsing method descriptors in invoke operations.
- InvokeParameterUtil() - Constructor for class com.tonic.parser.constpool.structure.InvokeParameterUtil
- invokespecial(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
invokespecial, adding the method reference to the constant pool. - INVOKESPECIAL - com.tonic.util.Opcode
-
Pops the receiver and arguments and invokes an instance method without virtual dispatch, as used for constructors, private methods and super calls.
- InvokeSpecialInstruction - Class in com.tonic.analysis.instruction
-
Represents the INVOKESPECIAL instruction (0xB7).
- InvokeSpecialInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Constructs an InvokeSpecialInstruction.
- invokestatic(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
invokestatic, adding the method reference to the constant pool. - INVOKESTATIC - com.tonic.util.Opcode
-
Pops the arguments and invokes the named static method, initializing its class if needed.
- InvokeStaticInstruction - Class in com.tonic.analysis.instruction
-
Represents the INVOKESTATIC instruction (0xB8).
- InvokeStaticInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Constructs an InvokeStaticInstruction.
- invokeType(InvokeType) - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Sets the invocation type used to call the hook.
- InvokeType - Enum in com.tonic.analysis.ssa.ir
-
Types of method invocation.
- invokevirtual(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
invokevirtual, adding the method reference to the constant pool. - INVOKEVIRTUAL - com.tonic.util.Opcode
-
Pops the receiver and arguments and invokes an instance method selected by virtual dispatch on the receiver's runtime class.
- InvokeVirtualInstruction - Class in com.tonic.analysis.instruction
-
Represents the INVOKEVIRTUAL instruction (0xB6).
- InvokeVirtualInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Constructs an InvokeVirtualInstruction.
- IOHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for print and output stream APIs, which discard all output and return the receiver or a zero result.
- IOHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.IOHandlers
- ior() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ior, bitwise or of the top two int values. - IOR - com.tonic.util.Opcode
-
Pops two ints and pushes their bitwise inclusive OR.
- IOrInstruction - Class in com.tonic.analysis.instruction
-
Represents the IOR instruction (0x80).
- IOrInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.IOrInstruction
-
Constructs an IOrInstruction.
- ir() - Method in class com.tonic.analysis.query.eval.EvalContext
- IRBlock - Class in com.tonic.analysis.ssa.cfg
-
A basic block in the SSA CFG, holding phi instructions ahead of its regular instructions.
- IRBlock() - Constructor for class com.tonic.analysis.ssa.cfg.IRBlock
-
Creates a new basic block with an auto-generated name.
- IRBlock(String) - Constructor for class com.tonic.analysis.ssa.cfg.IRBlock
-
Creates a new basic block with the given name.
- irem() - Method in class com.tonic.builder.CodeBuilder
-
Appends
irem, taking the remainder of the top two int values. - IREM - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Int remainder, taking the sign of the dividend and throwing on a zero divisor.
- IREM - com.tonic.util.Opcode
-
Pops two ints and pushes the remainder of the division, taking the sign of the dividend; throws ArithmeticException if the divisor is zero.
- ireturn() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ireturn, returning an int. - IRETURN - com.tonic.util.Opcode
-
Pops an int and returns it to the caller, discarding the rest of the frame.
- IRETURN - com.tonic.util.ReturnType
-
Integer return instruction.
- IRETURN - Static variable in interface com.tonic.type.AccessFlags
- IRInstruction - Class in com.tonic.analysis.ssa.ir
-
Base class for all IR instructions, carrying an id, owning block, optional result, and bytecode offset.
- IRMethod - Class in com.tonic.analysis.ssa.cfg
-
A method in SSA form: its CFG blocks plus parameters, exception handlers, and lowering metadata.
- IRMethod(String, String, String, boolean) - Constructor for class com.tonic.analysis.ssa.cfg.IRMethod
-
Creates a new IR method.
- IRMethod.SourceLocal - Class in com.tonic.analysis.ssa.cfg
-
A source-declared variable (the receiver, a parameter, or a body local) and the SSA value(s) it lowered to.
- IRMethodCloner - Class in com.tonic.analysis.ssa.util
-
Utility class for deep-cloning IR methods.
- IRMethodCloner() - Constructor for class com.tonic.analysis.ssa.util.IRMethodCloner
-
Creates a new cloner with default prefix.
- IRMethodCloner(String) - Constructor for class com.tonic.analysis.ssa.util.IRMethodCloner
-
Creates a new cloner with a prefix for renamed blocks.
- IRPrinter - Class in com.tonic.analysis.ssa
-
Utility class for formatting SSA IR instructions and blocks as human-readable strings.
- IRREDUCIBLE - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A region no source construct matches, such as a loop entered at more than one header.
- IRRegionStmt - Class in com.tonic.analysis.source.ast.stmt
-
A fallback statement preserving raw IR blocks of an irreducible region, emitted as labeled blocks with breaks.
- IRRegionStmt(List<IRBlock>) - Constructor for class com.tonic.analysis.source.ast.stmt.IRRegionStmt
-
Creates a region with generated labels and an unknown location.
- IRRegionStmt(List<IRBlock>, Map<IRBlock, String>, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.IRRegionStmt
-
Creates a region over the given blocks, generating labels when none are supplied.
- IRTransform - Interface in com.tonic.analysis.ssa.transform
-
Interface for IR transformation passes.
- IRType - Interface in com.tonic.analysis.ssa.type
-
Base interface for all IR types in the SSA representation.
- IRVisitor<T> - Interface in com.tonic.analysis.ssa.visitor
-
Visitor interface for IR instructions.
- is(TokenType) - Method in class com.tonic.analysis.source.parser.Token
-
Tests the token type.
- isAbstract() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- isAbstract() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isAbstract() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- isAbstract(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is abstract.
- isAccessModifier() - Method in enum com.tonic.analysis.source.ast.decl.Modifier
- isAfter() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isAll() - Method in class com.tonic.analysis.query.ast.AllScope
- isAll() - Method in interface com.tonic.analysis.query.ast.Scope
- isAllocation() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isAllocation() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only object or array allocation instructions.
- isAlwaysUseBraces() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isAncestorOf(String, String) - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
-
Checks if a class is an ancestor of another class.
- isAnnotation(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is an annotation.
- isArray() - Method in class com.tonic.analysis.simulation.listener.AllocationListener.AllocationSite
- isArray() - Method in interface com.tonic.analysis.source.ast.type.SourceType
- isArray() - Method in class com.tonic.analysis.ssa.type.ArrayType
- isArray() - Method in interface com.tonic.analysis.ssa.type.IRType
- isArray() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- isArray() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- isArray() - Method in class com.tonic.analysis.ssa.type.VoidType
- isArray() - Method in class com.tonic.parser.util.TypeInfo
- isArray() - Method in class com.tonic.type.TypeDescriptor
- isArray(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isArrayLoadValid(VerificationType, VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
-
Checks an array load: the operand must be a reference, and when its element type is known it must satisfy what the load opcode expects.
- isAssignableFrom(String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Tests reference assignability, handling Object, covariant arrays, and the class hierarchy.
- isAssignableTo(VerificationType, VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
-
Decides whether a value of one type may be stored where another is expected.
- isAssignableTo(SourceType, SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
-
Decides assignability by identity, primitive widening, or a reference going to Object.
- isAssignment() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- isAssignment() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- isAssignment(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Checks if operator is an assignment.
- isAssignmentOperator() - Method in enum com.tonic.analysis.source.parser.TokenType
- isASTEdge() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isASTEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isASTNode() - Method in enum com.tonic.analysis.cpg.node.CPGNodeType
- isAtBlockEnd() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Check if at the end of a block.
- isAtBlockStart() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Check if at the start of a block.
- isAtBreakpoint() - Method in class com.tonic.analysis.execution.debug.DebugState
- isBefore() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isBitwise() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- isBlankLinesBetweenMethods() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isBlockBody() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- isBoolean() - Method in class com.tonic.analysis.query.ast.Condition.Comparison
- isBoolean(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isBottom() - Method in class com.tonic.analysis.typeinference.TypeState
- isBoxedType(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isBranch() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isBranch() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only conditional branch instructions.
- isBranchCondition() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- isBridge(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is a bridge method.
- isCallGraphEdge() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isCallGraphEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isCanBeSink() - Method in enum com.tonic.analysis.pdg.node.PDGNodeType
- isCanBeSource() - Method in enum com.tonic.analysis.pdg.node.PDGNodeType
- isCanModifyReturn() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isCanModifyValue() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- isCanModifyValue() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isCanSuppress() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- isCast() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- isCatchAll() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
-
Checks if this is a catch-all handler.
- isCategory1(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isCategory2(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isCFGEdge() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isCFGEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isCheckClass() - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- isCheckMethod() - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- isClassInitializer() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- isClassRef() - Method in class com.tonic.analysis.xref.Xref
-
Tests whether the reference names a class rather than a specific member.
- isClinit() - Method in class com.tonic.analysis.query.ast.DuringScope
- isClusterByMethod() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- isCollectAll() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isComparison() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- isComparison() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- isComparison(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Checks if operator is a comparison.
- isComparisonOperator() - Method in enum com.tonic.analysis.source.parser.TokenType
- isComplete() - Method in class com.tonic.analysis.typeinference.TypeSet
- isCompleted() - Method in class com.tonic.analysis.execution.frame.StackFrame
- isCompleted() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- isCompleted() - Method in class com.tonic.analysis.execution.result.BytecodeResult
- isConditionNegated() - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- isConstant() - Method in class com.tonic.analysis.simulation.state.SimValue
- isConstant() - Method in class com.tonic.analysis.ssa.transform.ValueRange
- isConstant() - Method in class com.tonic.analysis.ssa.value.Constant
- isConstant() - Method in class com.tonic.analysis.ssa.value.SSAValue
- isConstant() - Method in interface com.tonic.analysis.ssa.value.Value
-
Checks if this value is a constant.
- isConstructor() - Method in class com.tonic.analysis.common.MethodReference
-
Tests whether the name is the constructor name.
- isConstructor() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Checks whether the handle invokes a constructor.
- isConstructor() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- isConstructorRef() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- isContextSensitive() - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
- isControlDependence() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- isControlDependence() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- isControlDependenceEdge() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isControlDependenceEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isControlDependency() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- isCritical() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- isDataDependence() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- isDataDependence() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- isDataDependency() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- isDataFlowEdge() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isDataFlowEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isDeadCode(IRInstruction) - Method in class com.tonic.analysis.ssa.analysis.DefUseChains
-
Checks if an instruction is dead code.
- isDeclared(String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isDefault() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isDefault() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- isDefault() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- isDefault() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor.CaseSpec
- isDefined(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Tests whether a slot holds a value.
- isDefined(int) - Method in class com.tonic.analysis.simulation.state.LocalState
-
Tests whether a slot holds a value.
- isDefinitelyNotNull() - Method in class com.tonic.analysis.simulation.state.SimValue
- isDefinitelyNotNull() - Method in enum com.tonic.analysis.typeinference.Nullability
- isDefinitelyNotNull() - Method in class com.tonic.analysis.typeinference.TypeState
- isDefinitelyNotNull(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
- isDefinitelyNotNull(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Checks if a value is definitely not null.
- isDefinitelyNull() - Method in class com.tonic.analysis.simulation.state.SimValue
- isDefinitelyNull() - Method in enum com.tonic.analysis.typeinference.Nullability
- isDefinitelyNull() - Method in class com.tonic.analysis.typeinference.TypeState
- isDefinitelyNull(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
- isDefinitelyNull(SSAValue) - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Checks if a value is definitely null.
- isDefiniteMatch(FingerprintMatch) - Method in class com.tonic.analysis.fingerprint.FingerprintComparator
-
Decides whether a match is near-certain, requiring score at least 0.95 and confidence at least 0.8.
- isDelegated() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- isDescendantOf(ASTNode) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Checks if this node is a descendant of the specified ancestor.
- isDirected() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- isDouble(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isDuplicationSafe(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
True when
blockmay be duplicated - re-recovered once per reaching edge - without changing semantics or perturbing the round trip. - isDuplicationSafe(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- isDynamic() - Method in class com.tonic.analysis.callgraph.CallSite
- isDynamic() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
-
Checks if this is an invokedynamic instruction.
- isElseIf() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- isEmitDivisionGuards() - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig
- isEmitLocalInstructions() - Method in class com.tonic.analysis.source.lower.LoweringContext
- isEmitLocalVariableTable() - Method in class com.tonic.analysis.ssa.lower.BytecodeLowerer
- isEmpty() - Method in class com.tonic.analysis.execution.frame.CallStack
- isEmpty() - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- isEmpty() - Method in class com.tonic.analysis.execution.state.ConcreteStack
- isEmpty() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- isEmpty() - Method in class com.tonic.analysis.query.eval.EvidenceCollector
- isEmpty() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- isEmpty() - Method in class com.tonic.analysis.simulation.state.CallStackState
- isEmpty() - Method in class com.tonic.analysis.simulation.state.StackState
- isEmpty() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- isEmpty() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- isEmpty() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Checks if this block is empty.
- isEmpty() - Method in class com.tonic.analysis.ssa.transform.ValueRange
- isEmpty() - Method in class com.tonic.analysis.typeinference.TypeSet
- isEmpty() - Method in class com.tonic.analysis.xref.XrefDatabase
-
Check if the database is empty.
- isEmpty() - Method in class com.tonic.renamer.mapping.MappingStore
- isEnabled() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isEnabled() - Method in interface com.tonic.analysis.instrumentation.hook.Hook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- isEnabled() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isEntry() - Method in class com.tonic.analysis.cpg.node.BlockNode
- isEntry() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- isEntry() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Checks if this is the entry block.
- isEntryBlock() - Method in class com.tonic.analysis.cpg.node.BlockNode
- isEnum(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is an enum.
- isError() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- isError() - Method in class com.tonic.analysis.verifier.VerificationError
- isException() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- isExceptionTable() - Method in class com.tonic.analysis.DisassemblyOptions
- isExit() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- isExit() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Checks if this is an exit block.
- isExitBlock() - Method in class com.tonic.analysis.cpg.node.BlockNode
- isExpressionBody() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- isExternal() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- isFailFast() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isFailOnError() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isFailure() - Method in class com.tonic.analysis.execution.result.BytecodeResult
- isFieldAccess() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isFieldAccess() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only field access instructions.
- isFieldDescriptor(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Tests whether a descriptor starts with a field type character.
- isFieldKnownFalse(String, String) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Searches every enclosing scope for a field pinned to false or zero.
- isFieldRef() - Method in class com.tonic.analysis.xref.Xref
-
Tests whether the reference names a specific field.
- isFieldRef() - Method in enum com.tonic.analysis.xref.XrefType
-
Check if this is a field-related reference.
- isFieldReference() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Checks whether the handle references a field.
- isFieldReference() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
-
Checks if this method handle references a field.
- isFinal() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isFinal() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isFinal() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- isFinal() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- isFinal() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- isFinal(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is final.
- isFinished() - Method in class com.tonic.analysis.execution.debug.DebugState
- isFloat(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isFloatComparison(BinaryOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Reports whether a binary operation is a float or double comparison.
- isFloatingPoint() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
-
Checks if this is a floating-point type.
- isFloatingPoint(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isForLoopHeader(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- isForLoopInductionLocal(int) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- isForLoopInductionPhi(SSAValue) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- isForLoopInit(IRInstruction) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- isGeneric(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isGetter() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Checks whether the handle reads a field.
- isGroupByMethod() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isHeader() - Method in class com.tonic.analysis.DisassemblyOptions
- isHighlySimilar() - Method in class com.tonic.analysis.similarity.SimilarityResult
- ishl() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ishl, shifting a int left. - ISHL - com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Left shift of an int, using the low five bits of the shift count.
- ISHL - com.tonic.util.Opcode
-
Pops an int shift distance and an int value, and pushes the value shifted left by the low five bits of the distance.
- ishr() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ishr, arithmetic right shift of a int. - ISHR - com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Arithmetic right shift of an int, propagating the sign bit.
- ISHR - com.tonic.util.Opcode
-
Pops an int shift distance and an int value, and pushes the value shifted right with sign extension by the low five bits of the distance.
- isInBranchScope() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isIncDec() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- isIncDec() - Method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
- isIncludeCallGraph() - Method in class com.tonic.analysis.cpg.CPGBuilder
- isIncludeControlDependencies() - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
- isIncludeDataDependencies() - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
- isIncludeIRComments() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isIncludeLegend() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- isIncludeLineNumbers() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isIncludePDG() - Method in class com.tonic.analysis.cpg.CPGBuilder
- isIncludeSDG() - Method in class com.tonic.analysis.cpg.CPGBuilder
- isIncludeSubpackages() - Method in class com.tonic.analysis.instrumentation.filter.PackageFilter
- isInConditional() - Method in class com.tonic.analysis.source.editor.EditorContext
- isInfinite() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- isInheritanceRef() - Method in enum com.tonic.analysis.xref.XrefType
-
Check if this reference indicates inheritance/implementation.
- isInlined(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isInLoop() - Method in class com.tonic.analysis.source.editor.EditorContext
- isInLoop(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
-
Checks if the specified block is in any loop.
- isInnerClass(String) - Static method in class com.tonic.util.ClassNameUtil
-
Checks if the given internal name represents an inner class.
- isInnerClassCreation() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- isInPool() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- isInPool() - Method in class com.tonic.analysis.dependency.DependencyNode
- isInPool() - Method in class com.tonic.renamer.hierarchy.ClassNode
- isInsert() - Method in class com.tonic.analysis.source.editor.Replacement
- isInsertBefore() - Method in class com.tonic.analysis.Bytecode
- isInstanceOf() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- isInstanceOf(ObjectInstance, String) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Tests assignability of an object to a type, treating unloaded types as compatible.
- isInstanceOf(String) - Method in class com.tonic.analysis.execution.heap.ObjectInstance
-
Checks assignability by exact class match, treating java/lang/Object as a universal supertype.
- isInstructionLevel() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- isInstrumentExceptionalExits() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isInstrumentInstance() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- isInstrumentInstance() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isInstrumentStatic() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- isInstrumentStatic() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isInteger(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isIntegral() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- isIntegral() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
-
Checks if this is an integral type.
- isIntegral(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isInterface() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- isInterface() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- isInterface() - Method in interface com.tonic.analysis.instruction.InvokeInsn
- isInterface() - Method in class com.tonic.renamer.hierarchy.ClassNode
- isInterface() - Method in class com.tonic.type.MethodHandle
- isInterface(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is an interface.
- isInterface(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Tests whether a class is an interface, consulting the ClassPool and then reflection.
- isInterned(String) - Method in class com.tonic.analysis.execution.heap.StringPool
-
Checks whether a value already has a pooled object.
- isInterprocedural() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
- isInterprocedural() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- isInterprocedural() - Method in enum com.tonic.analysis.pdg.node.PDGNodeType
- isInterProcedural() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- isInterproceduralEdge() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isInterproceduralEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isInterproceduralEdge() - Method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
- isIntersection(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isInTryBlock() - Method in class com.tonic.analysis.source.editor.EditorContext
- isInvoke() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isInvokeInstruction(Instruction) - Static method in class com.tonic.analysis.query.util.ArgumentTypeAnalyzer
- isIRNode() - Method in enum com.tonic.analysis.cpg.node.CPGNodeType
- isKeep() - Method in class com.tonic.analysis.source.editor.Replacement
- isKeyword() - Method in class com.tonic.analysis.source.parser.Token
- isKeyword() - Method in enum com.tonic.analysis.source.parser.TokenType
- isKnownFalse(SSAValue) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Searches every enclosing scope for a value pinned to false or zero.
- isLambda(String, String) - Static method in class com.tonic.analysis.BootstrapFamilies
-
Tests whether an owner/name pair is the
LambdaMetafactorymetafactoryoraltMetafactorybootstrap. - isLambdaFactory(InvokeDynamicInfo) - Method in class com.tonic.analysis.execution.invoke.LambdaProxyFactory
-
Checks whether the call site's bootstrap method is the lambda metafactory.
- isLambdaMetafactory() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Checks whether the invoked name matches a common functional-interface method, indicating a LambdaMetafactory call site.
- isLambdaMetafactory() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
-
Checks if this is a lambda metafactory bootstrap.
- isLeftAssociative() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- isLikelyMatch(FingerprintMatch, double) - Method in class com.tonic.analysis.fingerprint.FingerprintComparator
-
Decides whether a match is likely, requiring the given score threshold and confidence at least 0.5.
- isLineNumbers() - Method in class com.tonic.analysis.DisassemblyOptions
- isLiteral() - Method in class com.tonic.analysis.source.parser.Token
- isLiteral() - Method in enum com.tonic.analysis.source.parser.TokenType
- isLiveAt(SSAValue, IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LivenessAnalysis
-
Checks if a value is live at the specified block.
- isLoad() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- isLoad() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- isLocalVariables() - Method in class com.tonic.analysis.DisassemblyOptions
- isLogical() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- isLogical() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- isLogical(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Checks if operator is logical (short-circuit AND/OR).
- isLong(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isLongComparison(BinaryOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Reports whether a binary operation is a long comparison.
- isLoopHeader(IRBlock) - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis
-
Checks if the specified block is a loop header.
- isMarker() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- isMatchPresent() - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- isMaterialized(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isMethod() - Method in class com.tonic.type.TypeDescriptor
- isMethodCall() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only call site nodes.
- isMethodDescriptor(String) - Static method in class com.tonic.parser.util.DescriptorParser
-
Tests whether a descriptor has the shape of a method descriptor.
- isMethodRef() - Method in class com.tonic.analysis.xref.Xref
-
Tests whether the reference names a specific method.
- isMethodRef() - Method in enum com.tonic.analysis.xref.XrefType
-
Check if this is a method-related reference.
- isMethodReference() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Checks whether the handle references a method or constructor.
- isMethodReference() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
-
Checks if this method handle references a method.
- isModified() - Method in class com.tonic.analysis.Bytecode
-
Returns whether the bytecode has been modified since loading.
- isModified() - Method in class com.tonic.analysis.CodeWriter
- isModifier() - Method in class com.tonic.analysis.source.parser.Token
- isModifier() - Method in enum com.tonic.analysis.source.parser.TokenType
- isMultiCatch() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- isMultiDimensional() - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
-
Checks if this is a multi-dimensional array allocation.
- isNative() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- isNative() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isNative(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is native.
- isNativeHandled() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- isNormal() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- isNull() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- isNull() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- isNull() - Method in interface com.tonic.analysis.ssa.value.Value
-
Checks if this value is null.
- isNull(ObjectInstance) - Method in interface com.tonic.analysis.execution.heap.HeapManager
- isNull(ObjectInstance) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- isNullCheck(CompareOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Reports whether a comparison tests a reference against null.
- isNullChecked(Expression) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Checks whether an expression has been marked null-checked; only simple variable references are tracked.
- isNumeric() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- isNumeric(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isObject() - Method in class com.tonic.type.TypeDescriptor
- isObjectMethodsBootstrap() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
-
Checks if this is the records
ObjectMethodsbootstrap (Java 16) backing the auto-generatedequals/hashCode/toStringof a record. - isOneOf(TokenType...) - Method in class com.tonic.analysis.source.parser.Token
-
Tests the token type against several candidates.
- isPackagePrivate(int) - Static method in class com.tonic.util.Modifiers
-
Determines if the entity has package-private visibility.
- isParameter() - Method in class com.tonic.analysis.absexec.VarCtx
- isParameter() - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- isParameterNode() - Method in enum com.tonic.analysis.pdg.node.PDGNodeType
- isParameterOrThisSlot(int) - Method in class com.tonic.analysis.source.recovery.MethodLocals
- isParameterOrThisSlot(int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isPassAllParameters() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- isPassArguments() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isPassArray() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- isPassArray() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- isPassClassName() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- isPassClassName() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- isPassClassName() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isPassException() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- isPassFieldName() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- isPassFieldName() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isPassIndex() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- isPassIndex() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- isPassMethodName() - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
- isPassMethodName() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isPassMethodName() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- isPassMethodName() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isPassNewValue() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isPassOldValue() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isPassOwner() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- isPassOwner() - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
- isPassReadValue() - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
- isPassReceiver() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isPassResult() - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook
- isPassReturnValue() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isPassThis() - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
- isPassThis() - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
- isPassValue() - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
- isPassValue() - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
- isPaused() - Method in class com.tonic.analysis.execution.debug.DebugSession
- isPaused() - Method in class com.tonic.analysis.execution.debug.DebugState
- isPDGNode() - Method in enum com.tonic.analysis.cpg.node.CPGNodeType
- isPendingNew(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isPhi() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isPhi() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- isPhi() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Checks if this is a phi instruction.
- isPhi() - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
- isPinnedToVariable(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isPolymorphic() - Method in class com.tonic.analysis.callgraph.CallSite
- isPostfix() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- isPostfix() - Method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
- isPotentialDuplicate() - Method in class com.tonic.analysis.similarity.SimilarityResult
- isPrecise() - Method in class com.tonic.analysis.typeinference.TypeState
- isPrefix() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- isPrefix() - Method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
- isPrimitive() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
-
Checks whether the constant is of primitive type.
- isPrimitive() - Method in interface com.tonic.analysis.source.ast.type.SourceType
- isPrimitive() - Method in class com.tonic.analysis.ssa.type.ArrayType
- isPrimitive() - Method in interface com.tonic.analysis.ssa.type.IRType
- isPrimitive() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- isPrimitive() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- isPrimitive() - Method in class com.tonic.analysis.ssa.type.VoidType
- isPrimitive() - Method in class com.tonic.parser.util.TypeInfo
- isPrimitive() - Method in class com.tonic.type.TypeDescriptor
- isPrimitive(char) - Static method in class com.tonic.util.DescriptorUtil
-
Checks if a character represents a primitive type descriptor.
- isPrimitive(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isPrimitiveArray() - Method in class com.tonic.analysis.execution.heap.ArrayInstance
- isPrimitiveArray() - Method in class com.tonic.analysis.source.lower.SyntheticArrayConstructor
- isPrimitiveArrayReturn() - Method in class com.tonic.parser.MethodEntry
- isPrimitiveReturn() - Method in class com.tonic.parser.MethodEntry
- isPrimitiveType() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- isPrimitiveType() - Method in class com.tonic.analysis.source.parser.Token
- isPrimitiveType() - Method in enum com.tonic.analysis.source.parser.TokenType
- isPrimitiveType(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isPrivate() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- isPrivate() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isPrivate() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isPrivate() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- isPrivate(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is private.
- isProcessed(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
- isPropagate() - Method in class com.tonic.renamer.mapping.MethodMapping
- isProtected() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- isProtected() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isProtected() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isProtected() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- isProtected(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is protected.
- isPublic() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- isPublic() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isPublic() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isPublic() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- isPublic(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is public.
- isPureExitBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer
-
Checks if a block is a PURE exit: a throw, a void return, or a trivial goto to such a block.
- isPushFrame() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- isReachable(PDGNode, PDGNode) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Tests whether target appears in the forward slice of source.
- isReachableFrom(AllocationSite, AllocationSite) - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
-
Tests whether one site can be reached by following fields and array elements from another.
- isReceiverValid(VerificationType, String) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
-
Checks an invocation receiver, accepting null and uninitialized references.
- isRecord(String, String) - Static method in class com.tonic.analysis.BootstrapFamilies
-
Tests whether an owner/name pair is the
ObjectMethods.bootstraprecord bootstrap. - isRecordDeconstruction() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- isRecordDeconstruction() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- isRecovered(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- isReference() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
-
Checks whether the constant is of reference type.
- isReference() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- isReference() - Method in class com.tonic.analysis.simulation.state.SimValue
- isReference() - Method in interface com.tonic.analysis.source.ast.type.SourceType
- isReference() - Method in class com.tonic.analysis.ssa.type.ArrayType
- isReference() - Method in interface com.tonic.analysis.ssa.type.IRType
- isReference() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- isReference() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- isReference() - Method in class com.tonic.analysis.ssa.type.VoidType
- isReference() - Method in class com.tonic.parser.util.TypeInfo
- isReference(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isReferenceArrayReturn() - Method in class com.tonic.parser.MethodEntry
- isReferenceReturn() - Method in class com.tonic.parser.MethodEntry
- isReferenceType() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- isReferenceType(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
- isRegex() - Method in class com.tonic.analysis.query.ast.ClassScope
- isRegex() - Method in class com.tonic.analysis.query.ast.MethodScope
- isRegionBlockProcessed(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
True once
blockhas been emitted. - isRegionBlockProcessed(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- isRelational() - Method in enum com.tonic.analysis.query.value.Operator
-
Data-flow relations whose right operand is an accessor, evaluated over SSA (not
Operator.test(com.tonic.analysis.query.value.Value, com.tonic.analysis.query.value.Value)). - isRemove() - Method in class com.tonic.analysis.source.editor.Replacement
- isReplace() - Method in class com.tonic.analysis.source.editor.Replacement
- isReplacesValue() - Method in class com.tonic.analysis.instrumentation.HookDescriptor
- isResolveBootstrapMethods() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isResolveBootstraps() - Method in class com.tonic.analysis.DisassemblyOptions
- isRetiredHandlerBlock(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Whether
blockis the entry of an exception handler the surrounding recovery has already consumed - a retired copy-side guard catch or a de-duplicated finally's scaffolding. - isRetiredHandlerBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- isReturn() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isReturn() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only return instructions.
- isReturnOpcode(int) - Static method in enum com.tonic.util.ReturnType
-
Checks if the given opcode is a return instruction.
- isRightAssociative() - Method in enum com.tonic.analysis.source.parser.Precedence
- isRunning() - Method in class com.tonic.analysis.execution.debug.DebugSession
- isRunning() - Method in class com.tonic.analysis.execution.debug.DebugState
- isSanitized() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- isSatisfiable(BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Tests whether a formula holds under some assignment, ignoring the registered domains.
- isSDGNode() - Method in enum com.tonic.analysis.cpg.node.CPGNodeType
- isSetter() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Checks whether the handle writes a field.
- isSharedNameAndType(ConstPool, int) - Method in class com.tonic.renamer.RenamerContext
-
Checks if a NameAndType entry is shared by multiple references.
- isShowEdgeLabels() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isShowLineNumbers() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isShowNodeIds() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- isShowNodeIds() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isShowProperties() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isShowStatistics() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isSingleMetric() - Method in enum com.tonic.analysis.similarity.SimilarityMetric
- isSingleOperandCheck(CompareOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Reports whether a comparison takes its second operand implicitly (zero or null).
- isSingleton() - Method in class com.tonic.analysis.typeinference.TypeSet
- isSingleton(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Tests whether a reference resolves to exactly one allocation site.
- isSingleValue() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- isSink() - Method in enum com.tonic.analysis.dataflow.DataFlowNodeType
-
Tests whether this type consumes values.
- isSkipAbstract() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isSkipBridge() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isSkipConstructors() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isSkipNative() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isSkipStaticInitializers() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isSkipSynthetic() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isSource() - Method in enum com.tonic.analysis.dataflow.DataFlowNodeType
-
Tests whether this type produces values.
- isSpecial() - Method in class com.tonic.analysis.callgraph.CallSite
- isSpecial() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- isSpecial() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- isSSAValue() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- isSSAValue() - Method in interface com.tonic.analysis.ssa.value.Value
-
Checks if this value is an SSA value.
- isStackEmpty() - Method in class com.tonic.analysis.frame.TypeState
-
Returns true if the stack is empty.
- isStackEmpty() - Method in class com.tonic.analysis.ssa.lift.AbstractState
- isStackMapFrames() - Method in class com.tonic.analysis.DisassemblyOptions
- isStatic() - Method in class com.tonic.analysis.Bytecode
- isStatic() - Method in class com.tonic.analysis.callgraph.CallSite
- isStatic() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- isStatic() - Method in class com.tonic.analysis.cpg.node.MethodNode
- isStatic() - Method in class com.tonic.analysis.execution.dispatch.FieldInfo
- isStatic() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Checks whether the referenced member is static.
- isStatic() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- isStatic() - Method in class com.tonic.analysis.execution.resolve.ResolvedField
- isStatic() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- isStatic() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns whether this is a static field access.
- isStatic() - Method in interface com.tonic.analysis.instruction.InvokeInsn
- isStatic() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns whether this is a static field access.
- isStatic() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isStatic() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- isStatic() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isStatic() - Method in interface com.tonic.analysis.source.ast.decl.TypeDecl
- isStatic() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- isStatic() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- isStatic() - Method in class com.tonic.analysis.source.lower.SyntheticLambdaMethod
- isStatic() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- isStatic() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- isStatic(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is static.
- isStaticField(String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Tests whether a field is declared static, searching the current class declaration first, then the owner class and its superclasses.
- isStaticInitializer() - Method in class com.tonic.analysis.common.MethodReference
-
Tests whether the name is the static initializer name.
- isStaticMethod(String, String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Checks the ACC_STATIC flag of a method declared on a pooled class.
- isStaticMethodInCurrentClass(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Tests whether a method of the class being lowered is static, consulting the parsed class declaration (which may hold methods not yet present on the ClassFile) so that unqualified self-calls can be resolved as static or virtual.
- isStopped() - Method in class com.tonic.analysis.execution.debug.DebugSession
- isStore() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- isStore() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- isStream() - Method in class com.tonic.analysis.query.eval.AttributeRegistry.Entry
- isStrict(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is strictfp.
- isStrictTypeChecking() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isString() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- isStringConcat() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Checks whether this is a StringConcatFactory call site.
- isStringConcat(InvokeDynamicInfo) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Checks whether the call site's bootstrap method is a StringConcatFactory entry point.
- isStringConcat(String) - Static method in class com.tonic.analysis.BootstrapFamilies
-
Tests whether an owner is
StringConcatFactory. - isStringConcatFactory() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
-
Checks if this is a string concatenation bootstrap.
- isSuccess() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- isSuccess() - Method in class com.tonic.analysis.execution.result.BytecodeResult
- isSuperCall() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- isSwitch(String) - Static method in class com.tonic.analysis.BootstrapFamilies
-
Tests whether an owner is
SwitchBootstraps. - isSwitchBootstrap() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
-
Checks if this is a
SwitchBootstrapsbootstrap (Java 21 pattern switch):typeSwitchorenumSwitch. - isSynchronized() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- isSynchronized(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is synchronized.
- isSynthetic() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- isSynthetic() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- isSynthetic(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is synthetic.
- isTainted() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- isTainted() - Method in class com.tonic.analysis.cpg.node.CPGNode
- isTainted() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- isTainted() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- isTainted() - Method in class com.tonic.analysis.pdg.node.PDGNode
- isTaintEdge() - Method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
- isTaintsReturnValue() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- isTautology(BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Tests whether a formula holds under every assignment, ignoring the registered domains.
- isTerminator() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- isTerminator() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- isTerminator() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- isTerminator() - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Checks if this instruction terminates a basic block.
- isTerminator() - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- isTerminator() - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- isTerminator() - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- isThrowable(VerificationType) - Method in class com.tonic.analysis.verifier.type.TypeConstraint
-
Decides whether a value may be thrown, walking to Throwable when a class pool is available and accepting the type otherwise.
- istore(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a int store to a local slot.
- ISTORE - com.tonic.util.Opcode
-
Pops an int and stores it in the local variable at the given index.
- ISTORE - Static variable in interface com.tonic.type.AccessFlags
- ISTORE_0 - com.tonic.util.Opcode
-
Pops an int and stores it in local variable 0.
- ISTORE_1 - com.tonic.util.Opcode
-
Pops an int and stores it in local variable 1.
- ISTORE_2 - com.tonic.util.Opcode
-
Pops an int and stores it in local variable 2.
- ISTORE_3 - com.tonic.util.Opcode
-
Pops an int and stores it in local variable 3.
- IStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the ISTORE instructions (0x36, 0x3B-0x3E).
- IStoreInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.IStoreInstruction
-
Constructs an IStoreInstruction.
- isTrackHeap() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- isTrackingHistory() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- isTrackStackOperations() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- isTrackStatistics() - Method in class com.tonic.analysis.execution.core.BytecodeContext
- isTrackValues() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- isTransient() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isTransient(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is transient.
- isTreatWarningsAsErrors() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isTruncateLabels() - Method in class com.tonic.analysis.graph.export.DOTExporterConfig
- isTruncateLongLabels() - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig
- isTwoSlot() - Method in class com.tonic.analysis.frame.VerificationType
-
Returns true if this type takes two slots.
- isTwoSlot() - Method in class com.tonic.analysis.ssa.type.ArrayType
- isTwoSlot() - Method in interface com.tonic.analysis.ssa.type.IRType
- isTwoSlot() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- isTwoSlot() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- isTwoSlot() - Method in class com.tonic.analysis.ssa.type.VoidType
- isTypeConversion(UnaryOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Reports whether a unary operator widens or narrows a primitive rather than computing a value.
- isTypePattern() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
- isTypeRef() - Method in enum com.tonic.analysis.xref.XrefType
-
Check if this is a class/type-related reference.
- isub() - Method in class com.tonic.builder.CodeBuilder
-
Appends
isub, subtracting the top two int values. - ISUB - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Subtracts the topmost int from the one beneath it, wrapping on overflow.
- ISUB - com.tonic.util.Opcode
-
Pops two ints and pushes the lower one minus the upper one.
- isUnbounded() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- isUnion(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isUnknown() - Method in class com.tonic.analysis.simulation.state.SimValue
- isUnknown() - Method in class com.tonic.analysis.source.parser.SourcePosition
- isUseFullyQualifiedNames() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isUseSimpleName() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- isUseSummaryEdges() - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
- isUseVarKeyword() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- isUseVarKeyword() - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig
- isUsingCompactStrings() - Method in interface com.tonic.analysis.execution.heap.HeapManager
- isUsingCompactStrings() - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- isUsingCompactStrings() - Method in class com.tonic.analysis.execution.heap.StringPool
- isValid() - Method in interface com.tonic.analysis.fingerprint.features.FeatureVector
- isValid() - Method in class com.tonic.analysis.fingerprint.features.Level0Features
- isValid() - Method in class com.tonic.analysis.fingerprint.features.Level1Features
- isValid() - Method in class com.tonic.analysis.fingerprint.features.Level2Features
- isValid() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- isValid() - Method in class com.tonic.analysis.verifier.VerificationResult
- isValid() - Method in class com.tonic.renamer.validation.ValidationResult
- isValidJavaIdentifier(String) - Method in class com.tonic.analysis.source.emit.IdentifierNormalizer
- isVarArgs() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- isVarArgs(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the method has variable arguments.
- isVarargsMethod(String, String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Tests whether the method with this exact descriptor on the owner (or a supertype) is declared
ACC_VARARGS, falling back to reflection for classes absent from the pool. - isVerbose() - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
- isVerifyControlFlow() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isVerifyStackMapTable() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isVerifyStructure() - Method in class com.tonic.analysis.verifier.VerifierConfig
- isVirtual() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- isVisible() - Method in class com.tonic.builder.AnnotationBuilder
- isVisible() - Method in class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
- isVisible() - Method in class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
- isVoid() - Method in interface com.tonic.analysis.source.ast.type.SourceType
- isVoid() - Method in class com.tonic.analysis.ssa.type.ArrayType
- isVoid() - Method in interface com.tonic.analysis.ssa.type.IRType
- isVoid() - Method in enum com.tonic.analysis.ssa.type.PrimitiveType
- isVoid() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- isVoid() - Method in class com.tonic.analysis.ssa.type.VoidType
- isVoid() - Method in class com.tonic.parser.util.TypeInfo
- isVoid(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- isVoidReturn() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
-
Checks whether the call site returns void.
- isVoidReturn() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
-
Checks whether the method type returns void.
- isVoidReturn() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- isVoidReturn() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- isVoidReturn() - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
-
Checks if this is a void return.
- isVoidReturn() - Method in class com.tonic.parser.MethodEntry
- isVolatile() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- isVolatile(int) - Static method in class com.tonic.util.Modifiers
-
Checks if the access flags indicate that the entity is volatile.
- isWarning() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- isWarning() - Method in class com.tonic.analysis.verifier.VerificationError
- isWide() - Method in class com.tonic.analysis.absexec.StackCtx
- isWide() - Method in class com.tonic.analysis.absexec.VarCtx
- isWide() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- isWide() - Method in enum com.tonic.analysis.execution.state.ValueTag
- isWide() - Method in class com.tonic.analysis.instruction.JsrInstruction
-
Returns whether this is the wide JSR_W form.
- isWide() - Method in class com.tonic.analysis.simulation.state.SimValue
- isWide() - Method in class com.tonic.parser.util.TypeInfo
- isWideSecondSlot() - Method in class com.tonic.analysis.simulation.state.SimValue
- isWideType() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
-
Checks whether the constant occupies two stack slots.
- isWideType(String) - Static method in class com.tonic.util.DescriptorUtil
-
Checks if a type descriptor represents a wide type (takes 2 slots).
- isWildcard() - Method in class com.tonic.analysis.instrumentation.filter.ClassFilter
- isWildcard() - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- isWildcard() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- isWildcard(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
- Item<T> - Class in com.tonic.parser.constpool
-
Abstract representation of a constant pool item.
- Item() - Constructor for class com.tonic.parser.constpool.Item
- ITEM_CLASS_REF - Static variable in class com.tonic.parser.constpool.Item
- ITEM_DOUBLE - Static variable in class com.tonic.parser.constpool.Item
- ITEM_DYNAMIC - Static variable in class com.tonic.parser.constpool.Item
- ITEM_FIELD_REF - Static variable in class com.tonic.parser.constpool.Item
- ITEM_FLOAT - Static variable in class com.tonic.parser.constpool.Item
- ITEM_INTEGER - Static variable in class com.tonic.parser.constpool.Item
- ITEM_INTERFACE_REF - Static variable in class com.tonic.parser.constpool.Item
- ITEM_INVOKEDYNAMIC - Static variable in class com.tonic.parser.constpool.Item
- ITEM_LONG - Static variable in class com.tonic.parser.constpool.Item
- ITEM_METHOD_HANDLE - Static variable in class com.tonic.parser.constpool.Item
- ITEM_METHOD_REF - Static variable in class com.tonic.parser.constpool.Item
- ITEM_METHOD_TYPE - Static variable in class com.tonic.parser.constpool.Item
- ITEM_MODULE - Static variable in class com.tonic.parser.constpool.Item
- ITEM_NAME_TYPE_REF - Static variable in class com.tonic.parser.constpool.Item
- ITEM_PACKAGE - Static variable in class com.tonic.parser.constpool.Item
- ITEM_STRING_REF - Static variable in class com.tonic.parser.constpool.Item
- ITEM_UTF_8 - Static variable in class com.tonic.parser.constpool.Item
- iushr() - Method in class com.tonic.builder.CodeBuilder
-
Appends
iushr, logical right shift of a int. - IUSHR - com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Logical right shift of an int, filling the vacated high bits with zero.
- IUSHR - com.tonic.util.Opcode
-
Pops an int shift distance and an int value, and pushes the value shifted right with zero extension by the low five bits of the distance.
- ixor() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ixor, bitwise exclusive or of the top two int values. - IXOR - com.tonic.util.Opcode
-
Pops two ints and pushes their bitwise exclusive OR.
- IXorInstruction - Class in com.tonic.analysis.instruction
-
Represents the IXOR instruction (0x82).
- IXorInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.IXorInstruction
-
Constructs an IXorInstruction.
J
- JavaParser - Class in com.tonic.analysis.source.parser
-
Entry point for parsing Java source into the source AST, holding the error listener that decides whether parse errors throw or are collected.
- join(Nullability) - Method in enum com.tonic.analysis.typeinference.Nullability
-
Merges two states at a dataflow confluence, widening to UNKNOWN when they disagree.
- join(TypeSet) - Method in class com.tonic.analysis.typeinference.TypeSet
-
Unions two sets; the result is complete only when both operands are.
- join(TypeState) - Method in class com.tonic.analysis.typeinference.TypeState
-
Joins two states at a control-flow merge point; bottom is absorbing.
- join(List<Condition>, String) - Static method in interface com.tonic.analysis.query.ast.Condition
-
Renders conditions in order, separated by the given text.
- JSR - com.tonic.util.Opcode
-
Pushes the address of the following instruction and branches by the signed 16-bit offset.
- JSR_MISMATCH - com.tonic.analysis.verifier.VerificationErrorType
-
A legacy subroutine is malformed, its RET not pairing with the JSR that entered it.
- JSR_W - com.tonic.util.Opcode
-
Wide form of JSR that branches by a signed 32-bit offset.
- JsrInstruction - Class in com.tonic.analysis.instruction
-
Represents the JSR (0xA8) and JSR_W (0xC9) instructions.
- JsrInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.JsrInstruction
-
Constructs a JsrInstruction.
- JumpThreading - Class in com.tonic.analysis.ssa.transform
-
Jump threading optimization.
- JumpThreading() - Constructor for class com.tonic.analysis.ssa.transform.JumpThreading
K
- keep() - Static method in class com.tonic.analysis.source.editor.Replacement
- KEEP - com.tonic.analysis.source.editor.Replacement.Type
-
No change.
- key() - Method in class com.tonic.analysis.query.ast.OrderBy
- keyword() - Method in class com.tonic.analysis.query.ast.Step
- kind - Variable in class com.tonic.analysis.source.recovery.ControlFlowContext.LoopJump
- kind - Variable in class com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJump
- kind() - Method in class com.tonic.analysis.query.eval.Subject.ArgSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.BootstrapArgSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.CallSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.ClassSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.FieldAccessSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.InstructionSubject
- kind() - Method in interface com.tonic.analysis.query.eval.Subject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.MethodSubject
- kind() - Method in class com.tonic.analysis.query.eval.Subject.ParamSubject
- kind() - Method in class com.tonic.analysis.query.value.Value.Absent
- kind() - Method in class com.tonic.analysis.query.value.Value.BoolValue
- kind() - Method in class com.tonic.analysis.query.value.Value.IntValue
- kind() - Method in interface com.tonic.analysis.query.value.Value
- kind() - Method in class com.tonic.analysis.query.value.Value.NullValue
- kind() - Method in class com.tonic.analysis.query.value.Value.RealValue
- kind() - Method in class com.tonic.analysis.query.value.Value.RegexValue
- kind() - Method in class com.tonic.analysis.query.value.Value.SetValue
- kind() - Method in class com.tonic.analysis.query.value.Value.StrValue
- kind() - Method in class com.tonic.analysis.query.value.Value.TypeValue
- kind(Subject.CallSubject, int) - Static method in class com.tonic.analysis.query.eval.ArgValueResolver
-
Classifies the instruction that pushes the argument (
literal/local/field/...).
L
- l2d() - Method in class com.tonic.builder.CodeBuilder
-
Appends
l2d, converting a long to double. - L2D - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts a long to a double, rounding to nearest when the magnitude exceeds 53 bits of precision.
- L2D - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert long to double.
- L2D - com.tonic.util.Opcode
-
Pops a long and pushes it converted to a double, which may lose precision.
- l2f() - Method in class com.tonic.builder.CodeBuilder
-
Appends
l2f, converting a long to float. - L2F - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Converts a long to a float, rounding to nearest when the magnitude exceeds 24 bits of precision.
- L2F - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert long to float.
- L2F - com.tonic.util.Opcode
-
Pops a long and pushes it converted to a float, which may lose precision.
- l2i() - Method in class com.tonic.builder.CodeBuilder
-
Appends
l2i, narrowing a long to int. - L2I - com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Narrows a long to an int by keeping only the low 32 bits.
- L2I - com.tonic.analysis.ssa.ir.UnaryOp
-
Convert long to int.
- L2I - com.tonic.util.Opcode
-
Pops a long and pushes its low 32 bits as an int, discarding the high bits.
- label() - Method in class com.tonic.analysis.query.eval.EvidenceCollector.Hit
- label(String) - Method in class com.tonic.builder.CodeBuilder
-
Defines a branch target at the current position.
- labeled(String, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a labeled statement node.
- labeledStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches labeled statements.
- LabeledStmt - Class in com.tonic.analysis.source.ast.stmt
-
A statement prefixed with a label, the target of labeled breaks and continues.
- LabeledStmt(String, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.LabeledStmt
-
Creates a labeled statement with an unknown location.
- LabeledStmt(String, Statement, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.LabeledStmt
-
Creates a labeled statement and parents the wrapped statement to it.
- labels() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- ladd() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ladd, adding the top two long values. - LADD - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Adds two longs, wrapping silently on overflow; each operand is two stack words.
- LADD - com.tonic.util.Opcode
-
Pops two longs and pushes their sum, wrapping around on overflow.
- laload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
laload, loading a long element from an array. - LALOAD - com.tonic.util.Opcode
-
Pops an array reference and an int index, and pushes the long element stored there.
- LALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the LALOAD instruction (0x2F).
- LALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.LALoadInstruction
-
Constructs a LALOADInstruction.
- LAMBDA_METAFACTORY - Static variable in class com.tonic.analysis.BootstrapFamilies
-
Internal name of
LambdaMetafactory, the lambda/method-reference bootstrap owner. - lambdaEnclosingName(String) - Static method in class com.tonic.analysis.source.lower.LoweringContext
-
The enclosing-method label javac uses in a synthetic lambda name:
<init>is "new" and<clinit>is "static". - LambdaExpr - Class in com.tonic.analysis.source.ast.expr
-
A lambda expression: (params) -> body, whose body is either an Expression or a Statement block.
- LambdaExpr(List<LambdaParameter>, ASTNode, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Creates a lambda with an unknown source location.
- LambdaExpr(List<LambdaParameter>, ASTNode, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Creates a lambda over a defensive copy of the parameters and reparents the body.
- LambdaParameter - Class in com.tonic.analysis.source.ast.expr
-
A lambda parameter with a name, a type, and whether the type is implicit in source.
- LambdaParameter(String, SourceType, boolean) - Constructor for class com.tonic.analysis.source.ast.expr.LambdaParameter
-
Creates a lambda parameter.
- LambdaProxyFactory - Class in com.tonic.analysis.execution.invoke
-
Factory for heap proxy objects that stand in for invokedynamic lambda instances, storing captured arguments as capture$N fields.
- LambdaProxyFactory(HeapManager) - Constructor for class com.tonic.analysis.execution.invoke.LambdaProxyFactory
-
Creates a factory that allocates proxies on the given heap.
- land() - Method in class com.tonic.builder.CodeBuilder
-
Appends
land, bitwise and of the top two long values. - LAND - com.tonic.util.Opcode
-
Pops two longs and pushes their bitwise AND.
- LandInstruction - Class in com.tonic.analysis.instruction
-
Represents the LAND instruction (0x7F).
- LandInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.LandInstruction
-
Constructs a LandInstruction.
- lastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lastore, storing a long element into an array. - LASTORE - com.tonic.util.Opcode
-
Pops an array reference, an int index and a long value, and stores the value at that index.
- LAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the LASTORE instruction (0x50).
- LAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.LAStoreInstruction
-
Constructs a LAStoreInstruction.
- lastRegionContinuesInto(IRBlock) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
Whether the most recently probed region flows into
boundthrough a back edge - the region is an enclosing loop's body tail whose continuation is the loop header itself. - LBRACE - com.tonic.analysis.query.parser.Token.TokenType
-
The character
{, opening a repetition count on a sequence element. - LBRACE - com.tonic.analysis.source.parser.TokenType
-
Opens a block, a type body, or an array initializer.
- LBRACKET - com.tonic.analysis.query.parser.Token.TokenType
-
The character
[, opening a set literal or a sequence. - LBRACKET - com.tonic.analysis.source.parser.TokenType
-
Opens an array index, or a dimension in an array type or creation.
- lcmp() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lcmp, pushing -1, 0 or 1 for the top two longs. - LCMP - com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Compares two longs, pushing -1, 0, or 1; longs have no NaN, so there is only one variant.
- LCMP - com.tonic.analysis.ssa.ir.BinaryOp
-
Long comparison.
- LCMP - com.tonic.util.Opcode
-
Pops two longs and pushes the int -1, 0 or 1 according to whether the lower one is less than, equal to or greater than the upper one.
- lconst(long) - Method in class com.tonic.builder.CodeBuilder
-
Appends a long constant push, using
lconst_0/lconst_1where possible. - LCONST_0 - com.tonic.util.Opcode
-
Pushes the long constant 0 onto the operand stack.
- LCONST_1 - com.tonic.util.Opcode
-
Pushes the long constant 1 onto the operand stack.
- LConstInstruction - Class in com.tonic.analysis.instruction
-
Represents the LCONST_* instructions (0x09 and 0x0A).
- LConstInstruction(int, int, long) - Constructor for class com.tonic.analysis.instruction.LConstInstruction
-
Constructs an LConstInstruction.
- LDAP_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data reaches a directory-context search filter.
- ldapInjection() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- ldc(Object) - Method in class com.tonic.builder.CodeBuilder
-
Appends a constant load, routing numeric boxes to the matching typed constant push.
- LDC - com.tonic.util.Opcode
-
Pushes a one-word constant - int, float, String, class, method type or method handle - from the constant pool entry named by the one-byte index.
- LDC_W - com.tonic.util.Opcode
-
Wide form of LDC using a two-byte constant pool index, reaching entries above index 255.
- LDC2_W - com.tonic.util.Opcode
-
Pushes the long or double held in the constant pool entry named by the two-byte index, occupying two operand stack slots.
- Ldc2WInstruction - Class in com.tonic.analysis.instruction
-
Represents the LDC2_W instruction (0x14).
- Ldc2WInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.Ldc2WInstruction
-
Constructs an Ldc2WInstruction.
- LdcInstruction - Class in com.tonic.analysis.instruction
-
Represents the LDC instruction (0x12).
- LdcInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.LdcInstruction
-
Constructs an LdcInstruction.
- LdcInstruction.ConstantType - Enum in com.tonic.analysis.instruction
-
The kinds of constant-pool entry an ldc-family instruction can load.
- LdcWInstruction - Class in com.tonic.analysis.instruction
-
Represents the LDC_W instruction (0x13).
- LdcWInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.LdcWInstruction
-
Constructs an LdcWInstruction.
- ldiv() - Method in class com.tonic.builder.CodeBuilder
-
Appends
ldiv, dividing the top two long values. - LDIV - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Divides two longs, truncating toward zero and throwing on a zero divisor.
- LDIV - com.tonic.util.Opcode
-
Pops two longs and pushes the quotient truncated toward zero; throws ArithmeticException if the divisor is zero.
- le(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean less-or-equal comparison node.
- LE - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Less-than-or-equal relational test,
<=. - LE - com.tonic.analysis.ssa.ir.CompareOp
-
Less or equal.
- leftToRight() - Static method in class com.tonic.analysis.graph.export.DOTExporterConfig
- length - Variable in class com.tonic.parser.util.DescriptorParser.ParseResult
- lessOrEqual(long) - Static method in class com.tonic.analysis.ssa.transform.ValueRange
-
Builds the range satisfying x <= val.
- lessThan(long) - Static method in class com.tonic.analysis.ssa.transform.ValueRange
-
Builds the range satisfying x < val.
- lessThan(Expression, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a less-than comparison typed boolean.
- Level0Features - Class in com.tonic.analysis.fingerprint.features
-
Ultra-stable fingerprint features: normalized signature shape plus called, accessed, and instantiated targets.
- Level0Features(String, int, List<String>, int, int, Set<String>, Set<String>, Set<String>) - Constructor for class com.tonic.analysis.fingerprint.features.Level0Features
-
Creates a level-0 feature set, normalizing the types and copying the target sets in sorted order.
- Level1Features - Class in com.tonic.analysis.fingerprint.features
-
Stable fingerprint features: loop and block-count shape plus branch, arithmetic, and invoke histograms.
- Level1Features(int, int, int, Map<String, Integer>, Map<String, Integer>, Map<String, Integer>, int) - Constructor for class com.tonic.analysis.fingerprint.features.Level1Features
-
Creates a level-1 feature set, bucketing the block count and normalizing the histograms to percentages.
- Level2Features - Class in com.tonic.analysis.fingerprint.features
-
Detailed fingerprint features: opcode-category bigrams, CFG edge and terminator histograms, and dominance depth.
- Level2Features(Map<String, Integer>, Map<String, Integer>, int, Map<String, Integer>, Map<String, Integer>) - Constructor for class com.tonic.analysis.fingerprint.features.Level2Features
-
Creates a level-2 feature set, normalizing every histogram to per-mille proportions.
- Lexer - Class in com.tonic.analysis.source.parser
-
Hand-written Java tokenizer with unbounded lookahead, backed by a buffer of already-scanned tokens.
- Lexer(String) - Constructor for class com.tonic.analysis.source.parser.Lexer
-
Creates a lexer positioned at line 1, column 1 of the source.
- lift(MethodEntry) - Method in class com.tonic.analysis.ssa.lift.BytecodeLifter
-
Lifts a method from bytecode to SSA-form IR.
- lift(MethodEntry) - Method in class com.tonic.analysis.ssa.SSA
-
Lifts a method from bytecode to SSA-form IR.
- lift(String) - Method in class com.tonic.analysis.ssa.llvm.lift.LlvmLifter
-
Lifts the first
definefunction found inllvmModuleText. - liftAndOptimize(MethodEntry) - Method in class com.tonic.analysis.ssa.SSA
-
Lifts a method to SSA form and applies all registered optimizations.
- liftModule(String) - Method in class com.tonic.analysis.ssa.llvm.lift.LlvmLifter
-
Lifts all
definefunctions inllvmModuleTextand returns them in order. - limit() - Method in class com.tonic.analysis.query.ast.FindQuery
- limit() - Method in interface com.tonic.analysis.query.ast.Query
- limit() - Method in class com.tonic.analysis.query.ast.ShowQuery
- limit(int) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Truncates the result to at most n nodes.
- limit(int) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Caps how many results any subsequent query returns.
- LIMIT - com.tonic.analysis.query.parser.Token.TokenType
-
The word
limit, capping the number of results; followed by a number. - lineForOffset(int) - Method in class com.tonic.analysis.query.eval.EvalContext
-
Resolves a bytecode offset to a source line using the nearest preceding LineNumberTable entry.
- lineNumber() - Method in class com.tonic.analysis.source.ast.SourceLocation
- lineNumber(int) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the source line the reference was attributed to.
- LineNumberTableAttribute - Class in com.tonic.parser.attribute
-
The LineNumberTable attribute: a mapping from bytecode offsets to source line numbers.
- LineNumberTableAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.LineNumberTableAttribute
-
Creates the attribute shell for parsing, attached to a class.
- LineNumberTableAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.LineNumberTableAttribute
-
Creates the attribute shell for parsing, attached to a member.
- LineNumberTableEntry - Class in com.tonic.parser.attribute.table
-
Represents an entry in the LineNumberTable attribute.
- LineNumberTableEntry(int, int) - Constructor for class com.tonic.parser.attribute.table.LineNumberTableEntry
-
Constructs a line number table entry.
- LINKED_HASH_MAP - Static variable in class com.tonic.util.CommonTypes
- LINKED_LIST - Static variable in class com.tonic.util.CommonTypes
- ListenerCapability - Enum in com.tonic.analysis.execution.listener
-
Capabilities that listeners can request for performance-gated event notifications.
- literal(Value) - Static method in interface com.tonic.analysis.query.ast.Operand
- Literal(Value) - Constructor for class com.tonic.analysis.query.ast.Operand.Literal
- LITERAL - com.tonic.analysis.cpg.node.CPGNodeType
-
A compile-time constant operand, such as a number or string literal.
- LITERAL - com.tonic.analysis.query.ast.ArgumentType
-
The argument is a compile-time constant pushed at the call site.
- LiteralExpr - Class in com.tonic.analysis.source.ast.expr
-
A literal value: integers, floats, strings, booleans, chars, or null.
- LiteralExpr(Object, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a literal with an unknown source location.
- LiteralExpr(Object, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a literal.
- LivenessAnalysis - Class in com.tonic.analysis.ssa.analysis
-
Per-block live-in and live-out sets for SSA values.
- LivenessAnalysis(IRMethod) - Constructor for class com.tonic.analysis.ssa.analysis.LivenessAnalysis
-
Creates an empty analysis for the given method.
- lload(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a long load from a local slot.
- LLOAD - com.tonic.util.Opcode
-
Loads a long from the local variable at the given index onto the operand stack.
- LLOAD - Static variable in interface com.tonic.type.AccessFlags
- LLOAD_0 - com.tonic.util.Opcode
-
Loads the long in local variable 0 onto the operand stack.
- LLOAD_1 - com.tonic.util.Opcode
-
Loads the long in local variable 1 onto the operand stack.
- LLOAD_2 - com.tonic.util.Opcode
-
Loads the long in local variable 2 onto the operand stack.
- LLOAD_3 - com.tonic.util.Opcode
-
Loads the long in local variable 3 onto the operand stack.
- LLoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the LLOAD instruction (0x16).
- LLoadInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.LLoadInstruction
-
Constructs an LLoadInstruction.
- LlvmLifter - Class in com.tonic.analysis.ssa.llvm.lift
-
Entry point for lifting textual LLVM IR back to YABR SSA IR, inverting
LlvmLowering. - LlvmLifter() - Constructor for class com.tonic.analysis.ssa.llvm.lift.LlvmLifter
- LlvmLiftException - Exception in com.tonic.analysis.ssa.llvm.lift
-
Failure to parse LLVM IR or lift it to SSA form.
- LlvmLiftException(String) - Constructor for exception com.tonic.analysis.ssa.llvm.lift.LlvmLiftException
-
Creates the exception.
- LlvmLiftException(String, Throwable) - Constructor for exception com.tonic.analysis.ssa.llvm.lift.LlvmLiftException
-
Creates the exception with a cause.
- LlvmLowering - Class in com.tonic.analysis.ssa.llvm
-
Entry point lowering YABR SSA IR to textual LLVM IR.
- LlvmLowering() - Constructor for class com.tonic.analysis.ssa.llvm.LlvmLowering
-
Creates a lowering with the default configuration.
- LlvmLowering(LlvmLoweringConfig) - Constructor for class com.tonic.analysis.ssa.llvm.LlvmLowering
-
Creates a lowering.
- LlvmLoweringConfig - Class in com.tonic.analysis.ssa.llvm
-
Configuration for
LlvmLowering, following the project's builder-plus-presets convention. - LlvmLoweringConfig.Builder - Class in com.tonic.analysis.ssa.llvm
-
Mutable builder for
LlvmLoweringConfig. - LlvmLoweringConfig.ObjectModel - Enum in com.tonic.analysis.ssa.llvm
-
How Java's object/reference/runtime model is lowered.
- lmul() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lmul, multiplying the top two long values. - LMUL - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Multiplies two longs, keeping only the low 64 bits of the product.
- LMUL - com.tonic.util.Opcode
-
Pops two longs and pushes their product, wrapping around on overflow.
- lneg() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lneg, negating the top long value. - LNEG - com.tonic.util.Opcode
-
Pops a long and pushes its arithmetic negation.
- LNegInstruction - Class in com.tonic.analysis.instruction
-
Represents the LNEG instruction (0x75).
- LNegInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.LNegInstruction
-
Constructs an LNegInstruction.
- LOAD - com.tonic.analysis.ssa.ir.AccessMode
-
A read, which produces a result value and stores nothing.
- LOAD - com.tonic.analysis.ssa.lower.StackScheduler.ScheduleType
-
A synthesized load that brings an operand back from its assigned register onto the stack.
- loadClass(byte[]) - Method in class com.tonic.parser.ClassPool
-
Loads class from byte array.
- loadClass(InputStream) - Method in class com.tonic.parser.ClassPool
-
Loads class from InputStream.
- loadJar(JarFile) - Method in class com.tonic.parser.ClassPool
-
Loads all .class files from JAR into pool.
- LoadLocalInstruction - Class in com.tonic.analysis.ssa.ir
-
A load from a local variable slot, used during lifting before SSA conversion.
- LoadLocalInstruction(SSAValue, int) - Constructor for class com.tonic.analysis.ssa.ir.LoadLocalInstruction
-
Creates a local load.
- loadPlatformClass(String) - Method in class com.tonic.parser.ClassPool
-
Loads class from platform class loader.
- loadSystemClass(String) - Method in class com.tonic.parser.ClassPool
-
Loads class from system class loader.
- LOCAL - com.tonic.analysis.cpg.node.CPGNodeType
-
A local variable of the method, distinct from its declared parameters.
- LOCAL - com.tonic.analysis.dataflow.DataFlowNodeType
-
A local variable definition, which relays a value rather than originating one.
- LOCAL - com.tonic.analysis.query.ast.ArgumentType
-
The argument comes straight from a local variable.
- LOCAL_LOAD - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A local variable was read, carrying its slot number and the value loaded.
- LOCAL_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Local variable load/store notifications (very high frequency).
- LOCAL_STORE - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A local variable was written, carrying its slot number and the value stored.
- LOCAL_TYPE - com.tonic.analysis.dependency.DependencyType
-
Local variable type
- LocaleHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the host environment natives - time zone, locale provider, DNS, proxy selection and Win32 error mode.
- LocaleHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.LocaleHandlers
- localLoad(int, int, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a local-variable-load event.
- locals(LocalsSnapshot) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- LOCALS - com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch.Location
-
A local variable slot disagrees; reported as non-critical, since a wider declared local can still verify.
- LOCALS_OVERFLOW - com.tonic.analysis.verifier.VerificationErrorType
-
The locals a method actually uses outgrow the max_locals its Code attribute declares.
- LocalsSnapshot - Class in com.tonic.analysis.execution.debug
-
An immutable slot-to-value view of a frame's locals, taken at one point in execution.
- LocalsSnapshot(ConcreteLocals) - Constructor for class com.tonic.analysis.execution.debug.LocalsSnapshot
-
Copies every occupied slot into an unmodifiable map of value descriptions.
- LocalState - Class in com.tonic.analysis.simulation.state
-
Immutable representation of local variable slots during simulation.
- localStore(int, int, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a local-variable-store event.
- localsToVerificationTypeInfo() - Method in class com.tonic.analysis.frame.TypeState
-
Converts locals to VerificationTypeInfo list for writing to class file.
- LocalVariableTableAttribute - Class in com.tonic.parser.attribute
-
The LocalVariableTable attribute: name, type, slot, and live range of each local variable.
- LocalVariableTableAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.LocalVariableTableAttribute
-
Creates the attribute shell for parsing, attached to a class.
- LocalVariableTableAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.LocalVariableTableAttribute
-
Creates the attribute shell for parsing, attached to a member.
- LocalVariableTableBuilder - Class in com.tonic.analysis.ssa.lower
-
A builder for a
LocalVariableTableover the source-local model recorded during AST lowering (IRMethod.SourceLocal), taking slots fromRegisterAllocatorand scoping each entry to the blocks holding that local's defs and uses. - LocalVariableTableBuilder(IRMethod, RegisterAllocator, BytecodeEmitter, int, ConstPool, MethodEntry) - Constructor for class com.tonic.analysis.ssa.lower.LocalVariableTableBuilder
-
Creates a builder over one lowered method.
- LocalVariableTableEntry - Class in com.tonic.parser.attribute.table
-
Represents an entry in the LocalVariableTable attribute.
- LocalVariableTableEntry(ConstPool, int, int, int, int, int) - Constructor for class com.tonic.parser.attribute.table.LocalVariableTableEntry
-
Constructs a local variable table entry.
- localVariableTableFor(MethodEntry) - Method in class com.tonic.analysis.source.decompile.ClassDecompiler
-
Builds a synthetic
LocalVariableTableAttributefrom the recovered slot names, keyed to the original bytecode offsets, for injecting named locals into a stripped class - the names match whatClassDecompiler.decompile()renders. - LocalVariableTypeTableAttribute - Class in com.tonic.parser.attribute
-
The LocalVariableTypeTable attribute: generic signatures of local variables.
- LocalVariableTypeTableAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
-
Creates the attribute shell for parsing, attached to a class.
- LocalVariableTypeTableAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
-
Creates the attribute shell for parsing, attached to a member.
- LocalVariableTypeTableEntry - Class in com.tonic.parser.attribute.table
-
Represents an entry in the LocalVariableTypeTable attribute.
- LocalVariableTypeTableEntry(ConstPool, int, int, int, int, int) - Constructor for class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
-
Constructs a local variable type table entry.
- LocalVarInstruction - Interface in com.tonic.analysis.instruction
-
Implemented by instructions that reference a local-variable slot: the load/store family,
iinc,ret, and the wide forms. - location(int, int) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
-
Sets the block and instruction position the node came from.
- Locations - Class in com.tonic.analysis.source.ast
-
Helpers for carrying
SourceLocationprovenance across statement rewrites. - LOG_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data is written to a log, where it can forge or corrupt records.
- Logger - Class in com.tonic.util
-
Console logger for informational and error messages, silent unless logging is switched on.
- Logger() - Constructor for class com.tonic.util.Logger
- logging(Consumer<String>) - Static method in interface com.tonic.analysis.source.parser.ParseErrorListener
- logInjection() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- LONG - com.tonic.analysis.execution.state.ValueTag
-
A 64-bit signed integer occupying two slots.
- LONG - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Longentry, occupying two stack words. - LONG - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
longkeyword; a 64-bit signed integer, two slots wide. - LONG - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a signed 64-bit integer.
- LONG - com.tonic.analysis.ssa.type.PrimitiveType
-
64-bit signed integer, descriptor
J, occupying two local or stack slots. - LONG - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
J, two slots wide. - LONG - Static variable in class com.tonic.analysis.frame.VerificationType
- LONG - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- LONG - Static variable in class com.tonic.parser.util.TypeInfo
- LONG - Static variable in class com.tonic.type.TypeDescriptor
- LONG - Static variable in class com.tonic.util.CommonTypes
- LONG_LITERAL - com.tonic.analysis.source.parser.TokenType
-
A whole-number literal carrying an l or L suffix.
- LONG_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- longArray(String, long...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a long-array element.
- LongConstant - Class in com.tonic.analysis.ssa.value
-
Represents a long constant.
- LongConstant(long) - Constructor for class com.tonic.analysis.ssa.value.LongConstant
-
Creates a long constant with the given value.
- LongItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_Long entry in the constant pool.
- LongItem() - Constructor for class com.tonic.parser.constpool.LongItem
- longLit(long) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a long literal node.
- longLiteral(long) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a long literal.
- longValue() - Method in class com.tonic.analysis.source.parser.Token
-
Reads the literal value as a long, widening or narrowing any numeric value.
- longValue(long) - Static method in class com.tonic.analysis.execution.state.ConcreteValue
-
Creates a LONG value.
- lookup(SubjectKind, String) - Method in class com.tonic.analysis.query.eval.AttributeRegistry
-
Finds the resolver registered for a keyword; keyword matching is case-insensitive.
- lookupEnumConstant(String, String, int) - Method in class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
-
Resolves a switch case value back to its enum constant name.
- lookupswitch(String, Map<Integer, String>) - Method in class com.tonic.builder.CodeBuilder
-
Emits a
lookupswitchmapping each key incasesto its target label, withdefaultLabelas the fallthrough. - LOOKUPSWITCH - com.tonic.util.Opcode
-
Pops an int and branches through a sorted table of key-offset pairs, or to the default offset.
- LookupSwitchInstruction - Class in com.tonic.analysis.instruction
-
Represents the LOOKUPSWITCH instruction (0xAB).
- LookupSwitchInstruction(int, int, int, int, int, Map<Integer, Integer>) - Constructor for class com.tonic.analysis.instruction.LookupSwitchInstruction
-
Constructs a LookupSwitchInstruction.
- Loop(IRBlock, Set<IRBlock>) - Constructor for class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
- loopAnalysis() - Method in class com.tonic.analysis.query.eval.EvalContext
- LoopAnalysis - Class in com.tonic.analysis.ssa.analysis
-
Natural-loop detection with per-header back-edge merging and nesting depths.
- LoopAnalysis(IRMethod, DominatorTree) - Constructor for class com.tonic.analysis.ssa.analysis.LoopAnalysis
-
Creates an empty analysis for the given method.
- LoopAnalysis.Loop - Class in com.tonic.analysis.ssa.analysis
-
A natural loop: a header block plus the blocks of its body.
- LoopHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for loop statements (for, while, do-while, for-each).
- loopHeader - Variable in class com.tonic.analysis.source.recovery.ControlFlowContext.LoopJump
- LoopInvariantCodeMotion - Class in com.tonic.analysis.ssa.transform
-
Loop-Invariant Code Motion (LICM) optimization transform.
- LoopInvariantCodeMotion() - Constructor for class com.tonic.analysis.ssa.transform.LoopInvariantCodeMotion
- LoopPredication - Class in com.tonic.analysis.ssa.transform
-
Loop Predication optimization transform.
- LoopPredication() - Constructor for class com.tonic.analysis.ssa.transform.LoopPredication
- LoopTargets(IRBlock, IRBlock, int) - Constructor for class com.tonic.analysis.source.lower.LoweringContext.LoopTargets
- lor() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lor, bitwise or of the top two long values. - LOR - com.tonic.util.Opcode
-
Pops two longs and pushes their bitwise inclusive OR.
- LorInstruction - Class in com.tonic.analysis.instruction
-
Represents the LOR instruction (0x81).
- LorInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.LorInstruction
-
Constructs a LorInstruction.
- LOW - com.tonic.analysis.cpg.taint.Severity
-
Reaches a sink whose misuse has limited impact, worth recording but not worth blocking on.
- lower(MethodDecl, String) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Desugars and lowers a full method declaration to a new IRMethod.
- lower(Expression) - Method in class com.tonic.analysis.source.lower.ExpressionLowerer
-
Lowers an expression and returns the SSAValue result.
- lower(BlockStmt, String, String, boolean, List<SourceType>, SourceType) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Lowers an AST method body to a new IRMethod.
- lower(Statement) - Method in class com.tonic.analysis.source.lower.StatementLowerer
-
Lowers one statement into the context's current block.
- lower(IRMethod) - Method in class com.tonic.analysis.ssa.llvm.LlvmLowering
-
Lowers a single method to a complete LLVM IR module (declares + one define).
- lower(IRMethod, MethodEntry) - Method in class com.tonic.analysis.ssa.lower.BytecodeLowerer
-
Lowers the SSA method to bytecode and installs the result on the target method.
- lower(IRMethod, MethodEntry) - Method in class com.tonic.analysis.ssa.SSA
-
Lowers an SSA-form IR method back to bytecode.
- lowerCondition(Expression, IRBlock, IRBlock) - Method in class com.tonic.analysis.source.lower.ExpressionLowerer
-
Lowers a condition expression for control flow (if/while/for).
- lowerInductionPhiInitsOnEdge(IRBlock, IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
- lowerInductionPhiInitsOnEdge(IRBlock, IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
As
StatementRecoverer.lowerPhisOnEdge(com.tonic.analysis.ssa.cfg.IRBlock, com.tonic.analysis.ssa.cfg.IRBlock), but only for the loop's for-induction counter phis - the onesStatementRecoverer.emitPhiDeclaration(com.tonic.analysis.ssa.ir.PhiInstruction, java.util.List<com.tonic.analysis.source.ast.stmt.Statement>, java.util.Set<java.lang.String>, java.util.Set<com.tonic.analysis.ssa.cfg.IRBlock>)deliberately does not declare. - LoweringContext - Class in com.tonic.analysis.source.lower
-
Shared mutable state for AST-to-IR lowering: variable bindings, the current block, and break/continue targets.
- LoweringContext(IRMethod, ConstPool, TypeResolver) - Constructor for class com.tonic.analysis.source.lower.LoweringContext
-
Creates a lowering context for one method.
- LoweringContext.LoopTargets - Class in com.tonic.analysis.source.lower
-
Loop target information for break/continue.
- LoweringException - Exception in com.tonic.analysis.source.lower
-
Unchecked exception raised when AST lowering cannot proceed.
- LoweringException(String) - Constructor for exception com.tonic.analysis.source.lower.LoweringException
-
Creates the exception with a message.
- LoweringException(String, Throwable) - Constructor for exception com.tonic.analysis.source.lower.LoweringException
-
Creates the exception with a message and cause.
- lowerMethod(BlockStmt, String, String, boolean, List<SourceType>, SourceType, ConstPool, ClassPool) - Static method in class com.tonic.analysis.source.lower.ASTLowerer
-
Lowers one method body without keeping the lowerer around.
- lowerPhisOnEdge(IRBlock, IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
SSA-destruction copies realized when the edge
pred -> succis taken. - lowerPhisOnEdge(IRBlock, IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
SSA destruction on a CFG edge.
- lowerSyntheticArrayConstructor(SyntheticArrayConstructor, String) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Lowers a synthetic array-constructor method (
(I)[Treturningnew T[arg0]). - lowerSyntheticLambda(SyntheticLambdaMethod, String) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Lowers a synthetic lambda body, binding captures then lambda parameters as named locals.
- lowerToModule(List<IRMethod>) - Method in class com.tonic.analysis.ssa.llvm.LlvmLowering
-
Lowers several methods into one module; callees defined in the module are not re-declared.
- LPAREN - com.tonic.analysis.query.parser.Token.TokenType
-
The character
(, opening a group, a quantifier body, or an accessor index. - LPAREN - com.tonic.analysis.source.parser.TokenType
-
Opens a parenthesized expression, a parameter or argument list, or a cast.
- lrem() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lrem, taking the remainder of the top two long values. - LREM - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Long remainder, taking the sign of the dividend and throwing on a zero divisor.
- LREM - com.tonic.util.Opcode
-
Pops two longs and pushes the remainder of the division, taking the sign of the dividend; throws ArithmeticException if the divisor is zero.
- lreturn() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lreturn, returning a long. - LRETURN - com.tonic.util.Opcode
-
Pops a long and returns it to the caller, discarding the rest of the frame.
- LRETURN - com.tonic.util.ReturnType
-
Long return instruction.
- LRETURN - Static variable in interface com.tonic.type.AccessFlags
- lshl() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lshl, shifting a long left. - LSHL - com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Left shift of a long, using the low six bits of the int shift count.
- LSHL - com.tonic.util.Opcode
-
Pops an int shift distance and a long value, and pushes the value shifted left by the low six bits of the distance.
- lshr() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lshr, arithmetic right shift of a long. - LSHR - com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Arithmetic right shift of a long, propagating the sign bit.
- LSHR - com.tonic.util.Opcode
-
Pops an int shift distance and a long value, and pushes the value shifted right with sign extension by the low six bits of the distance.
- lstore(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends a long store to a local slot.
- LSTORE - com.tonic.util.Opcode
-
Pops a long and stores it in the local variable at the given index.
- LSTORE - Static variable in interface com.tonic.type.AccessFlags
- LSTORE_0 - com.tonic.util.Opcode
-
Pops a long and stores it in local variable 0.
- LSTORE_1 - com.tonic.util.Opcode
-
Pops a long and stores it in local variable 1.
- LSTORE_2 - com.tonic.util.Opcode
-
Pops a long and stores it in local variable 2.
- LSTORE_3 - com.tonic.util.Opcode
-
Pops a long and stores it in local variable 3.
- LStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the LSTORE instructions (0x37, 0x3F-0x42).
- LStoreInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.LStoreInstruction
-
Constructs an LStoreInstruction.
- lsub() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lsub, subtracting the top two long values. - LSUB - com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Subtracts the topmost long from the one beneath it, wrapping on overflow.
- LSUB - com.tonic.util.Opcode
-
Pops two longs and pushes the lower one minus the upper one.
- lt(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean less-than comparison node.
- LT - com.tonic.analysis.query.parser.Token.TokenType
-
The operator
<, distinguished from the start of<clinit>by lookahead. - LT - com.tonic.analysis.query.value.Operator
-
Strictly less than, numeric operands only; false for any other kind pairing.
- LT - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Less-than relational test,
<. - LT - com.tonic.analysis.source.parser.TokenType
-
Less-than test, and the opener of a type argument or type parameter list.
- LT - com.tonic.analysis.ssa.ir.CompareOp
-
Less than.
- LT_EQ - com.tonic.analysis.source.parser.TokenType
-
Numeric less-than-or-equal test.
- LT_LT - com.tonic.analysis.source.parser.TokenType
-
Left shift.
- LT_LT_EQ - com.tonic.analysis.source.parser.TokenType
-
Left-shifts the target in place.
- LTE - com.tonic.analysis.query.parser.Token.TokenType
-
The operator
<=. - LTE - com.tonic.analysis.query.value.Operator
-
Less than or equal, numeric operands only; false for any other kind pairing.
- lushr() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lushr, logical right shift of a long. - LUSHR - com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Logical right shift of a long, filling the vacated high bits with zero.
- LUSHR - com.tonic.util.Opcode
-
Pops an int shift distance and a long value, and pushes the value shifted right with zero extension by the low six bits of the distance.
- LvtSupport - Class in com.tonic.parser.attribute.table
-
Shared primitives for emitting
LocalVariableTableentries, used by both LVT builders. - lxor() - Method in class com.tonic.builder.CodeBuilder
-
Appends
lxor, bitwise exclusive or of the top two long values. - LXOR - com.tonic.util.Opcode
-
Pops two longs and pushes their bitwise exclusive OR.
- LXorInstruction - Class in com.tonic.analysis.instruction
-
Represents the LXOR instruction (0x83).
- LXorInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.LXorInstruction
-
Constructs an LXorInstruction.
M
- map(Function<CPGNode, T>) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query by mapping each node to a value.
- mapBinaryOp(BinaryOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Maps an IR binary operator to a source binary operator.
- mapClass(String, String) - Method in class com.tonic.renamer.Renamer
-
Maps a class to a new name.
- mapCompareOp(CompareOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Maps an IR comparison operator to a source binary operator.
- mapField(String, String, String, String) - Method in class com.tonic.renamer.Renamer
-
Maps a field to a new name.
- mapMethod(String, String, String, String) - Method in class com.tonic.renamer.Renamer
-
Maps a method to a new name (single class only, no hierarchy propagation).
- mapMethodInHierarchy(String, String, String, String) - Method in class com.tonic.renamer.Renamer
-
Maps a method to a new name with hierarchy propagation.
- MappingStore - Class in com.tonic.renamer.mapping
-
Container for all rename mappings with efficient lookup capabilities.
- MappingStore() - Constructor for class com.tonic.renamer.mapping.MappingStore
- mapUnaryOp(UnaryOp) - Static method in class com.tonic.analysis.source.recovery.OperatorMapper
-
Maps an IR unary operator to a source unary operator, if applicable.
- markAsForLoopHeader(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Records a block as a for-loop header, which scopes the induction local checks.
- markAsForLoopInductionLocal(int) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Records a local slot as a for-loop induction variable so its PHI declaration is skipped - the variable is declared in the loop's init instead.
- markAsForLoopInductionPhi(SSAValue) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Records a PHI as carrying a for-loop induction variable so its declaration is not emitted early.
- markAsForLoopInit(IRInstruction) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Claims an instruction as a for-loop initializer, permanently skipping it in predecessor blocks because the loop inlines it into its init clause.
- markDeclared(String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Marks a variable name as declared.
- markDeclaredInBranch(String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Marks a variable as declared in the current scope.
- markDeclaredInForLoopInit(String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Marks a variable as declared in a for-loop init expression.
- markDeclaredWithType(String, SourceType) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Marks a variable name as declared, recording its type when one is given.
- markEscaped() - Method in class com.tonic.analysis.simulation.heap.SimArray
- markEscaped() - Method in class com.tonic.analysis.simulation.heap.SimObject
- markEscaped(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Marks the object and array at a site as escaping; no-op if neither exists.
- markInlined(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Records that a value's expression was folded into its single use rather than assigned.
- markMaterialized(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Marks an SSA value as materialized into a variable.
- markNullChecked(String) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Marks a variable as null-checked.
- markParameter() - Method in class com.tonic.analysis.absexec.VarCtx
-
Flags this slot as an entry parameter.
- markProcessed(IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Marks a block as emitted so it is not recovered a second time.
- markRegionBlockProcessed(IRBlock, List<Statement>) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Records
block's recovered statements and marks it emitted so nothing re-emits it. - markRegionBlockProcessed(IRBlock, List<Statement>) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- markSynthetic() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Flags this declaration as a recovery-made carrier rather than a real local.
- matcher() - Method in class com.tonic.analysis.query.ast.Condition.Sequence.Element
- matches() - Method in class com.tonic.analysis.query.exec.QueryBatchRunner.QueryBatchResult
- matches(StackFrame) - Method in class com.tonic.analysis.execution.debug.Breakpoint
-
Tests whether this breakpoint matches the frame's current location.
- matches(ArgumentType) - Method in enum com.tonic.analysis.query.ast.ArgumentType
-
Tests whether an actual argument classification satisfies this expected one.
- matches(Expression) - Method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Applies this matcher's predicate.
- matches(Statement) - Method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Tests if this matcher matches the given statement.
- matches(IRInstruction, IRMethod, MethodEntry, ClassFile) - Method in interface com.tonic.analysis.pattern.PatternMatcher
-
Tests if the given instruction matches this pattern.
- matches(String) - Method in class com.tonic.analysis.query.ast.ClassScope
-
Tests a class name against this scope.
- matches(String) - Method in class com.tonic.analysis.query.ast.MethodScope
-
Tests a method signature against this scope.
- matches(String, String) - Method in class com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
-
Tests both patterns against a call target.
- matches(String, String, String) - Method in class com.tonic.analysis.cpg.taint.TaintSink
-
Tests a full call target against all three patterns.
- matches(String, String, String) - Method in class com.tonic.analysis.cpg.taint.TaintSource
-
Tests a full call target against all three patterns.
- matches(String, String, String, int) - Method in class com.tonic.analysis.execution.debug.Breakpoint
-
Tests whether this breakpoint matches the given location, treating a -1 pc as method entry (pc 0).
- MATCHES - com.tonic.analysis.query.value.Operator
-
Regular-expression match of the left string against the right pattern.
- matchesClass(ClassFile) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- matchesClass(ClassFile) - Method in class com.tonic.analysis.instrumentation.filter.ClassFilter
- matchesClass(ClassFile) - Method in interface com.tonic.analysis.instrumentation.filter.InstrumentationFilter
-
Checks if the given class matches this filter.
- matchesClass(ClassFile) - Method in class com.tonic.analysis.instrumentation.filter.PackageFilter
- matchesDescriptor(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink
-
Tests a descriptor against the descriptor pattern, compiling and caching it on first use.
- matchesDescriptor(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource
-
Tests a descriptor against the descriptor pattern, compiling and caching it on first use.
- matchesField(String, String, String) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- matchesField(String, String, String) - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- matchesField(String, String, String) - Method in interface com.tonic.analysis.instrumentation.filter.InstrumentationFilter
-
Checks if the given field matches this filter.
- matchesMethod(MethodEntry) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- matchesMethod(MethodEntry) - Method in interface com.tonic.analysis.instrumentation.filter.InstrumentationFilter
-
Checks if the given method matches this filter.
- matchesMethod(MethodEntry) - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- matchesMethod(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink
-
Tests a method name against the method pattern, compiling and caching it on first use.
- matchesMethod(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource
-
Tests a method name against the method pattern, compiling and caching it on first use.
- matchesMethodCall(String, String, String) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
- matchesMethodCall(String, String, String) - Method in interface com.tonic.analysis.instrumentation.filter.InstrumentationFilter
-
Checks if the given method call matches this filter.
- matchesOwner(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink
-
Tests an owner against the owner pattern, compiling and caching it on first use.
- matchesOwner(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource
-
Tests an owner against the owner pattern, compiling and caching it on first use.
- matching(String) - Static method in class com.tonic.analysis.instrumentation.filter.ClassFilter
-
Creates a filter that matches classes using a wildcard pattern.
- matching(String) - Static method in class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a filter matching fields by pattern (wildcard support).
- matching(String) - Static method in class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a filter matching methods by pattern (wildcard support).
- matchingMethod(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Restricts this hook to methods whose name matches a pattern.
- matchingMethod(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Restricts this hook to methods whose name matches a pattern.
- matchPresent(boolean) - Method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter.Builder
-
Sets whether the filter matches on annotation presence or absence.
- MATH - Static variable in class com.tonic.util.CommonTypes
- MathHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for java.lang.Math, StrictMath, Float and Double, evaluated with the host JDK's own implementations.
- MathHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.MathHandlers
- max() - Method in class com.tonic.analysis.query.ast.Condition.Sequence.Element
- maxCallDepth(int) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Sets the maximum call stack depth.
- maxCallDepth(int) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets the maximum inter-procedural call depth.
- maxDepth() - Method in class com.tonic.analysis.execution.state.ConcreteStack
- maxDepth() - Method in class com.tonic.analysis.query.ast.RunSpec
- maxDepth() - Method in class com.tonic.analysis.simulation.state.StackState
- maxDepth(int) - Method in class com.tonic.analysis.query.ast.RunSpec.Builder
-
Sets the maximum call depth.
- maxErrors(int) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Caps how many errors are collected, clamped to at least 1.
- maxInstructions() - Method in class com.tonic.analysis.query.ast.RunSpec
- maxInstructions(int) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Sets the instruction budget after which execution aborts.
- maxInstructions(int) - Method in class com.tonic.analysis.query.ast.RunSpec.Builder
-
Sets the instruction execution cap.
- maxLabelLength(int) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the label length at which truncation kicks in.
- maxLabelLength(int) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets the character budget a label gets before truncation applies.
- maxLineLength(int) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets the line length the emitter wraps at; defaults to 120.
- maxLocal() - Method in class com.tonic.analysis.simulation.state.LocalState
- maxLocals(int) - Method in class com.tonic.builder.MethodBuilder
-
Overrides the computed max_locals of the Code attribute.
- maxNodesPerMethod(int) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets how many nodes are printed per method before the rest are elided.
- maxPathLength(int) - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Caps how many nodes a reported path may contain.
- maxStack(int) - Method in class com.tonic.builder.MethodBuilder
-
Overrides the computed max_stack of the Code attribute.
- maxStackDepth() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Get the maximum stack depth seen during simulation.
- maxStackDepth(int) - Method in class com.tonic.analysis.simulation.core.SimulationResult.Builder
-
Raises the recorded maximum stack depth; a value below the current maximum is ignored.
- mayAlias(SimValue, SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Tests whether two references could denote the same object; an empty points-to set is treated as unknown and aliases anything.
- mayAlias(Set<AllocationSite>, Set<AllocationSite>) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Tests whether two points-to sets overlap.
- MAYBE_NULL - com.tonic.analysis.simulation.state.SimValue.NullState
-
Nullness is unknown; also the result of merging two values whose states disagree, and the default for a value with no null information.
- mayBeNonNull() - Method in enum com.tonic.analysis.typeinference.Nullability
- mayBeNull() - Method in class com.tonic.analysis.simulation.state.SimValue
- mayBeNull() - Method in enum com.tonic.analysis.typeinference.Nullability
- mayBeNull(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
- mayEscape(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
- mayPointTo(SimValue, AllocationSite) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Tests whether a reference could point at a site.
- MEDIUM - com.tonic.analysis.cpg.taint.Severity
-
Reaches a sink that is only exploitable in some contexts, such as log injection.
- meet(Nullability) - Method in enum com.tonic.analysis.typeinference.Nullability
-
Narrows two states, falling to BOTTOM when they disagree.
- meet(TypeSet) - Method in class com.tonic.analysis.typeinference.TypeSet
-
Intersects two sets; the result is complete when either operand is.
- MemberEntry - Class in com.tonic.parser
-
Abstract base for field and method entries, holding the shared name/descriptor/access state.
- MemberEntry() - Constructor for class com.tonic.parser.MemberEntry
- memo(Object, Supplier<T>) - Method in class com.tonic.analysis.query.eval.EvalContext
-
Computes a value once per key and caches it for the life of this context.
- merge() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
- merge(TypeState) - Method in class com.tonic.analysis.frame.TypeState
-
Merges this state with another without a constant pool, so unequal reference types unify to TOP.
- merge(TypeState, ConstPool) - Method in class com.tonic.analysis.frame.TypeState
-
Merges this state with another at a control-flow join, unifying locals slot-by-slot and reference stack entries to a common superclass when a pool is available.
- merge(SimulationState) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Merge this state with another for control flow convergence.
- merge(SimArray) - Method in class com.tonic.analysis.simulation.heap.SimArray
-
Unions the element sets, the per-index sets and the escape flags of two states of the same allocation.
- merge(SimHeap) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Joins two heaps at a control flow merge, unioning the values held per site and per static field.
- merge(SimObject) - Method in class com.tonic.analysis.simulation.heap.SimObject
-
Unions the field value sets of two views of the same allocation site, escaping the result if either side escaped.
- merge(LocalState) - Method in class com.tonic.analysis.simulation.state.LocalState
-
Merges another state in at a control flow join, keeping this state's value wherever both define a slot.
- merge(SimValue) - Method in class com.tonic.analysis.simulation.state.SimValue
-
Merges another value into this one, unioning points-to sets and widening disagreeing null states to MAYBE_NULL.
- merge(StackState) - Method in class com.tonic.analysis.simulation.state.StackState
-
Joins two stacks at a control flow convergence, keeping this stack's values and the larger recorded maximum depth.
- merge(AbstractState) - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Adopts locals from another state for slots this state does not yet hold; the stack is untouched.
- merge(VerificationResult) - Method in class com.tonic.analysis.verifier.VerificationResult
-
Combines this result with another, keeping this result's location and unioning the findings.
- merge(ValidationResult) - Method in class com.tonic.renamer.validation.ValidationResult
-
Appends another result's errors and warnings to this one.
- merge(Collection<SimValue>) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Folds a collection into one value, unioning points-to sets and widening disagreeing null states to MAYBE_NULL.
- MERGE_CONFLICT - com.tonic.analysis.verifier.VerificationErrorType
-
Paths reaching a join disagree on stack depth or on types with no common supertype.
- method() - Method in class com.tonic.analysis.query.eval.EvalContext
- method() - Method in class com.tonic.analysis.query.eval.Subject.MethodSubject
- method() - Method in class com.tonic.analysis.query.eval.Subject.ParamSubject
- method(IRMethod) - Method in class com.tonic.analysis.simulation.core.SimulationResult.Builder
-
Sets the method the result describes.
- method(String) - Static method in class com.tonic.analysis.query.ast.DuringScope
-
Creates a scope covering methods matching a pattern, with no class filter.
- method(String, String, String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects a single method by exact signature.
- METHOD - com.tonic.analysis.cpg.node.CPGNodeType
-
A whole method, the root that its blocks and locals belong to.
- METHOD - com.tonic.analysis.query.eval.SubjectKind
-
A single method, the level attributes about a body as a whole resolve against.
- METHOD - com.tonic.analysis.query.parser.Token.TokenType
-
The word
method, introducing a method-name pattern for a static or execution-time scope. - METHOD - com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Method names; an invalid one is renamed to
method_N. - METHOD - Static variable in class com.tonic.type.TypeDescriptor
- METHOD_CALL - com.tonic.analysis.dependency.DependencyType
-
Method call target
- METHOD_CALL - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A method invocation was dispatched, carrying the resolved target.
- METHOD_CALL - com.tonic.analysis.xref.XrefType
-
A method named at an invoke instruction in the referencing method's body.
- METHOD_CALL_AFTER - com.tonic.analysis.instrumentation.InstrumentationTarget
-
After method invocation
- METHOD_CALL_BEFORE - com.tonic.analysis.instrumentation.InstrumentationTarget
-
Before method invocation
- METHOD_DESCRIPTOR - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The method descriptor as a String
- METHOD_ENTRY - com.tonic.analysis.instrumentation.InstrumentationTarget
-
Before the first instruction of a method
- METHOD_EXIT - com.tonic.analysis.instrumentation.InstrumentationTarget
-
Before each return instruction
- METHOD_HANDLE - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A method handle constant was loaded and the interpreter must materialize it from the handle info left on the context.
- METHOD_HANDLE - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_MethodHandleentry, loaded as a direct handle to a field or method. - METHOD_HANDLE - Static variable in class com.tonic.util.CommonTypes
- METHOD_NAME - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The method name as a String
- METHOD_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Method entry/exit notifications.
- METHOD_OVERRIDE - com.tonic.analysis.xref.XrefType
-
A supertype method that the referencing method redeclares, recorded from the class hierarchy rather than from a call site.
- METHOD_RETURN - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A method returned to its caller, carrying the returned value where there is one.
- METHOD_TYPE - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
A
MethodTypeconstant was loaded and the interpreter must materialize it from the descriptor left on the context. - METHOD_TYPE - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_MethodTypeentry, loaded as an erased method signature. - METHOD_TYPE - Static variable in class com.tonic.util.CommonTypes
- MethodBuilder - Class in com.tonic.builder
-
Fluent builder for one method of a ClassBuilder, holding its code, thrown types, frame sizes, and annotations until the enclosing class is built.
- methodCall(Expression, String, String, SourceType, Expression...) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an instance method call node.
- methodCall(String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches method calls by method name, whatever the owner.
- methodCall(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Starts a method call for incremental configuration.
- methodCall(String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a method-call event.
- methodCall(String, String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches method calls to a specific owner and method name.
- methodCall(String, String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches method calls by owner class and method name.
- methodCall(String, String, int) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches method calls by owner class, method name and argument count.
- MethodCallExpr - Class in com.tonic.analysis.source.ast.expr
-
A method call expression: obj.method(args) or Type.staticMethod(args).
- MethodCallExpr(Expression, String, String, List<Expression>, boolean, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Creates a method call with an unknown source location.
- MethodCallExpr(Expression, String, String, List<Expression>, boolean, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Creates a method call, reparenting the receiver and arguments.
- MethodCallHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for method call expressions.
- MethodCallHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for method call interception.
- MethodCallHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Builder for
MethodCallHook, defaulting to enabled, priority 100, before-call placement, an unrestricted target and no values passed. - MethodCallListener - Class in com.tonic.analysis.simulation.listener
-
Simulation listener that counts method calls by invoke kind and by target, optionally recording the call sequence.
- MethodCallListener() - Constructor for class com.tonic.analysis.simulation.listener.MethodCallListener
-
Creates a listener that also records the call sequence.
- MethodCallListener(boolean) - Constructor for class com.tonic.analysis.simulation.listener.MethodCallListener
-
Creates a listener with all counters at zero.
- MethodCallListener.CallSite - Class in com.tonic.analysis.simulation.listener
-
One recorded call: the invoke, its resolved target, kind and the operand stack depth at entry.
- MethodCallListener.MethodReference - Class in com.tonic.analysis.simulation.listener
-
An owner, name and descriptor triple used as the call count map key.
- methodCallNamed(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches method calls with a specific name.
- methodCallNameMatching(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches method calls with name matching a regex pattern.
- methodCallOwnerMatching(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches method calls with owner matching a regex pattern.
- methodCallStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches expression statements containing a method call.
- methodCallTo(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches method calls to a specific owner class.
- MethodDecl - Class in com.tonic.analysis.source.ast.decl
-
AST node for a method declaration - modifiers, signature and optional body.
- MethodDecl(String, SourceType) - Constructor for class com.tonic.analysis.source.ast.decl.MethodDecl
-
Creates a declaration with an unknown source location.
- MethodDecl(String, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.MethodDecl
-
Creates a declaration with no modifiers, parameters or body.
- methodEntry(String, String, String) - Static method in class com.tonic.analysis.execution.debug.Breakpoint
-
Creates a breakpoint that triggers on method entry.
- MethodEntry - Class in com.tonic.parser
-
A method entry of a class file, parsed from bytes or built for dynamic creation.
- MethodEntry(ClassFile) - Constructor for class com.tonic.parser.MethodEntry
-
Constructs a MethodEntry by parsing from the class file.
- MethodEntry(ClassFile, int, int, int, List<Attribute>) - Constructor for class com.tonic.parser.MethodEntry
-
Constructs a MethodEntry for dynamically creating methods.
- MethodEntryHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for method entry instrumentation.
- MethodEntryHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Fluent builder for a method entry hook; every setting has a default except the hook descriptor.
- MethodExitHook - Class in com.tonic.analysis.instrumentation.hook
-
Configuration for method exit instrumentation.
- MethodExitHook.Builder - Class in com.tonic.analysis.instrumentation.hook
-
Builder for
MethodExitHook, defaulting to enabled, priority 100, no values passed and normal returns only. - MethodFilter - Class in com.tonic.analysis.instrumentation.filter
-
Filter by method name pattern.
- MethodFilter(String) - Constructor for class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a method filter matching by name.
- MethodFilter(String, String) - Constructor for class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a method filter matching by name and descriptor.
- MethodFingerprint - Class in com.tonic.analysis.fingerprint
-
A method's identity fingerprint: three feature levels with precomputed hashes and an availability mask.
- MethodFingerprint(String, Level0Features, Level1Features, Level2Features) - Constructor for class com.tonic.analysis.fingerprint.MethodFingerprint
-
Creates a fingerprint and precomputes the hash of each valid level.
- MethodGrafter - Class in com.tonic.analysis
-
Copies a method from one
ClassFileinto another, re-resolving its constant-pool references into the target pool. - MethodHandle - Class in com.tonic.parser.constpool.structure
-
The reference kind and pool index pair that makes up a CONSTANT_MethodHandle entry.
- MethodHandle - Class in com.tonic.type
-
A CONSTANT_MethodHandle target: a reference kind tag plus the member it points at.
- MethodHandle(int, int) - Constructor for class com.tonic.parser.constpool.structure.MethodHandle
-
Creates a method handle descriptor.
- MethodHandle(int, String, String, String) - Constructor for class com.tonic.type.MethodHandle
-
Creates a method handle whose owner is a class rather than an interface.
- MethodHandle(int, String, String, String, boolean) - Constructor for class com.tonic.type.MethodHandle
-
Creates a method handle.
- MethodHandleConstant - Class in com.tonic.analysis.ssa.value
-
Represents a MethodHandle constant loaded via ldc.
- MethodHandleConstant(int, String, String, String) - Constructor for class com.tonic.analysis.ssa.value.MethodHandleConstant
-
Creates a MethodHandle constant.
- MethodHandleInfo - Class in com.tonic.analysis.execution.dispatch
-
A CONSTANT_MethodHandle entry: reference kind plus the referenced member's owner, name, and descriptor.
- MethodHandleInfo(int, String, String, String) - Constructor for class com.tonic.analysis.execution.dispatch.MethodHandleInfo
-
Creates a method handle descriptor.
- MethodHandleItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_MethodHandle entry in the constant pool.
- MethodHandleItem() - Constructor for class com.tonic.parser.constpool.MethodHandleItem
- MethodInfo - Class in com.tonic.analysis.execution.dispatch
-
A resolved method reference: owner class, name, descriptor, and invocation kind flags.
- MethodInfo(String, String, String, boolean, boolean) - Constructor for class com.tonic.analysis.execution.dispatch.MethodInfo
-
Creates a non-special method reference.
- MethodInfo(String, String, String, boolean, boolean, boolean) - Constructor for class com.tonic.analysis.execution.dispatch.MethodInfo
-
Creates a method reference.
- MethodInlining - Class in com.tonic.analysis.ssa.transform
-
A class-level transform that replaces calls to private, final, and static methods with the callee's body.
- MethodInlining() - Constructor for class com.tonic.analysis.ssa.transform.MethodInlining
- methodKey(MethodEntry) - Static method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Builds the registry key for the given method.
- methodKey(String, String, String) - Static method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Builds the per-method index key.
- methodKey(String, String, String) - Static method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Builds the registry key for the identified method.
- MethodLocals - Class in com.tonic.analysis.source.recovery
-
The parameter slot layout of a method: which local slots hold the receiver and parameters, and how those map to parameter indices.
- MethodLocals(IRMethod) - Constructor for class com.tonic.analysis.source.recovery.MethodLocals
-
Walks the method's SSA parameter list once to assign each entry its local slot, counting long and double as two.
- MethodMapping - Class in com.tonic.renamer.mapping
-
Represents a method rename mapping.
- MethodMapping(String, String, String, String) - Constructor for class com.tonic.renamer.mapping.MethodMapping
-
Creates a new method mapping without hierarchy propagation.
- MethodMapping(String, String, String, String, boolean) - Constructor for class com.tonic.renamer.mapping.MethodMapping
-
Creates a new method mapping with hierarchy propagation option.
- methodMatching(String) - Static method in class com.tonic.analysis.query.planner.filter.PatternFilter
-
Builds a filter matching on the method signature or bare method name.
- methodName() - Method in class com.tonic.analysis.query.eval.EvidenceCollector.Hit
- methodName() - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- methodName() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- MethodNode - Class in com.tonic.analysis.cpg.node
-
CPG node wrapping a lifted IR method together with its owner class.
- MethodNode(long, IRMethod, String) - Constructor for class com.tonic.analysis.cpg.node.MethodNode
-
Creates a node for a lifted method.
- MethodParameter - Class in com.tonic.parser.attribute.table
-
Represents a method parameter in the MethodParameters attribute.
- MethodParameter(ConstPool, int, int) - Constructor for class com.tonic.parser.attribute.table.MethodParameter
-
Constructs a method parameter entry.
- MethodParametersAttribute - Class in com.tonic.parser.attribute
-
The MethodParameters attribute: names and flags of a method's formal parameters.
- MethodParametersAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.MethodParametersAttribute
-
Creates the attribute shell for parsing, attached to a class.
- MethodParametersAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.MethodParametersAttribute
-
Creates the attribute shell for parsing, attached to a member.
- methodPattern() - Method in class com.tonic.analysis.query.ast.DuringScope
- methodPattern(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- methodPattern(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- MethodRecoverer - Class in com.tonic.analysis.source.recovery
-
Facade that recovers a source-level method body from an IR method, wiring together name, expression, structural, and statement recovery.
- MethodRecoverer(IRMethod, MethodEntry) - Constructor for class com.tonic.analysis.source.recovery.MethodRecoverer
-
Creates a recoverer that prefers names from debug info.
- MethodRecoverer(IRMethod, MethodEntry, NameRecoveryStrategy) - Constructor for class com.tonic.analysis.source.recovery.MethodRecoverer
-
Creates a recoverer with an explicit naming strategy.
- MethodRef - Class in com.tonic.parser.constpool.structure
-
The mutable class-index and name-and-type-index pair behind a constant pool method reference.
- MethodRef(int, int) - Constructor for class com.tonic.parser.constpool.structure.MethodRef
- MethodReference - Class in com.tonic.analysis.common
-
An immutable method identity of owner class, name, and descriptor.
- MethodReference(String, String, String) - Constructor for class com.tonic.analysis.common.MethodReference
-
Creates a new method reference.
- MethodReference(String, String, String) - Constructor for class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- MethodRefExpr - Class in com.tonic.analysis.source.ast.expr
-
A method reference expression - Type::method, expr::method or Type::new.
- MethodRefExpr(Expression, String, String, MethodRefKind, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates a method reference with an unknown source position.
- MethodRefExpr(Expression, String, String, MethodRefKind, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates a method reference and adopts the receiver as a child.
- MethodRefItem - Class in com.tonic.parser.constpool
-
A CONSTANT_Methodref constant pool entry, holding the class and name-and-type indices of a class method.
- MethodRefItem() - Constructor for class com.tonic.parser.constpool.MethodRefItem
- MethodRefKind - Enum in com.tonic.analysis.source.ast.expr
-
Kinds of method references.
- MethodRenamer - Class in com.tonic.renamer
-
Handles renaming of methods and updating all references across the ClassPool.
- MethodRenamer(RenamerContext) - Constructor for class com.tonic.renamer.MethodRenamer
- methodReturn(String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a method-return event.
- MethodReturnInstruction - Class in com.tonic.analysis.instruction
-
Represents the return instructions (IRETURN, LRETURN, FRETURN, DRETURN, ARETURN, RETURN).
- MethodReturnInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.MethodReturnInstruction
-
Constructs a MethodReturnInstruction.
- methods() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects all method nodes.
- methods(String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Selects method nodes whose name matches a regex.
- METHODS - com.tonic.analysis.query.ast.Target
-
Each row is a method, written
methods. - METHODS - com.tonic.analysis.query.parser.Token.TokenType
-
The target word
methods, making methods the result rows. - MethodScope - Class in com.tonic.analysis.query.ast
-
Scope limited to methods matching a pattern or signature.
- MethodScope(String, boolean) - Constructor for class com.tonic.analysis.query.ast.MethodScope
-
Creates a method scope.
- MethodSignature - Class in com.tonic.analysis.similarity
-
A method's comparison fingerprints: bytecode hash, opcode sequence, and structural counters.
- MethodSignature(String, String, String) - Constructor for class com.tonic.analysis.similarity.MethodSignature
-
Creates an empty signature identifying a method; fingerprints are filled by fromMethod.
- MethodSimilarityAnalyzer - Class in com.tonic.analysis.similarity
-
Pairwise method-similarity analyzer over a ClassPool, used to find duplicates and renamed copies.
- MethodSimilarityAnalyzer(ClassPool) - Constructor for class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Creates an analyzer over the given pool; call buildIndex before querying.
- methodsInstrumented(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport.Builder
-
Sets the number of methods that received at least one point.
- MethodSubject(MethodEntry, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.MethodSubject
-
Binds the cursor to a method.
- MethodTarget(String, String, String) - Constructor for class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
-
Creates a target naming one method.
- MethodTypeConstant - Class in com.tonic.analysis.ssa.value
-
Represents a MethodType constant loaded via ldc.
- MethodTypeConstant(String) - Constructor for class com.tonic.analysis.ssa.value.MethodTypeConstant
-
Creates a MethodType constant.
- MethodTypeInfo - Class in com.tonic.analysis.execution.dispatch
-
A CONSTANT_MethodType entry wrapping a method descriptor with parsing helpers.
- MethodTypeInfo(String) - Constructor for class com.tonic.analysis.execution.dispatch.MethodTypeInfo
-
Creates a method type wrapper.
- MethodTypeItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_MethodType entry in the constant pool.
- MethodTypeItem() - Constructor for class com.tonic.parser.constpool.MethodTypeItem
- min() - Method in class com.tonic.analysis.query.ast.Condition.Sequence.Element
- minimal() - Static method in class com.tonic.analysis.graph.print.GraphPrinterConfig
-
Builds a config that prints bare structure - no ids, edge labels, properties or statistics.
- MINIMAL - com.tonic.analysis.graph.print.Verbosity
-
Bare structure only - block headers without their instructions, and edges listed flat rather than grouped by type.
- MINIMAL - com.tonic.analysis.source.decompile.TransformPreset
-
Minimal cleanup - safe transforms with low risk of issues.
- MINUS - com.tonic.analysis.source.parser.TokenType
-
Subtraction or unary negation.
- MINUS_EQ - com.tonic.analysis.source.parser.TokenType
-
Subtracts from the target in place.
- MINUS_MINUS - com.tonic.analysis.source.parser.TokenType
-
Decrement by one, in either prefix or postfix position.
- MINUS_ONE - Static variable in class com.tonic.analysis.ssa.value.IntConstant
- MISSING_STACKMAP_FRAME - com.tonic.analysis.verifier.VerificationErrorType
-
A jump target or handler entry has no stack map frame, so its incoming state is undeclared.
- mod(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a modulo node typed from the left operand.
- MOD - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Remainder,
%, which takes the sign of the dividend. - MOD_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Remainder and assign,
%=. - mode(ExecutionMode) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Sets how method invocations are executed.
- mode(SimulationMode) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets the simulation mode.
- Modifier - Enum in com.tonic.analysis.source.ast.decl
-
A Java source modifier keyword, paired with the keyword text it prints as.
- Modifiers - Class in com.tonic.util
-
Utility class for constructing and checking access flags in Java class files.
- ModuleAttribute - Class in com.tonic.parser.attribute
-
The Module attribute: a module declaration's requires/exports/opens/uses/provides tables.
- ModuleAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.ModuleAttribute
-
Creates the attribute shell for parsing, attached to a class.
- ModuleAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.ModuleAttribute
-
Creates the attribute shell for parsing, attached to a member.
- ModuleItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_Module entry in the constant pool.
- ModuleItem() - Constructor for class com.tonic.parser.constpool.ModuleItem
- monitorenter() - Method in class com.tonic.builder.CodeBuilder
-
Appends
monitorenter, acquiring the monitor of the top reference. - MONITORENTER - com.tonic.analysis.ssa.ir.SimpleOp
-
Acquires the monitor of the operand object; produces no result.
- MONITORENTER - com.tonic.util.Opcode
-
Pops an object reference and acquires its monitor, blocking until the monitor is available.
- MonitorEnterInstruction - Class in com.tonic.analysis.instruction
-
Represents the MONITORENTER instruction (0xC2).
- MonitorEnterInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.MonitorEnterInstruction
-
Constructs a MonitorEnterInstruction.
- monitorexit() - Method in class com.tonic.builder.CodeBuilder
-
Appends
monitorexit, releasing the monitor of the top reference. - MONITOREXIT - com.tonic.analysis.ssa.ir.SimpleOp
-
Releases the monitor of the operand object; produces no result.
- MONITOREXIT - com.tonic.util.Opcode
-
Pops an object reference and releases one hold on its monitor.
- MonitorExitInstruction - Class in com.tonic.analysis.instruction
-
Represents the MONITOREXIT instruction (0xC3).
- MonitorExitInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.MonitorExitInstruction
-
Constructs a MonitorExitInstruction.
- mul(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a multiplication node typed from the left operand.
- MUL - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Multiplication,
*. - MUL - com.tonic.analysis.ssa.ir.BinaryOp
-
Multiplication.
- MUL_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Multiply and assign,
*=. - multianewarray(String, int) - Method in class com.tonic.builder.CodeBuilder
-
Appends
multianewarray, consuming one length from the stack per dimension. - MULTIANEWARRAY - com.tonic.util.Opcode
-
Pops one int length per dimension and pushes a new multidimensional array.
- MultiANewArrayInstruction - Class in com.tonic.analysis.instruction
-
Represents the MULTIANEWARRAY instruction (0xC5).
- MultiANewArrayInstruction(ConstPool, int, int, int, int) - Constructor for class com.tonic.analysis.instruction.MultiANewArrayInstruction
-
Constructs a MultiANewArrayInstruction.
- multiCatch(List<SourceType>, String, Statement) - Static method in class com.tonic.analysis.source.ast.stmt.CatchClause
-
Creates a multi-catch clause.
- MULTIPLICATIVE - com.tonic.analysis.source.parser.Precedence
-
The level of
*,/, and%. - multiply(Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a multiplication expression.
- mustAlias(SimValue, SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Tests whether two references necessarily denote the same object - both known null, or both pinned to the same single allocation site.
- mustAlias(Set<AllocationSite>, Set<AllocationSite>) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Tests whether two points-to sets are both singletons naming the same site.
- mustPointTo(SimValue, AllocationSite) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Tests whether a reference points only at one site.
- MUTABLE - com.tonic.analysis.simulation.heap.HeapMode
-
In-place updates.
N
- name() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- name() - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- name(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- name(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- name(String) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
- name(String) - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Sets the hook method name.
- NameAndType - Class in com.tonic.parser.constpool.structure
-
Represents a Name and Type in the constant pool.
- NameAndType(int, int) - Constructor for class com.tonic.parser.constpool.structure.NameAndType
-
Creates a name-and-type pair from its two constant-pool indices.
- NameAndTypeRefItem - Class in com.tonic.parser.constpool
-
A CONSTANT_NameAndType constant pool entry, holding the name and descriptor indices of a member.
- NameAndTypeRefItem() - Constructor for class com.tonic.parser.constpool.NameAndTypeRefItem
- nameAt(int, int) - Method in interface com.tonic.analysis.source.recovery.SlotVariablePartition.ScopeNameResolver
- nameByOrdinal(ClassPool, String, int) - Static method in class com.tonic.analysis.source.recovery.EnumConstants
-
Looks up the enum constant declared at a given position.
- NameConflictException - Exception in com.tonic.renamer.exception
-
Signals that a rename was rejected because the new name already belongs to something else at the target location.
- NameConflictException(String, String, String) - Constructor for exception com.tonic.renamer.exception.NameConflictException
-
Creates a conflict report, building the message from the three parts.
- named(String) - Static method in class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a filter matching an exact field name.
- named(String) - Static method in class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a filter matching an exact method name.
- nameForLoad(LoadLocalInstruction) - Method in class com.tonic.analysis.source.recovery.SlotVariablePartition
- nameForPhi(PhiInstruction) - Method in class com.tonic.analysis.source.recovery.SlotVariablePartition
- nameForStore(StoreLocalInstruction) - Method in class com.tonic.analysis.source.recovery.SlotVariablePartition
- nameMatches(String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only nodes whose name property matches a regex.
- NameRecoverer - Class in com.tonic.analysis.source.recovery
-
Recovers variable names from debug info or generates synthetic names.
- NameRecoverer(IRMethod, MethodEntry, NameRecoveryStrategy) - Constructor for class com.tonic.analysis.source.recovery.NameRecoverer
-
Creates a recoverer and eagerly indexes the method's local variable table and lifted instruction offsets.
- nameRecoveryStrategy(NameRecoveryStrategy) - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Sets how variable names are recovered.
- NameRecoveryStrategy - Enum in com.tonic.analysis.source.recovery
-
Strategy for recovering variable names.
- narrow(TypeState) - Method in class com.tonic.analysis.typeinference.TypeState
-
Narrows this state with additional information; bottom on either side yields bottom.
- NarrowingConversionInstruction - Class in com.tonic.analysis.instruction
-
Represents the narrowing conversion instructions (I2B, I2C, I2S).
- NarrowingConversionInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.NarrowingConversionInstruction
-
Constructs a NarrowingConversionInstruction.
- NarrowingConversionInstruction.NarrowingType - Enum in com.tonic.analysis.instruction
-
The narrowing conversion kinds, each pairing a JVM opcode with its mnemonic.
- NATIVE - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0100, marking a method implemented outside the class file. - NATIVE - com.tonic.analysis.source.parser.TokenType
-
Modifier for a method whose implementation lives outside the JVM.
- NATIVE - Static variable in class com.tonic.util.Modifiers
- NATIVE_CALL - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A native method was reached, so the interpreter handed it to a built-in implementation instead of executing bytecode.
- NATIVE_HANDLED - com.tonic.analysis.execution.invoke.InvocationResult.Status
-
A native handler stood in for the callee, supplying the return value without bytecode.
- NATIVE_RETURN - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A native method's built-in implementation returned, carrying its result.
- nativeCall(String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a native-method-call event.
- NativeContext - Interface in com.tonic.analysis.execution.invoke
-
Services exposed to native-method handlers: heap access, class resolution, and guest string and exception construction.
- NativeException - Exception in com.tonic.analysis.execution.invoke
-
Exception raised by a native-method handler, carrying the internal name of the guest exception class to materialize.
- NativeException(String, String) - Constructor for exception com.tonic.analysis.execution.invoke.NativeException
-
Creates an exception to be materialized as the given guest class.
- nativeHandled(ConcreteValue) - Static method in class com.tonic.analysis.execution.invoke.InvocationResult
-
Creates a result for a call satisfied by a native handler.
- NativeHandlerProvider - Interface in com.tonic.analysis.execution.invoke
-
Contributor that registers a family of native-method handlers with a registry.
- NativeMethodHandler - Interface in com.tonic.analysis.execution.invoke
-
Handler that emulates a single native or intrinsic JDK method against interpreter state.
- nativeRegistry(NativeRegistry) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Sets the registry of native method handlers; a default-populated registry is created if omitted.
- NativeRegistry - Class in com.tonic.analysis.execution.invoke
-
Thread-safe registry mapping owner.name+descriptor keys to native-method handlers.
- NativeRegistry() - Constructor for class com.tonic.analysis.execution.invoke.NativeRegistry
-
Creates an empty registry.
- nativeReturn(String, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a native-method-return event.
- ne(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a boolean inequality comparison node.
- NE - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Inequality test,
!=; reference identity when the operands are references. - NE - com.tonic.analysis.ssa.ir.CompareOp
-
Not equal.
- needsRemapping(String) - Method in class com.tonic.renamer.descriptor.DescriptorRemapper
-
Checks if a descriptor contains any class references that would be remapped.
- needsRemapping(String) - Method in class com.tonic.renamer.descriptor.SignatureRemapper
-
Checks if a signature contains any class references that would be remapped.
- neg(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an arithmetic negation node typed from the operand.
- NEG - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Arithmetic negation,
-, applied to a single numeric operand. - NEG - com.tonic.analysis.ssa.ir.UnaryOp
-
Numeric negation.
- negate(Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an arithmetic negation.
- NEGATIVE_ARRAY_SIZE - Static variable in class com.tonic.util.CommonTypes
- NEQ - com.tonic.analysis.query.parser.Token.TokenType
-
The operator
!=; a bare!is a parse error. - NEQ - com.tonic.analysis.query.value.Operator
-
Negation of
Operator.EQ, so two values of incomparable kinds are unequal. - NestHostAttribute - Class in com.tonic.parser.attribute
-
The NestHost attribute: the constant-pool index of the nest host class.
- NestHostAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.NestHostAttribute
-
Creates the attribute shell for parsing, attached to a class.
- NestHostAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.NestHostAttribute
-
Creates the attribute shell for parsing, attached to a member.
- NestMembersAttribute - Class in com.tonic.parser.attribute
-
The NestMembers attribute: constant-pool indices of the classes in this class's nest.
- NestMembersAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.NestMembersAttribute
-
Creates the attribute shell for parsing, attached to a class.
- NestMembersAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.NestMembersAttribute
-
Creates the attribute shell for parsing, attached to a member.
- NETWORK - com.tonic.analysis.cpg.taint.TaintType
-
Data read from a socket or URL connection.
- NetworkHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the java.net stack that stub out real I/O, resolving every host to localhost and failing every socket operation without touching the network.
- NetworkHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.NetworkHandlers
- networkInput() - Static method in class com.tonic.analysis.cpg.taint.TaintSource
- NEW - com.tonic.analysis.source.parser.TokenType
-
Introduces an instance creation, an array creation, or an anonymous class body.
- NEW - com.tonic.util.Opcode
-
Allocates an uninitialized instance of the class named by the two-byte constant pool index and pushes the reference.
- new_(String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
new, adding the class reference to the constant pool. - NEW_ARRAY - com.tonic.analysis.execution.dispatch.DispatchResult
-
An array must be allocated, covering the primitive, reference, and multi-dimensional forms.
- NEW_ARRAY - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
An array must be allocated, covering the primitive, reference, and multi-dimensional forms; the dimension counts are left on the context.
- NEW_OBJECT - com.tonic.analysis.dataflow.DataFlowNodeType
-
A freshly allocated object, a value source but never itself tainted.
- NEW_OBJECT - com.tonic.analysis.execution.dispatch.DispatchResult
-
An instance must be allocated for the pending
new, before its constructor runs. - NEW_OBJECT - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
An instance must be allocated for the pending
new, before its constructor runs. - NEW_VALUE - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The new value being assigned (for write hooks)
- newarray(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends
newarrayfor a primitive element type. - newArray() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches new array expressions.
- newArray(SourceType, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a sized array allocation node.
- newArray(SourceType, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a sized array allocation.
- newArray(String, int) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Allocates a one-dimensional array with default-initialized elements.
- newArray(String, int) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- newArray(String, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a sized array allocation, parsing the element type from its name.
- NEWARRAY - com.tonic.util.Opcode
-
Pops an int length and pushes a new zero-filled array of the primitive type selected by the one-byte type code.
- NewArrayExpr - Class in com.tonic.analysis.source.ast.expr
-
An array allocation - either sized by dimension expressions or by an initializer.
- NewArrayExpr(SourceType, ArrayInitExpr) - Constructor for class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Creates an allocation with no explicit dimensions, sized by its initializer.
- NewArrayExpr(SourceType, List<Expression>) - Constructor for class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Creates an allocation with explicit dimensions and no initializer.
- NewArrayExpr(SourceType, List<Expression>, ArrayInitExpr, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Creates an array allocation and adopts the dimensions and initializer as children.
- NewArrayHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for array instantiation expressions.
- NewArrayInstruction - Class in com.tonic.analysis.ssa.ir
-
An array allocation covering newarray, anewarray, and multianewarray.
- NewArrayInstruction(SSAValue, IRType, Value) - Constructor for class com.tonic.analysis.ssa.ir.NewArrayInstruction
-
Creates a one-dimensional array allocation.
- NewArrayInstruction(SSAValue, IRType, List<Value>) - Constructor for class com.tonic.analysis.ssa.ir.NewArrayInstruction
-
Creates a multi-dimensional array allocation.
- newExpr(String) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches allocations of a specific class.
- newExpr(String, Expression...) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an allocation expression.
- NewExpr - Class in com.tonic.analysis.source.ast.expr
-
A constructor call expression - new Type(args), or outer.new Inner(args) when an enclosing instance is present.
- NewExpr(Expression, String, List<Expression>, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.NewExpr
-
Creates a constructor call, adopting the enclosing instance and arguments as children.
- NewExpr(String) - Constructor for class com.tonic.analysis.source.ast.expr.NewExpr
-
Creates a no-argument constructor call.
- NewExpr(String, List<Expression>) - Constructor for class com.tonic.analysis.source.ast.expr.NewExpr
-
Creates a constructor call typed as a reference to the instantiated class.
- NewExpr(String, List<Expression>, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.NewExpr
-
Creates a constructor call at an unknown source location.
- NewExpr(String, List<Expression>, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.NewExpr
-
Creates a constructor call with no enclosing instance.
- NewExprHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for object instantiation expressions (new).
- newInstance(String) - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches allocation of a specific class.
- newInstance(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Starts an allocation for incremental configuration.
- NewInstruction - Class in com.tonic.analysis.ssa.ir
-
An uninitialized object allocation (the new opcode, before the constructor call).
- NewInstruction(SSAValue, String) - Constructor for class com.tonic.analysis.ssa.ir.NewInstruction
-
Creates an object allocation.
- newLine() - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Writes a newline.
- newMultiArray(String, int[]) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Allocates a nested array, filling every dimension but the innermost with sub-arrays.
- newMultiArray(String, int[]) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- newObj(String, Expression...) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an object instantiation node.
- newObject(String) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Allocates an instance of a class, with every field unset.
- newObject(String) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- NewObjectInstruction - Class in com.tonic.analysis.instruction
-
Represents the NEW instruction (0xBB).
- NewObjectInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.NewObjectInstruction
-
Constructs a NewObjectInstruction.
- NewPrimitiveArrayInstruction - Class in com.tonic.analysis.instruction
-
Represents the NEWARRAY instruction (0xBC).
- NewPrimitiveArrayInstruction(int, int, int, int) - Constructor for class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
-
Constructs a NewPrimitiveArrayInstruction.
- NewPrimitiveArrayInstruction.ArrayType - Enum in com.tonic.analysis.instruction
-
The primitive element types NEWARRAY can allocate, each pairing an atype code with a description.
- newTempName() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Generates a unique temporary variable name, advancing the counter.
- newValue(IRType) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Creates a new SSA value.
- nextInstruction() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Advance to the next instruction.
- nextOffsetAfter(int) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
The smallest instruction offset strictly greater than
off, oroff + 1if none known. - nextSyntheticId() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- nextToken() - Method in class com.tonic.analysis.source.parser.Lexer
-
Consumes the next token, taking it from the lookahead buffer if one is queued.
- NIOHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the java.nio channel, buffer, and selector natives, mostly stubbed to no-ops.
- NIOHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.NIOHandlers
- NO_ESCAPE - com.tonic.analysis.simulation.heap.EscapeAnalyzer.EscapeState
-
The allocation stays confined to its allocating method, so it is a candidate for stack allocation or scalar replacement.
- NodeList<T extends ASTNode> - Class in com.tonic.analysis.source.ast
-
List of AST nodes that keeps parent links consistent: adding sets each element's parent to the owner, removing clears it.
- NodeList(ASTNode) - Constructor for class com.tonic.analysis.source.ast.NodeList
-
Creates an empty list attached to an owner.
- NodeList(ASTNode, int) - Constructor for class com.tonic.analysis.source.ast.NodeList
-
Creates an empty list attached to an owner with a backing capacity hint.
- NodeList(ASTNode, Collection<? extends T>) - Constructor for class com.tonic.analysis.source.ast.NodeList
-
Creates a list attached to an owner, adopting the given elements.
- nodes(CPGNodeType) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Streams all nodes of the given node type via the index.
- nodes(Class<T>) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Streams all nodes that are instances of the given class.
- nodeStream() - Method in class com.tonic.analysis.source.ast.NodeList
- NON_NULL - com.tonic.analysis.query.parser.Token.TokenType
-
The hyphenated word
non-null, a nullness state; the hyphen keeps it out of the identifier space. - none() - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches no expressions.
- none() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches no statements.
- NONE - com.tonic.analysis.query.ast.Condition.Quant
- NONE - com.tonic.analysis.query.ast.RunSpec.TraceMode
-
Record nothing, running with no tracing overhead at all.
- NONE - com.tonic.analysis.source.decompile.TransformPreset
-
No additional transforms - only baseline transforms are applied.
- NONE - com.tonic.analysis.source.parser.Precedence
-
No binding at all; the level reported for a token that is not an operator, which stops the parser from extending an expression.
- NONE - com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.ObjectModel
-
Computational subset only.
- nop() - Method in class com.tonic.builder.CodeBuilder
-
Appends
nop. - NOP - com.tonic.util.Opcode
-
Does nothing.
- NopInstruction - Class in com.tonic.analysis.instruction
-
Represents the NOP instruction (0x00).
- NopInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.NopInstruction
-
Constructs a NopInstruction.
- NORMAL - com.tonic.analysis.graph.print.Verbosity
-
The default; adds block bodies and groups the edge listing under type headings.
- NORMAL - com.tonic.analysis.ssa.cfg.EdgeType
-
Normal control flow edge.
- normalize(String, IdentifierNormalizer.IdentifierType) - Method in class com.tonic.analysis.source.emit.IdentifierNormalizer
-
Normalizes an identifier according to the configured mode.
- normalizeClassName(String) - Method in class com.tonic.analysis.source.emit.IdentifierNormalizer
-
Normalizes a class name in internal (slashed) or source (dotted) form.
- normalizeType(String) - Static method in class com.tonic.analysis.fingerprint.features.Level0Features
-
Collapses a type descriptor into a coarse category: O for objects, P for primitives, V for void, with one A per array dimension prefixed.
- not() - Method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Negates this matcher.
- not() - Method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Negates this matcher.
- not(PatternMatcher) - Static method in class com.tonic.analysis.pattern.Patterns
-
Negates a pattern.
- not(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a logical negation node.
- not(Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a logical NOT typed boolean.
- not(BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Negates a formula in both the BDD and NNF layers.
- Not(Condition) - Constructor for class com.tonic.analysis.query.ast.Condition.Not
-
Creates a negation.
- NOT - com.tonic.analysis.query.parser.Token.TokenType
-
The word
not, negating the condition that follows it. - NOT - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Logical negation,
!, applying to a boolean operand. - NOT_NULL - com.tonic.analysis.typeinference.Nullability
-
Value is definitely not null
- notEquals(Expression, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an inequality comparison typed boolean.
- notNull(IRType) - Static method in class com.tonic.analysis.typeinference.TypeState
-
Creates a type state for a definitely non-null value.
- NULL - com.tonic.analysis.execution.state.ValueTag
-
The null reference occupying one slot, tagged apart from
ValueTag.REFERENCEso an absent instance needs no heap object. - NULL - com.tonic.analysis.query.parser.Token.TokenType
-
The word
null, the null literal or the null state. - NULL - com.tonic.analysis.query.value.ValueKind
-
An explicit null literal, equal only to another null.
- NULL - com.tonic.analysis.source.parser.TokenType
-
The null reference literal, and the last kind isLiteral accepts.
- NULL - com.tonic.analysis.typeinference.Nullability
-
Value is definitely null
- NULL - Static variable in class com.tonic.analysis.frame.VerificationType
- NULL - Static variable in class com.tonic.analysis.typeinference.TypeState
-
Type state representing a definitely null value.
- NULL_CHECK - com.tonic.analysis.source.ast.validation.ValidationError.Category
-
A child the node requires is missing, so something downstream would dereference null.
- NULL_POINTER_EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- Nullability - Enum in com.tonic.analysis.typeinference
-
Lattice of nullability states for a value, from BOTTOM (unreachable) up to UNKNOWN.
- nullable() - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Marks the value as possibly null, the default state.
- nullable(IRType) - Static method in class com.tonic.analysis.typeinference.TypeState
-
Creates a type state whose nullability is unknown.
- nullCheck() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches null comparisons in branches.
- nullCheck(String, ASTNode) - Static method in class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates a NULL_CHECK error.
- NullCheckElimination - Class in com.tonic.analysis.ssa.transform
-
Null Check Elimination optimization transform.
- NullCheckElimination() - Constructor for class com.tonic.analysis.ssa.transform.NullCheckElimination
- NullConstant - Class in com.tonic.analysis.ssa.value
-
Represents the null constant.
- nullLit() - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a null literal node.
- nullLiteral() - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a null literal.
- nullRef() - Static method in class com.tonic.analysis.execution.state.ConcreteValue
- NUMBER - com.tonic.analysis.query.parser.Token.TokenType
-
A numeric literal, possibly signed or fractional; underscore separators are stripped from the value.
- NUMBER - Static variable in class com.tonic.util.CommonTypes
O
- object(int) - Static method in class com.tonic.analysis.frame.VerificationType
-
Creates an Object verification type with the given constant pool index.
- object(String, int) - Static method in class com.tonic.analysis.frame.VerificationType
-
Creates an Object verification type for a class name.
- OBJECT - com.tonic.util.DescriptorUtil.DescriptorCategory
-
A class or interface reference, written
Lpkg/Name;. - OBJECT - Static variable in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- OBJECT - Static variable in class com.tonic.analysis.ssa.type.ReferenceType
- OBJECT - Static variable in class com.tonic.type.TypeDescriptor
- OBJECT - Static variable in class com.tonic.util.CommonTypes
- OBJECT_ALLOC - com.tonic.analysis.execution.listener.TraceEvent.Type
-
An object was allocated on the interpreter heap, carrying its class and the heap id assigned to it.
- OBJECT_ARRAY_DESC - Static variable in class com.tonic.util.CommonTypes
- OBJECT_DESC - Static variable in class com.tonic.util.CommonTypes
- OBJECT_METHODS - Static variable in class com.tonic.analysis.BootstrapFamilies
-
Internal name of
ObjectMethods, the record-component bootstrap owner (Java 16+). - objectAllocation(String, int) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates an object-allocation event.
- objectCount() - Method in interface com.tonic.analysis.execution.heap.HeapManager
- objectCount() - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
- ObjectInstance - Class in com.tonic.analysis.execution.heap
-
A simulated heap object identified by id, holding fields keyed by owner, name, and descriptor.
- ObjectInstance(int, String) - Constructor for class com.tonic.analysis.execution.heap.ObjectInstance
-
Creates an object with no fields set.
- objectModel(LlvmLoweringConfig.ObjectModel) - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.Builder
-
Sets how the object/reference/runtime model is lowered.
- OBJECTS - com.tonic.analysis.query.ast.Target
-
Each row is an object allocated during the run, written
objects. - OBJECTS - com.tonic.analysis.query.parser.Token.TokenType
-
The target word
objects, making allocated objects the result rows. - ObjectType(int) - Constructor for class com.tonic.analysis.frame.VerificationType.ObjectType
- ObjectType(int, String) - Constructor for class com.tonic.analysis.frame.VerificationType.ObjectType
- objectVar(String, String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a reference-typed variable reference node.
- of(boolean) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a flag, reusing the two shared instances.
- of(double) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a floating point number.
- of(double) - Static method in class com.tonic.analysis.ssa.value.DoubleConstant
-
Creates a double constant, using cached instances for common values.
- of(float) - Static method in class com.tonic.analysis.ssa.value.FloatConstant
-
Creates a float constant, using cached instances for common values.
- of(int) - Static method in class com.tonic.analysis.ssa.value.IntConstant
-
Creates an integer constant, using cached instances for common values.
- of(int, int) - Static method in class com.tonic.analysis.source.parser.SourcePosition
-
Creates a position with no character offset.
- of(int, int, int) - Static method in class com.tonic.analysis.source.parser.SourcePosition
-
Creates a position with a known character offset.
- of(int, List<Statement>) - Static method in class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Creates a case with a single integer label.
- of(long) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a whole number.
- of(long) - Static method in class com.tonic.analysis.ssa.value.LongConstant
-
Creates a long constant, using cached instances for common values.
- of(StackState, LocalState) - Static method in class com.tonic.analysis.simulation.core.SimulationState
-
Create state with specific stack and locals.
- of(ASTNode, T...) - Static method in class com.tonic.analysis.source.ast.NodeList
-
Creates a list of the given elements attached to an owner.
- of(SourceType, String, Statement) - Static method in class com.tonic.analysis.source.ast.stmt.CatchClause
-
Creates a catch clause with a single exception type.
- of(SourceType, List<Expression>) - Static method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
-
Creates an initializer typed as an array of the given element type.
- of(TokenType) - Static method in enum com.tonic.analysis.source.parser.Precedence
-
Maps an operator token to the precedence at which it binds.
- of(String) - Static method in class com.tonic.analysis.instrumentation.filter.PackageFilter
-
Creates a filter for a package and all its subpackages.
- of(String) - Static method in class com.tonic.analysis.query.ast.Step
-
Creates an unindexed step.
- of(String) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a string, mapping null onto the null value rather than failing.
- of(String) - Static method in class com.tonic.builder.AnnotationBuilder
-
Starts a standalone annotation of the given type.
- of(String) - Static method in class com.tonic.parser.util.TypeInfo
-
Parses a field descriptor, returning the shared instance for primitives.
- of(String, int, String) - Static method in class com.tonic.analysis.simulation.heap.AllocationSite
-
Creates a site for an allocation seen in analysed code.
- of(String, String, String) - Static method in class com.tonic.analysis.simulation.heap.FieldKey
-
Creates a key for one field.
- of(List<SimValue>) - Static method in class com.tonic.analysis.simulation.state.StackState
-
Creates a stack preloaded with slots.
- of(List<Integer>, List<Statement>) - Static method in class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Creates a case with multiple integer labels sharing one body.
- of(Map<Integer, SimValue>) - Static method in class com.tonic.analysis.simulation.state.LocalState
-
Creates a state from an explicit slot map, taking the highest key as the maximum slot.
- OF - com.tonic.analysis.query.parser.Token.TokenType
-
The word
of, tying a<clinit>scope to the classes it should be taken over. - ofAllocation(AllocationSite, IRType, IRInstruction) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Creates a definitely non-null reference pointing at one allocation site.
- ofBoolean(boolean) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a boolean literal.
- ofChar(char) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a char literal.
- ofDouble(double) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a double literal.
- ofExpressions(List<Expression>, List<Statement>) - Static method in class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Creates a case keyed by expression labels, as used for enum switches.
- ofFloat(float) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a float literal.
- ofInt(int) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates an int literal.
- ofLong(long) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a long literal.
- ofNull() - Static method in interface com.tonic.analysis.query.value.Value
- ofNull() - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a null literal typed as Object.
- ofNull(IRType, IRInstruction) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Creates a definitely null reference with an empty points-to set.
- ofReference(IRType, IRInstruction, Set<AllocationSite>, SimValue.NullState) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Creates a reference with a caller-supplied points-to set and null state.
- ofRegex(Pattern) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a compiled pattern for use as the right-hand side of a match.
- ofSet(List<Value>) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a member list for use as the right-hand side of a membership test.
- ofString(String) - Static method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Creates a String literal.
- ofType(IRType, IRInstruction) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Creates a value carrying only type information.
- ofType(Class<? extends Expression>) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches any expression of a specific node type.
- ofType(Class<? extends Statement>) - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches any statement of a specific type.
- ofType(String) - Static method in class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a filter matching fields of a specific type.
- ofType(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Restricts this hook to fields of one type.
- ofType(String) - Static method in interface com.tonic.analysis.query.value.Value
-
Wraps a type reference.
- on(Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Makes the call an instance call on the given receiver, inferring the owner from a field access or defaulting it to java/lang/Object for a variable.
- on(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Makes the call a static call on the given class, dropping any receiver.
- onAfterInstruction(IRInstruction, SimulationState, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onAfterInstruction(IRInstruction, SimulationState, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called after executing an instruction.
- onAfterInstruction(IRInstruction, SimulationState, SimulationState) - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- onAlias(SimValue, SimValue, boolean) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an aliasing relationship is detected.
- onAllocation(NewInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- onAllocation(NewInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onAllocation(NewInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a new object is allocated.
- onAnyExpr(ExpressionHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for every expression in the body.
- onAnyStmt(StatementHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that sees every statement.
- onArrayAccess(ArrayAccessHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for array access expressions.
- onArrayAccess(ArrayAccessHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for array accesses, reads and stores alike.
- onArrayAllocated(AllocationSite, SimValue, SimValue) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an array is allocated on the simulation heap.
- onArrayAllocation(ArrayInstance) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when an array is allocated on the heap.
- onArrayAllocation(ArrayInstance) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onArrayAllocation(ArrayInstance) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- onArrayAllocation(ArrayInstance) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onArrayAllocation(NewArrayInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- onArrayAllocation(NewArrayInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onArrayAllocation(NewArrayInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a new array is allocated.
- onArrayLoad() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onArrayRead(ArrayInstance, int, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when an array element is read.
- onArrayRead(ArrayInstance, int, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onArrayRead(ArrayInstance, int, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onArrayRead(ArrayAccessHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for array read operations only.
- onArrayRead(ArrayAccessHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for array reads only.
- onArrayRead(ArrayAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onArrayRead(ArrayAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- onArrayRead(ArrayAccessInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an array element is read.
- onArrayStore() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onArrayStore(ArrayAccessHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for array store operations only.
- onArrayStore(ArrayAccessHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for array stores only.
- onArrayWrite(ArrayInstance, int, ConcreteValue, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when an array element is written.
- onArrayWrite(ArrayInstance, int, ConcreteValue, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onArrayWrite(ArrayInstance, int, ConcreteValue, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onArrayWrite(ArrayAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onArrayWrite(ArrayAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- onArrayWrite(ArrayAccessInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an array element is written.
- onAssignment(AssignmentHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for assignment expressions.
- onAssignment(AssignmentHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for assignment statements.
- onBeforeInstruction(IRInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onBeforeInstruction(IRInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onBeforeInstruction(IRInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called before executing an instruction.
- onBinaryExpr(BinaryExprHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for binary expressions.
- onBinaryExpr(BinaryExprHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for binary expressions.
- onBlockEntry(IRBlock, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onBlockEntry(IRBlock, SimulationState) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onBlockEntry(IRBlock, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when entering a block.
- onBlockExit(IRBlock, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onBlockExit(IRBlock, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when exiting a block.
- onBranch(StackFrame, int, int, boolean) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a branch instruction is decided.
- onBranch(StackFrame, int, int, boolean) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onBranch(StackFrame, int, int, boolean) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- onBranch(StackFrame, int, int, boolean) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onBranch(BranchInstruction, boolean, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onBranch(BranchInstruction, boolean, SimulationState) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onBranch(BranchInstruction, boolean, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a branch instruction is encountered.
- onBreakpointHit(DebugSession, Breakpoint) - Method in interface com.tonic.analysis.execution.debug.DebugEventListener
-
Fired when execution stops at a breakpoint.
- onCast(CastHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for cast expressions.
- onCast(CastHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for cast expressions.
- onComplete(int) - Method in interface com.tonic.analysis.query.exec.QueryBatchRunner.ProgressListener
-
Fired once the run has finished, including when it stopped early.
- ONE - Static variable in class com.tonic.analysis.ssa.value.DoubleConstant
- ONE - Static variable in class com.tonic.analysis.ssa.value.FloatConstant
- ONE - Static variable in class com.tonic.analysis.ssa.value.IntConstant
- ONE - Static variable in class com.tonic.analysis.ssa.value.LongConstant
- onError(ParseException) - Method in class com.tonic.analysis.source.parser.ParseErrorListener.CollectingErrorListener
-
Appends the error to the internal list.
- onError(ParseException) - Method in interface com.tonic.analysis.source.parser.ParseErrorListener
-
Reports one error encountered while parsing.
- onException() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onException(DebugSession, ObjectInstance) - Method in interface com.tonic.analysis.execution.debug.DebugEventListener
-
Fired when an exception is raised inside the debugged code.
- onException(StackFrame, ObjectInstance) - Method in class com.tonic.analysis.execution.debug.AbstractInterceptor
- onException(StackFrame, ObjectInstance) - Method in interface com.tonic.analysis.execution.debug.InstructionInterceptor
-
Called when an exception is raised in a frame.
- onException(SimpleInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onException(SimpleInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onException(SimpleInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an exception is thrown.
- onExceptionCatch(StackFrame, ObjectInstance, int) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when an exception is caught by a handler.
- onExceptionCatch(StackFrame, ObjectInstance, int) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onExceptionCatch(StackFrame, ObjectInstance, int) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onExceptionThrow(StackFrame, ObjectInstance) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when an exception is thrown.
- onExceptionThrow(StackFrame, ObjectInstance) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onExceptionThrow(StackFrame, ObjectInstance) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onExecutionEnd(BytecodeResult) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called once after execution finishes, normally or otherwise.
- onExecutionEnd(BytecodeResult) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onExecutionEnd(BytecodeResult) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onExecutionStart(MethodEntry) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called once before the entry point runs.
- onExecutionStart(MethodEntry) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onExecutionStart(MethodEntry) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onExpr(ExprMatcher, ExpressionHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for expressions matching the given matcher.
- onExpr(ExprMatcher, ExpressionHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for the expressions a matcher selects.
- onFieldAccess(FieldAccessHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for field access expressions.
- onFieldAccess(FieldAccessHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for field access expressions.
- onFieldRead() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onFieldRead(ObjectInstance, String, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a field is read.
- onFieldRead(ObjectInstance, String, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onFieldRead(ObjectInstance, String, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onFieldRead(FieldAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onFieldRead(FieldAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- onFieldRead(FieldAccessInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a field is read.
- onFieldWrite() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onFieldWrite(ObjectInstance, String, ConcreteValue, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a field is written.
- onFieldWrite(ObjectInstance, String, ConcreteValue, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onFieldWrite(ObjectInstance, String, ConcreteValue, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onFieldWrite(FieldAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onFieldWrite(FieldAccessInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- onFieldWrite(FieldAccessInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a field is written.
- onFrameException(StackFrame, ObjectInstance) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a frame is unwound by an exception.
- onFrameException(StackFrame, ObjectInstance) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onFrameException(StackFrame, ObjectInstance) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onFramePop(StackFrame, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a frame is popped after returning normally.
- onFramePop(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onFramePop(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- onFramePop(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onFramePush(StackFrame) - Method in class com.tonic.analysis.execution.listener.AbstractBytecodeListener
- onFramePush(StackFrame) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a frame is pushed onto the call stack.
- onFramePush(StackFrame) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onFramePush(StackFrame) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- onFramePush(StackFrame) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onHeapArrayLoad(SimValue, SimValue, Set<SimValue>) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an array element is loaded from the simulation heap.
- onHeapArrayStore(SimValue, SimValue, SimValue) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an array element is stored on the simulation heap.
- onHeapFieldRead(SimValue, FieldKey, Set<SimValue>) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a field is read from the simulation heap.
- onHeapFieldWrite(SimValue, FieldKey, SimValue) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a field is written on the simulation heap.
- onIf(IfHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for if statements.
- onIf(IfHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for if statements.
- onInstanceOf(InstanceOfHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for instanceof expressions.
- onInstanceOf(InstanceOfHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for instanceof expressions.
- onLocalLoad(StackFrame, int, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a local variable is read.
- onLocalLoad(StackFrame, int, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onLocalLoad(StackFrame, int, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onLocalStore(StackFrame, int, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a local variable is written.
- onLocalStore(StackFrame, int, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onLocalStore(StackFrame, int, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onLoop(LoopHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for loop statements (for, while, do-while, for-each).
- onLoop(LoopHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for for, while, do-while and for-each statements.
- onMethodCall() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onMethodCall(StackFrame, MethodEntry, ConcreteValue[]) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a method is invoked, before its frame is pushed.
- onMethodCall(StackFrame, MethodEntry, ConcreteValue[]) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onMethodCall(StackFrame, MethodEntry, ConcreteValue[]) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- onMethodCall(StackFrame, MethodEntry, ConcreteValue[]) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onMethodCall(MethodCallHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for method call expressions.
- onMethodCall(MethodCallHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for method call expressions.
- onMethodCall(InvokeInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onMethodCall(InvokeInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- onMethodCall(InvokeInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a method is invoked.
- onMethodEntry() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onMethodEntry(StackFrame) - Method in class com.tonic.analysis.execution.debug.AbstractInterceptor
- onMethodEntry(StackFrame) - Method in interface com.tonic.analysis.execution.debug.InstructionInterceptor
-
Called when a frame has been pushed and is about to run.
- onMethodExit() - Method in class com.tonic.analysis.instrumentation.Instrumenter
- onMethodExit(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.debug.AbstractInterceptor
- onMethodExit(StackFrame, ConcreteValue) - Method in interface com.tonic.analysis.execution.debug.InstructionInterceptor
-
Called when a frame returns normally.
- onMethodReturn(StackFrame, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a return instruction executes.
- onMethodReturn(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onMethodReturn(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onMethodReturn(ReturnInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onMethodReturn(ReturnInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onMethodReturn(ReturnInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a method returns.
- onMonitorEnter(SimpleInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onMonitorEnter(SimpleInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a monitor is entered.
- onMonitorExit(SimpleInstruction, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onMonitorExit(SimpleInstruction, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a monitor is exited.
- onNativeMethodCall(MethodEntry, ObjectInstance, ConcreteValue[]) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a call is dispatched to a native or emulated method instead of interpreted.
- onNativeMethodCall(MethodEntry, ObjectInstance, ConcreteValue[]) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onNativeMethodCall(MethodEntry, ObjectInstance, ConcreteValue[]) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onNativeMethodReturn(MethodEntry, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a native or emulated method produces its result.
- onNativeMethodReturn(MethodEntry, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onNativeMethodReturn(MethodEntry, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onNewArray(NewArrayHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for new array expressions.
- onNewArray(NewArrayHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for array allocation expressions.
- onNewExpr(NewExprHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for new object expressions.
- onNewExpr(NewExprHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for object allocation expressions.
- onObjectAllocated(AllocationSite, SimValue) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an object is allocated on the simulation heap.
- onObjectAllocation(ObjectInstance) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when an object is allocated on the heap.
- onObjectAllocation(ObjectInstance) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onObjectAllocation(ObjectInstance) - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- onObjectAllocation(ObjectInstance) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onObjectEscaped(AllocationSite, EscapeAnalyzer.EscapeState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when an object escapes its allocation scope.
- onPhaseStart(String, int) - Method in interface com.tonic.analysis.query.exec.QueryBatchRunner.ProgressListener
-
Fired when a phase begins and its workload is known.
- onProgress(int, int, String) - Method in interface com.tonic.analysis.query.exec.QueryBatchRunner.ProgressListener
-
Fired periodically as items are processed, not once per item.
- onReturn(ReturnHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for return statements.
- onReturn(ReturnHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for return statements.
- onSessionStart(DebugSession) - Method in interface com.tonic.analysis.execution.debug.DebugEventListener
-
Fired once the session is ready to run.
- onSessionStop(DebugSession, BytecodeResult) - Method in interface com.tonic.analysis.execution.debug.DebugEventListener
-
Fired when the session finishes or is terminated.
- onSimulationEnd(IRMethod, SimulationResult) - Method in class com.tonic.analysis.simulation.listener.AbstractListener
- onSimulationEnd(IRMethod, SimulationResult) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onSimulationEnd(IRMethod, SimulationResult) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when simulation ends.
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.AbstractListener
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- onSimulationStart(IRMethod) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when simulation starts.
- onSimulationStart(IRMethod) - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- onStackPop(StackFrame, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a value is popped off an operand stack.
- onStackPop(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onStackPop(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onStackPop(SimValue, IRInstruction) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onStackPop(SimValue, IRInstruction) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a value is popped from the stack.
- onStackPop(SimValue, IRInstruction) - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- onStackPush(StackFrame, ConcreteValue) - Method in interface com.tonic.analysis.execution.listener.BytecodeListener
-
Called when a value is pushed onto an operand stack.
- onStackPush(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- onStackPush(StackFrame, ConcreteValue) - Method in class com.tonic.analysis.execution.listener.TracingListener
- onStackPush(SimValue, IRInstruction) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onStackPush(SimValue, IRInstruction) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a value is pushed onto the stack.
- onStackPush(SimValue, IRInstruction) - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- onStateChange(DebugSession, DebugSessionState, DebugSessionState) - Method in interface com.tonic.analysis.execution.debug.DebugEventListener
-
Fired on every session state transition.
- onStepComplete(DebugSession, DebugState) - Method in interface com.tonic.analysis.execution.debug.DebugEventListener
-
Fired after a step request has run to its stopping point.
- onStmt(StmtMatcher, StatementHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for statements matching the given matcher.
- onStmt(StmtMatcher, StatementHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for the statements a matcher accepts.
- onSwitch(SwitchInstruction, int, SimulationState) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
- onSwitch(SwitchInstruction, int, SimulationState) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- onSwitch(SwitchInstruction, int, SimulationState) - Method in interface com.tonic.analysis.simulation.listener.SimulationListener
-
Called when a switch instruction is encountered.
- onThrow(ThrowHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for throw statements.
- onThrow(ThrowHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for throw statements.
- onTryCatch(TryCatchHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for try-catch statements.
- onTryCatch(TryCatchHandler) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler for try-catch statements.
- onUnaryExpr(UnaryExprHandler) - Method in class com.tonic.analysis.source.editor.ASTEditor
-
Registers a handler for unary expressions.
- onUnaryExpr(UnaryExprHandler) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Registers a handler for unary expressions.
- op() - Method in class com.tonic.analysis.query.ast.Condition.Comparison
- op() - Method in class com.tonic.analysis.query.ast.Condition.Count
- Opcode - Enum in com.tonic.util
-
Enum representing all JVM opcodes as per Java 11 Specification.
- OPCODE_SEQUENCE - com.tonic.analysis.similarity.SimilarityMetric
-
Compares opcode sequences while ignoring operands, so constant and index changes do not break a match; weighted 0.8.
- OpcodeDispatcher - Class in com.tonic.analysis.execution.dispatch
-
Interpreter core that executes one bytecode instruction per call against a frame, deferring invokes, field access, and allocation to the dispatch context.
- OpcodeDispatcher() - Constructor for class com.tonic.analysis.execution.dispatch.OpcodeDispatcher
- OpcodeDispatcher.DispatchResult - Enum in com.tonic.analysis.execution.dispatch
-
Outcome of a dispatch step, directing the interpreter's next action.
- OPEN_REDIRECT - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data chooses a redirect destination, sending users to an attacker-controlled site.
- Opens - Class in com.tonic.parser.attribute.module
-
One opens directive of a Module attribute.
- Opens(ConstPool, int, int, List<Integer>) - Constructor for class com.tonic.parser.attribute.module.Opens
-
Creates an opens entry from its raw constant pool indices.
- operand() - Method in class com.tonic.analysis.query.ast.Condition.Comparison
- operand() - Method in class com.tonic.analysis.query.ast.Condition.Count
- Operand - Interface in com.tonic.analysis.query.ast
-
The right-hand side of a
Condition.Comparison. - OPERAND - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value consumed as an operand of a computation, such as an arithmetic or comparison instruction.
- Operand.Literal - Class in com.tonic.analysis.query.ast
- Operand.Ref - Class in com.tonic.analysis.query.ast
- operandInlinesSideEffect(Value) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
True when recovering
valueas an operand would inline an allocation or call - a side effect that must not be duplicated by re-emitting the expression. - operandMayThrowInline(Value) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
True when recovering
valueas an operand would inline an operation that can throw at runtime. - operandStack(StackSnapshot) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- OperandValidator - Class in com.tonic.analysis.verifier.structural
-
Verifier pass that checks each instruction's constant pool operand points at an entry of the kind the opcode requires.
- OperandValidator(ConstPool) - Constructor for class com.tonic.analysis.verifier.structural.OperandValidator
-
Creates a validator bound to the pool that operands are resolved against.
- Operator - Enum in com.tonic.analysis.query.value
-
The comparison and relation vocabulary of the query DSL.
- OperatorMapper - Class in com.tonic.analysis.source.recovery
-
Maps IR operators to source-level operators.
- optimizeAndLower(IRMethod, MethodEntry) - Method in class com.tonic.analysis.ssa.SSA
-
Optimizes an IR method and lowers it back to bytecode.
- optimizeSSA(CodeWriter) - Static method in class com.tonic.analysis.ssa.SSABridge
-
Lifts to SSA, runs the standard optimizations, and lowers back to bytecode.
- or(PatternMatcher...) - Static method in class com.tonic.analysis.pattern.Patterns
-
Combines patterns with OR logic.
- or(StaticFilter) - Method in interface com.tonic.analysis.query.planner.filter.StaticFilter
-
Combines this filter with another, keeping what either accepts.
- or(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a logical OR node.
- or(Expression, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a logical OR expression typed boolean.
- or(ExprMatcher) - Method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Combines this matcher with another using OR logic.
- or(StmtMatcher) - Method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Combines this matcher with another using OR logic.
- or(BoolFormula, BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Disjoins two formulas in both the BDD and NNF layers.
- Or(List<Condition>) - Constructor for class com.tonic.analysis.query.ast.Condition.Or
-
Creates a disjunction over a defensive copy of the terms.
- OR - com.tonic.analysis.query.parser.Token.TokenType
-
The word
or, disjoining condition terms. - OR - com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter.Op
- OR - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Short-circuiting logical or,
||; the right operand is skipped when the left is true. - OR - com.tonic.analysis.source.parser.Precedence
-
The level of the short-circuiting
||, the loosest binary operator. - OR - com.tonic.analysis.ssa.ir.BinaryOp
-
Bitwise OR.
- ORDER - com.tonic.analysis.query.parser.Token.TokenType
-
The word
order, the first half oforder by. - orderBy() - Method in class com.tonic.analysis.query.ast.FindQuery
- orderBy() - Method in interface com.tonic.analysis.query.ast.Query
- orderBy() - Method in class com.tonic.analysis.query.ast.ShowQuery
- OrderBy - Class in com.tonic.analysis.query.ast
-
Ordering clause for query results: a sort key and a direction.
- OrderBy(String, boolean) - Constructor for class com.tonic.analysis.query.ast.OrderBy
-
Creates an ordering clause.
- ordinalByName(ClassPool, String, String) - Static method in class com.tonic.analysis.source.recovery.EnumConstants
-
Looks up the declaration position of a named enum constant.
- originalQuery() - Method in class com.tonic.analysis.query.planner.ProbePlan
- out(CPGEdgeType...) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Steps along outgoing edges to their targets.
- overflowed() - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Reports whether the BDD node budget was exceeded, after which callers must emit from the NNF layer only.
- owner(String) - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Sets the hook class internal name.
- owner(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Overrides the declaring class without changing the receiver.
- ownerMatches(String) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only nodes whose owner or target owner property matches a regex.
- ownerPattern(String) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- ownerPattern(String) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
P
- PACKAGE - com.tonic.analysis.source.parser.TokenType
-
Introduces the package declaration at the head of a compilation unit.
- PackageFilter - Class in com.tonic.analysis.instrumentation.filter
-
Instrumentation filter matching classes by package prefix.
- PackageFilter(String) - Constructor for class com.tonic.analysis.instrumentation.filter.PackageFilter
-
Creates a package filter.
- PackageFilter(String, boolean) - Constructor for class com.tonic.analysis.instrumentation.filter.PackageFilter
-
Creates a package filter.
- PackageItem - Class in com.tonic.parser.constpool
-
Represents a CONSTANT_Package entry in the constant pool.
- PackageItem() - Constructor for class com.tonic.parser.constpool.PackageItem
- PARAM - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value arriving from the caller, the primary taint entry point into a method.
- PARAM - com.tonic.analysis.query.eval.SubjectKind
-
A parameter declared in a method signature, the callee-side counterpart of
SubjectKind.ARG. - PARAM_IN - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Binds an argument at a call site to the callee's matching formal parameter.
- PARAM_OUT - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Binds the callee's returned value back to the call site that receives it.
- PARAMETER - com.tonic.analysis.cpg.node.CPGNodeType
-
A formal parameter of the method, live from entry rather than assigned by a body instruction.
- PARAMETER - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
A specific parameter by index
- PARAMETER_IN - com.tonic.analysis.pdg.edge.PDGDependenceType
-
Binds an argument at a call site to the callee's matching formal parameter; counted as neither control nor data dependence.
- PARAMETER_OUT - com.tonic.analysis.pdg.edge.PDGDependenceType
-
Binds the callee's returned value back to the call site that receives it.
- PARAMETER_TYPE - com.tonic.analysis.dependency.DependencyType
-
Method parameter type
- ParameterDecl - Class in com.tonic.analysis.source.ast.decl
-
A method or constructor parameter in the source AST, carrying its type, annotations, and the final and varargs flags.
- ParameterDecl(String, SourceType) - Constructor for class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Creates a parameter with no source position.
- ParameterDecl(String, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Creates a parameter that is neither final nor varargs and has no annotations.
- parameterIndexForSlot(int) - Method in class com.tonic.analysis.source.recovery.MethodLocals
-
The zero-based parameter index for a parameter start
slot(receiver excluded). - parameterIndexForSlot(int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
The zero-based parameter index of a parameter slot, with the receiver excluded from the numbering.
- parameterIndices(List<Integer>) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets the individual parameter positions to pass, boxed when primitive.
- parameters(List<HookDescriptor.HookParameter>) - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Sets the parameters to pass to the hook method.
- PARAMETERS_ONLY - com.tonic.analysis.source.recovery.NameRecoveryStrategy
-
Debug info for parameters only, synthetic for locals
- parameterSlot(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- parameterSlotCount() - Method in class com.tonic.analysis.source.recovery.MethodLocals
- ParamSubject(MethodEntry, int, String, EvalContext) - Constructor for class com.tonic.analysis.query.eval.Subject.ParamSubject
-
Binds the cursor to a declared parameter.
- paramTypesFromDescriptor(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Parses the parameter types of a method descriptor.
- parse(byte[], ConstPool) - Static method in class com.tonic.analysis.instruction.InstructionFactory
-
Parses a method body into its instructions, in offset order.
- parse(Reader) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Reads a stream fully and parses it as a source file.
- parse(String) - Method in class com.tonic.analysis.query.exec.QueryService
-
Parses query text into its syntax tree.
- parse(String) - Static method in class com.tonic.analysis.query.parser.ConditionParser
-
Parses a complete standalone expression string, requiring the whole input be consumed.
- parse(String) - Method in class com.tonic.analysis.query.parser.QueryParser
-
Lexes and parses a whole query, requiring the input to be fully consumed.
- parse(String) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Parses a whole source file.
- parse(String) - Static method in class com.tonic.type.TypeDescriptor
-
Parses a field or method descriptor, returning a shared instance for primitives.
- parseBlock(String) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Parses a block, wrapping the text in braces first if it has none.
- parseCompilationUnit() - Method in class com.tonic.analysis.source.parser.Parser
-
Parses a whole file: optional package declaration, imports, then type declarations.
- parseDescriptorParameters(String) - Static method in class com.tonic.parser.constpool.structure.InvokeParameterUtil
-
Parses the method descriptor to count the number of parameters.
- parseDescriptorReturnType(String) - Static method in class com.tonic.parser.constpool.structure.InvokeParameterUtil
-
Parses the method descriptor to extract the return type.
- parseEnumClassFromFieldName(String) - Static method in class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
-
Recovers the enum's internal name from a $SwitchMap$ field name, treating a segment that starts with an upper-case letter as a nested class rather than a package part.
- ParseErrorListener - Interface in com.tonic.analysis.source.parser
-
Callback the parser reports each error to, with factories for the throwing, collecting, logging and silent policies.
- ParseErrorListener.CollectingErrorListener - Class in com.tonic.analysis.source.parser
- ParseException - Exception in com.tonic.analysis.query.parser
-
Exception thrown when query parsing fails.
- ParseException - Exception in com.tonic.analysis.source.parser
-
Unchecked failure to parse Java source, carrying the offending position and, when available, the source text so the message can show the line with a caret.
- ParseException(String, int) - Constructor for exception com.tonic.analysis.query.parser.ParseException
-
Creates a parse failure; the position is appended to the message.
- ParseException(String, SourcePosition) - Constructor for exception com.tonic.analysis.source.parser.ParseException
-
Creates a failure with no source text, so the message carries only the position.
- ParseException(String, SourcePosition, String) - Constructor for exception com.tonic.analysis.source.parser.ParseException
-
Creates a failure with source text for context rendering.
- ParseException(String, Token) - Constructor for exception com.tonic.analysis.source.parser.ParseException
-
Creates a failure positioned at a token, with no source text.
- ParseException(String, Token, String) - Constructor for exception com.tonic.analysis.source.parser.ParseException
-
Creates a failure positioned at a token, with source text for context rendering.
- parseExpression() - Method in class com.tonic.analysis.query.parser.ConditionParser
-
Parses one condition from the current position, stopping at the first token the grammar cannot continue with.
- parseExpression() - Method in class com.tonic.analysis.source.parser.Parser
-
Parses a single expression, assignment included.
- parseExpression(String) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Parses a single expression.
- parseFile(File) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Reads a UTF-8 file and parses it as a source file.
- parseFile(Path) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Reads a UTF-8 file and parses it as a source file.
- parseParameterDescriptors(String) - Static method in class com.tonic.util.DescriptorUtil
-
Parses the parameter descriptors from a method descriptor.
- Parser - Class in com.tonic.analysis.source.parser
-
Recursive-descent parser over a Lexer token stream, tracking a scope stack so declared variable types are known while parsing expressions.
- Parser(Lexer, String) - Constructor for class com.tonic.analysis.source.parser.Parser
-
Creates a parser that throws on the first parse error.
- Parser(Lexer, String, ParseErrorListener) - Constructor for class com.tonic.analysis.source.parser.Parser
-
Creates a parser and reads the first token.
- parseRecipe(String) - Method in class com.tonic.analysis.execution.invoke.StringConcatHandler
-
Renders a recipe readably, replacing tag characters with {arg} and {const} markers.
- ParseResult(TypeInfo, int) - Constructor for class com.tonic.parser.util.DescriptorParser.ParseResult
- parseReturnDescriptor(String) - Static method in class com.tonic.util.DescriptorUtil
-
Parses the return type descriptor from a method descriptor.
- parseStatement() - Method in class com.tonic.analysis.source.parser.Parser
-
Parses a single statement.
- parseStatement(String) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Parses a single statement.
- parseType() - Method in class com.tonic.analysis.source.parser.Parser
-
Parses a type reference, including array and generic forms.
- parseType(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Parses a type from a string representation.
- parseType(String) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Parses a type reference.
- parseTypeAt(String, int) - Static method in class com.tonic.parser.util.DescriptorParser
-
Parses the single type starting at an offset, recursing through array dimensions.
- passAllParameters(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets whether all parameters are passed as one Object array.
- passArguments(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the call arguments are passed to the hook as an object array.
- passArray(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets whether the array reference is passed to the hook.
- passArray(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets whether the array reference is passed to the hook.
- passClassName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets whether the enclosing class name is passed to the hook.
- passClassName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets whether the instrumented class's name is passed to the hook.
- passClassName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether the enclosing class name is passed to the hook.
- passException(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets whether the exception object is passed to the hook.
- passFieldName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets whether the field name is passed to the hook.
- passFieldName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether the field name is passed to the hook.
- passIndex(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets whether the array index is passed to the hook.
- passIndex(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets whether the array index is passed to the hook.
- passMethodName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets whether the enclosing method name is passed to the hook.
- passMethodName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the intercepted method name is passed to the hook.
- passMethodName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets whether the instrumented method's name is passed to the hook.
- passMethodName(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether the enclosing method name is passed to the hook.
- passNewValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether the value being written is passed to the hook.
- passOldValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether the previous field value is read and passed to the hook.
- passOwner(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets whether the field's owning object is passed to the hook.
- passOwner(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets whether the owning object is passed to the hook.
- passReadValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets whether the value that was read is passed to the hook.
- passReceiver(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the call receiver is passed to the hook.
- passResult(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets whether the call result is passed to the hook; only meaningful for after-hooks.
- passReturnValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether the returned value is passed to the hook.
- passThis(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets whether the receiver is passed to the hook, null for static methods.
- passThis(boolean) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets whether the
thisreference is passed to the hook. - passValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets whether the loaded value is passed to the hook.
- passValue(boolean) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets whether the stored value is passed to the hook.
- path(List<CPGNode>) - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Replaces the accumulated hops with the given sequence.
- PATH_DOES_NOT_RETURN - com.tonic.analysis.verifier.VerificationErrorType
-
A reachable path reaches its end without a return or throw to terminate the method.
- PATH_TRAVERSAL - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data reaches a file path, letting the target escape its intended directory.
- PathMetrics - Class in com.tonic.analysis.simulation.metrics
-
Immutable snapshot of the control-flow statistics gathered during a simulation.
- PathQuery - Class in com.tonic.analysis.simulation.query
-
Reachability and path-enumeration queries over the control flow graph a simulation covered.
- PATHS - com.tonic.analysis.query.ast.Target
-
Each row is an execution path rather than a single entity, written
paths. - PATHS - com.tonic.analysis.query.parser.Token.TokenType
-
The target word
paths, making execution paths the result rows. - pathTraversal() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- pattern() - Method in class com.tonic.analysis.query.ast.ClassScope
- pattern() - Method in class com.tonic.analysis.query.ast.MethodScope
- PatternFilter - Class in com.tonic.analysis.query.planner.filter
-
Static filter keeping classes and methods whose names match a regex, tested with both full match and substring find.
- PatternInstanceOfDesugar - Class in com.tonic.analysis.source.ast.transform
-
Desugars pattern-matching
instanceof(Java 16) for the source-to-bytecode front end. - PatternInstanceOfDesugar() - Constructor for class com.tonic.analysis.source.ast.transform.PatternInstanceOfDesugar
- PatternInstanceOfReconstructor - Class in com.tonic.analysis.source.ast.transform
-
Reconstructs pattern-matching
instanceof(Java 16) from the classic bytecode idiom. - PatternInstanceOfReconstructor() - Constructor for class com.tonic.analysis.source.ast.transform.PatternInstanceOfReconstructor
- PatternMatcher - Interface in com.tonic.analysis.pattern
-
Functional interface for pattern matching on IR instructions.
- Patterns - Class in com.tonic.analysis.pattern
-
Factory for common pattern matchers.
- PatternSearch - Class in com.tonic.analysis.pattern
-
Fluent search API over a ClassPool for code patterns, optionally backed by call-graph, dependency, and type-inference analyses.
- PatternSearch(ClassPool) - Constructor for class com.tonic.analysis.pattern.PatternSearch
-
Creates a search over the given pool with an empty scope and no analyses attached.
- PatternSwitchDesugar - Class in com.tonic.analysis.source.ast.transform
-
Desugars a Java 21 pattern-matching switch expression into the
SwitchBootstraps.typeSwitchinvokedynamic and an integer dispatch switch. - PatternSwitchDesugar() - Constructor for class com.tonic.analysis.source.ast.transform.PatternSwitchDesugar
-
Creates a desugarer with no class pool, so record-component lookups are unavailable.
- PatternSwitchDesugar(ClassPool) - Constructor for class com.tonic.analysis.source.ast.transform.PatternSwitchDesugar
-
Creates a desugarer that resolves record components through a pool.
- PatternSwitchReconstructor - Class in com.tonic.analysis.source.ast.transform
-
Reconstructs a pattern-matching switch (Java 21,
SwitchBootstraps.typeSwitch) from the$pc$dispatch loop that control-flow recovery falls back to. - PatternSwitchReconstructor() - Constructor for class com.tonic.analysis.source.ast.transform.PatternSwitchReconstructor
- pause() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Requests a pause of a running execution at the next instruction boundary.
- PAUSE - com.tonic.analysis.execution.debug.InterceptorAction
-
Suspend at this point, as a breakpoint would, leaving the run resumable.
- PAUSED - com.tonic.analysis.execution.debug.DebugSessionState
-
Suspended with a live call stack that can be inspected and resumed.
- PAUSED - com.tonic.analysis.execution.debug.DebugState.Status
-
Suspended and waiting for a resume, typically at a breakpoint.
- pc() - Method in class com.tonic.analysis.query.eval.EvidenceCollector.Hit
- pc() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- PCTarget(String, String, String, int) - Constructor for class com.tonic.analysis.query.planner.QueryTarget.PCTarget
-
Creates a target naming one bytecode offset inside a method.
- PDG - Class in com.tonic.analysis.pdg
-
Program dependence graph for a single method, holding the control and data dependence edges between its instruction nodes along with lookup indexes by instruction, value and block.
- PDG(IRMethod) - Constructor for class com.tonic.analysis.pdg.PDG
-
Creates an empty graph for the given method.
- PDG_ENTRY - com.tonic.analysis.cpg.node.CPGNodeType
-
The synthetic root that unconditionally executed code hangs its control dependence from.
- PDG_EXIT - com.tonic.analysis.cpg.node.CPGNodeType
-
The synthetic sink every path out of the method converges on.
- PDGBuilder - Class in com.tonic.analysis.pdg
-
Builder of a program dependence graph for one method, deriving control dependence from the post-dominator tree and data dependence from def-use chains.
- PDGBuilder(IRMethod) - Constructor for class com.tonic.analysis.pdg.PDGBuilder
-
Creates a builder and its post-dominator tree and def-use chains, neither of which is computed yet.
- PDGDependenceType - Enum in com.tonic.analysis.pdg.edge
-
Kind of dependence a PDG edge carries - control, data, or interprocedural.
- PDGDOTExporter - Class in com.tonic.analysis.graph.export
-
DOT exporter for a program dependence graph, colouring nodes by kind and taint state and edges by dependence type.
- PDGDOTExporter() - Constructor for class com.tonic.analysis.graph.export.PDGDOTExporter
-
Creates an exporter with the default rendering options.
- PDGDOTExporter(DOTExporterConfig) - Constructor for class com.tonic.analysis.graph.export.PDGDOTExporter
-
Creates an exporter using the supplied rendering options.
- PDGEdge - Class in com.tonic.analysis.pdg.edge
-
A directed dependence edge in a program dependence graph.
- PDGEdge(PDGNode, PDGNode, PDGDependenceType) - Constructor for class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates an unlabelled edge that carries no value.
- PDGEdge(PDGNode, PDGNode, PDGDependenceType, SSAValue) - Constructor for class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates an unlabelled edge that carries the value flowing along it.
- PDGEdge(PDGNode, PDGNode, PDGDependenceType, String) - Constructor for class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates a labelled edge that carries no value.
- PDGEdge(PDGNode, PDGNode, PDGDependenceType, String, SSAValue, boolean) - Constructor for class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates an edge with every attribute given explicitly.
- PDGInstructionNode - Class in com.tonic.analysis.pdg.node
-
A PDG node standing for a single IR instruction, typed PHI for phis and INSTRUCTION otherwise.
- PDGInstructionNode(int, IRInstruction, IRBlock, int) - Constructor for class com.tonic.analysis.pdg.node.PDGInstructionNode
-
Creates a node for an instruction, deriving its node type from whether the instruction is a phi.
- PDGNode - Class in com.tonic.analysis.pdg.node
-
Base node of a program dependence graph, identified by an id and holding its own incoming and outgoing dependence edges plus optional taint marking.
- PDGNodeType - Enum in com.tonic.analysis.pdg.node
-
Kind of a program dependence graph node, carrying display text and whether the kind can act as a dependence source or sink.
- PDGPrinter - Class in com.tonic.analysis.graph.print
-
Renders a program dependence graph as indented plain text.
- PDGPrinter() - Constructor for class com.tonic.analysis.graph.print.PDGPrinter
-
Creates a printer using the default config.
- PDGPrinter(GraphPrinterConfig) - Constructor for class com.tonic.analysis.graph.print.PDGPrinter
-
Creates a printer with explicit settings.
- PDGRegionNode - Class in com.tonic.analysis.pdg.node
-
PDG node standing for a control region - entry, exit or a structured region - over a set of covered blocks, defining and using no values.
- PDGRegionNode(int, PDGNodeType, String, IRBlock) - Constructor for class com.tonic.analysis.pdg.node.PDGRegionNode
-
Creates a region node, seeding the covered set with the primary block when one is given.
- PDGSlicer - Class in com.tonic.analysis.pdg.slice
-
Intraprocedural slicer over a program dependence graph.
- PDGSlicer(PDG) - Constructor for class com.tonic.analysis.pdg.slice.PDGSlicer
-
Creates a slicer following both control and data dependences.
- peek() - Method in class com.tonic.analysis.absexec.Stack
-
Returns the top entry without removing it.
- peek() - Method in class com.tonic.analysis.execution.frame.CallStack
-
Returns the top frame without removing it.
- peek() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Reads the top value without popping.
- peek() - Method in class com.tonic.analysis.frame.TypeState
-
Gets the type at the top of the stack without popping.
- peek() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Peek at the top value without removing it.
- peek() - Method in class com.tonic.analysis.simulation.state.CallStackState
- peek() - Method in class com.tonic.analysis.simulation.state.StackState
-
Reads the top slot without removing it.
- peek() - Method in class com.tonic.analysis.source.parser.Lexer
- peek() - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Returns the top stack value without popping it.
- peek(int) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Reads a value below the top without popping.
- peek(int) - Method in class com.tonic.analysis.frame.TypeState
-
Gets the type at position from top.
- peek(int) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Peek at a value at the given depth (0 = top).
- peek(int) - Method in class com.tonic.analysis.simulation.state.StackState
-
Reads a slot without removing it.
- peek(int) - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Returns the stack value a given depth below the top without popping.
- peekAhead(int) - Method in class com.tonic.analysis.source.parser.Lexer
-
Looks past the current token, scanning into the lookahead buffer as needed.
- peekAt(int) - Method in class com.tonic.analysis.execution.frame.CallStack
-
Returns the frame a given number of levels below the top without removing it.
- peekExpectedType() - Method in class com.tonic.analysis.source.lower.LoweringContext
- peekValue() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Get the top value, accounting for wide types.
- peekValue() - Method in class com.tonic.analysis.simulation.state.StackState
-
Reads the topmost value, stepping past a wide second slot to the value it belongs to.
- peekValue(int) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Get value at depth, accounting for wide types.
- peekValue(int) - Method in class com.tonic.analysis.simulation.state.StackState
-
Reads a value at the given depth, stepping past a wide second slot to the value it belongs to.
- PeepholeOptimizations - Class in com.tonic.analysis.ssa.transform
-
Peephole optimization transform.
- PeepholeOptimizations() - Constructor for class com.tonic.analysis.ssa.transform.PeepholeOptimizations
- PERCENT - com.tonic.analysis.source.parser.TokenType
-
Remainder of a division.
- PERCENT_EQ - com.tonic.analysis.source.parser.TokenType
-
Replaces the target with the remainder of dividing it.
- PermittedSubclassesAttribute - Class in com.tonic.parser.attribute
-
The PermittedSubclasses attribute.
- PermittedSubclassesAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.PermittedSubclassesAttribute
-
Creates the attribute shell for parsing, attached to a class.
- PermittedSubclassesAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.PermittedSubclassesAttribute
-
Creates the attribute shell for parsing, attached to a member.
- PHI - com.tonic.analysis.dataflow.DataFlowNodeType
-
A merge of the values reaching a join from each incoming edge.
- PHI - com.tonic.analysis.pdg.node.PDGNodeType
-
A merge of values arriving on different incoming edges at a join.
- PHI_INPUT - com.tonic.analysis.dataflow.DataFlowEdgeType
-
A value reaching a phi node along one of its incoming control flow edges.
- PhiConstantPropagation - Class in com.tonic.analysis.ssa.transform
-
Phi Constant Propagation optimization transform.
- PhiConstantPropagation() - Constructor for class com.tonic.analysis.ssa.transform.PhiConstantPropagation
- phiEdge(PDGNode, PDGNode, SSAValue, String) - Static method in class com.tonic.analysis.pdg.edge.PDGEdge
-
Creates a data dependence edge feeding one operand of a phi.
- PhiEliminator - Class in com.tonic.analysis.ssa.lower
-
Eliminates phi functions by inserting copies in predecessor blocks, splitting critical edges where needed.
- PhiEliminator() - Constructor for class com.tonic.analysis.ssa.lower.PhiEliminator
- PhiInserter - Class in com.tonic.analysis.ssa.lift
-
Phi insertion at dominance frontiers via the Cytron algorithm, yielding minimal SSA form.
- PhiInserter(DominatorTree) - Constructor for class com.tonic.analysis.ssa.lift.PhiInserter
-
Creates an inserter.
- PhiInstruction - Class in com.tonic.analysis.ssa.ir
-
An SSA phi merging one incoming value per predecessor block.
- PhiInstruction(SSAValue) - Constructor for class com.tonic.analysis.ssa.ir.PhiInstruction
-
Creates a phi with no incoming values yet.
- pinToVariable(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Pins a value to its variable.
- PIPE - com.tonic.analysis.source.parser.TokenType
-
Bitwise or non-short-circuiting logical OR, and the separator between the alternatives of a multi-catch clause.
- PIPE_EQ - com.tonic.analysis.source.parser.TokenType
-
Bitwise or logical OR into the target.
- PIPE_PIPE - com.tonic.analysis.source.parser.TokenType
-
Conditional OR, which does not evaluate its right operand once the left is true.
- plan(Query) - Method in class com.tonic.analysis.query.exec.QueryService
-
Turns a parsed query into an executable plan with its scope filter.
- plan(Query) - Method in class com.tonic.analysis.query.planner.QueryPlanner
-
Builds the executable plan, attaching a scope prefilter that admits everything when the query has no scope.
- PLUS - com.tonic.analysis.query.parser.Token.TokenType
-
The character
+, repeating a sequence element one or more times. - PLUS - com.tonic.analysis.source.parser.TokenType
-
Addition, string concatenation, or unary plus.
- PLUS_EQ - com.tonic.analysis.source.parser.TokenType
-
Adds to the target in place; also the in-place string append.
- PLUS_PLUS - com.tonic.analysis.source.parser.TokenType
-
Increment by one, in either prefix or postfix position.
- pointsTo(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
- PointsToQuery - Class in com.tonic.analysis.simulation.heap
-
Read-only view over a simulated heap answering aliasing, nullness and reachability questions about points-to sets.
- PointsToQuery(SimHeap) - Constructor for class com.tonic.analysis.simulation.heap.PointsToQuery
-
Binds the query to a heap.
- polymorphic(TypeSet, Nullability) - Static method in class com.tonic.analysis.typeinference.TypeState
-
Creates a type state from multiple possible types.
- pop() - Method in class com.tonic.analysis.absexec.Stack
-
Removes and returns the top entry.
- pop() - Method in class com.tonic.analysis.execution.frame.CallStack
-
Removes and returns the top frame.
- pop() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pops the top value.
- pop() - Method in class com.tonic.analysis.frame.TypeState
-
Pops a single type from the stack.
- pop() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Pop the top value from the stack.
- pop() - Method in class com.tonic.analysis.simulation.state.CallStackState
-
Removes the top frame.
- pop() - Method in class com.tonic.analysis.simulation.state.StackState
-
Removes the top slot.
- pop() - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Pops the top stack value.
- pop() - Method in class com.tonic.builder.CodeBuilder
-
Appends
pop, discarding the top one-slot value. - pop(int) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Discards values from the top.
- pop(int) - Method in class com.tonic.analysis.frame.TypeState
-
Pops n types from the stack.
- pop(int) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Pop multiple values from the stack.
- pop(int) - Method in class com.tonic.analysis.simulation.state.StackState
-
Removes several slots at once.
- pop(StackCtx...) - Method in class com.tonic.analysis.absexec.InsnContext
-
Records each popped stack value and back-links it to this instruction.
- POP - com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange.Type
- POP - com.tonic.util.Opcode
-
Discards the top value of the operand stack; the value must not be a long or double.
- pop2() - Method in class com.tonic.builder.CodeBuilder
-
Appends
pop2, discarding the top two slots. - POP2 - com.tonic.util.Opcode
-
Discards either the top two one-word values or a single long or double.
- Pop2Instruction - Class in com.tonic.analysis.instruction
-
Represents the POP2 instruction (0x58).
- Pop2Instruction(int, int) - Constructor for class com.tonic.analysis.instruction.Pop2Instruction
-
Constructs a Pop2Instruction.
- popBranchScope() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Pops the current branch scope and removes its variables from declaredVariables.
- popDouble() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pops the top value as a double.
- popExpectedType() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Pops the innermost expected type.
- popFloat() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pops the top value as a float.
- popForLoopScope() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Pops the current for-loop scope and removes its variables from declaredVariables.
- PopInstruction - Class in com.tonic.analysis.instruction
-
Represents the POP instruction (0x57).
- PopInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.PopInstruction
-
Constructs a PopInstruction.
- popInt() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pops the top value as an int.
- popKnownFalseFields() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Pops the current known false fields from the stack.
- popKnownFalseValues() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Pops the current known false values from the stack.
- popLong() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pops the top value as a long.
- popLoop() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Pops the current loop targets from the stack.
- popLoop() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Pops the innermost loop frame, if any.
- popReference() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pops the top value as a reference.
- popSkipInstructions() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Pops the current skip instructions from the stack.
- popStopBlocks() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Pops the current stop blocks from the stack.
- popSwitch() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Pops the innermost switch frame, if any.
- popWide() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Pop a wide value (2 slots) from the stack.
- popWide() - Method in class com.tonic.analysis.simulation.state.StackState
-
Removes the two slots holding a long or double.
- POS - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Unary plus,
+, which leaves the value alone but still promotes a narrower operand to int. - position() - Method in class com.tonic.analysis.query.parser.ConditionParser
- position() - Method in class com.tonic.analysis.query.parser.Token
- POST_DEC - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Postfix decrement,
x--, which yields the operand's value from before the decrement. - POST_INC - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Postfix increment,
x++, which yields the operand's value from before the increment. - postDecr(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a post-decrement node typed from the operand.
- postDominates(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Checks if block A post-dominates block B.
- PostDominatorTree - Class in com.tonic.analysis.ssa.analysis
-
Post-dominator tree for a CFG, computed by dominator analysis on the reverse graph.
- PostDominatorTree(IRMethod) - Constructor for class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Creates an empty tree for the given method.
- POSTFIX - com.tonic.analysis.source.parser.Precedence
-
The postfix level, covering
++and--as well as member access, array indexing, and call parentheses. - postIncr(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a post-increment node typed from the operand.
- postIncrement(Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a post-increment expression.
- PRE_DEC - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Prefix decrement,
--x, which yields the already-decremented value. - PRE_INC - com.tonic.analysis.source.ast.expr.UnaryOperator
-
Prefix increment,
++x, which yields the already-incremented value. - Precedence - Enum in com.tonic.analysis.source.parser
-
Java operator binding strengths, ordered from loosest (NONE) to tightest (PRIMARY).
- preDecr(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a pre-decrement node typed from the operand.
- PREFER_DEBUG_INFO - com.tonic.analysis.source.recovery.NameRecoveryStrategy
-
Use LocalVariableTable when available, synthetic fallback
- preIncr(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a pre-increment node typed from the operand.
- preIncrement(Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a pre-increment expression.
- preset(TransformPreset) - Method in class com.tonic.analysis.source.decompile.ClassDecompiler.Builder
-
Applies a transform preset.
- preset(TransformPreset) - Method in class com.tonic.analysis.source.decompile.DecompilerConfig.Builder
-
Adds all transforms from a preset to the pipeline; presets combine across calls.
- prettyPrintCode(byte[], ConstPool) - Static method in class com.tonic.analysis.CodePrinter
-
Disassembles raw bytecode into the terse per-instruction listing.
- prettyPrintCode(CodeAttribute) - Static method in class com.tonic.analysis.CodePrinter
-
Disassembles a method's
CodeAttributeusing the terse format that matchesCodePrinter.prettyPrintCode(byte[], ConstPool). - prettyPrintCode(CodeAttribute, DisassemblyOptions) - Static method in class com.tonic.analysis.CodePrinter
-
Disassembles a method's
CodeAttributewith the enrichments selected byoptions. - PRIMARY - com.tonic.analysis.source.parser.Precedence
-
The tightest level, above every operator; literals, names, and parenthesized expressions sit here.
- PrimitiveSourceType - Class in com.tonic.analysis.source.ast.type
-
Represents a primitive type in the source AST.
- PrimitiveSourceType.PrimitiveKind - Enum in com.tonic.analysis.source.ast.type
-
The eight Java primitives, each paired with its source keyword and IR type.
- PrimitiveType - Enum in com.tonic.analysis.ssa.type
-
Represents JVM primitive types.
- print(CodePropertyGraph) - Method in class com.tonic.analysis.graph.print.CPGPrinter
-
Renders the graph to a string.
- print(CodePropertyGraph, Writer) - Method in class com.tonic.analysis.graph.print.CPGPrinter
-
Renders the graph to a writer and flushes it.
- print(PDG) - Method in class com.tonic.analysis.graph.print.PDGPrinter
-
Renders the graph to a string.
- print(PDG, Writer) - Method in class com.tonic.analysis.graph.print.PDGPrinter
-
Writes the graph as indented text - header, nodes, edges grouped by type, and optionally a statistics block.
- print(SDG) - Method in class com.tonic.analysis.graph.print.SDGPrinter
-
Renders the graph to a string.
- print(SDG, Writer) - Method in class com.tonic.analysis.graph.print.SDGPrinter
-
Writes the graph as indented text, grouped by procedure or as a flat node list depending on the configuration.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook.Builder
-
Sets the ordering priority relative to other hooks.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook.Builder
-
Sets the ordering priority relative to other hooks.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.ExceptionHook.Builder
-
Sets the ordering priority relative to other hooks.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.FieldReadHook.Builder
-
Sets the ordering priority relative to other hooks.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook.Builder
-
Sets the ordering weight against other hooks on the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Sets the ordering weight against other hooks on the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook.Builder
-
Sets the ordering priority among hooks; defaults to 100.
- priority(int) - Method in class com.tonic.analysis.instrumentation.hook.MethodExitHook.Builder
-
Sets the ordering weight against other hooks on the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- priority(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Sets the ordering priority of this hook against others at the same site.
- PRIVATE - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0002, visible only within the declaring class. - PRIVATE - com.tonic.analysis.source.parser.TokenType
-
Access modifier limiting visibility to the declaring class.
- PRIVATE - Static variable in class com.tonic.util.Modifiers
- ProbePlan - Class in com.tonic.analysis.query.planner
-
Compiled query plan.
- ProbePlan(Query, StaticFilter) - Constructor for class com.tonic.analysis.query.planner.ProbePlan
-
Creates a plan.
- ProbePlan.Builder - Class in com.tonic.analysis.query.planner
-
Mutable accumulator for a plan around a fixed query.
- probeRegionExits(IRBlock, Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
Side-effect-free preflight.
- probeRegionExits(IRBlock, Set<IRBlock>, boolean) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
As above; with
allowTryNodesthe probe models each try in the region as an opaque node. - process(ClassFile) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Processes the given class file by visiting its elements and rebuilding.
- process(MethodEntry) - Method in class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
-
Processes the given method by lifting to SSA and visiting its blocks and instructions.
- process(MethodEntry) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Processes the given method by visiting its bytecode instructions.
- process(MethodEntry) - Method in class com.tonic.parser.visitor.AbstractMethodVisitor
-
Processes the given method entry by visiting the method and its code attribute.
- process(T) - Method in interface com.tonic.parser.visitor.Visitor
-
Processes the given element.
- processedReturnStatements(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
The statements of a processed RETURN block, for idempotent re-emission - a trailing return two paths share is recovered once by the first path's pass.
- processedReturnStatements(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- ProcessHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for process and runtime entry points - Runtime memory queries, ProcessImpl, ProcessHandleImpl, Shutdown, ProcessEnvironment and SecurityManager - stubbed so simulated code never spawns a real process.
- ProcessHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.ProcessHandlers
- propagatesTaint() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
-
Reports whether taint propagates along this edge, as decided by the edge type.
- propagatesTaint() - Method in enum com.tonic.analysis.dataflow.DataFlowEdgeType
-
Reports whether taint travels along this edge type.
- PROTECTED - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0004, visible to the package and to subclasses. - PROTECTED - com.tonic.analysis.source.parser.TokenType
-
Access modifier granting visibility to subclasses and to the same package.
- PROTECTED - Static variable in class com.tonic.util.Modifiers
- Provides - Class in com.tonic.parser.attribute.module
-
One provides entry of a Module attribute - a service interface plus the implementation classes offered for it, held as constant pool indices.
- Provides(ConstPool, int, List<Integer>) - Constructor for class com.tonic.parser.attribute.module.Provides
-
Creates a provides entry.
- PUBLIC - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0001, visible everywhere; prints first because declaration order is print order. - PUBLIC - com.tonic.analysis.source.parser.TokenType
-
Access modifier granting unrestricted visibility.
- PUBLIC - Static variable in class com.tonic.util.Modifiers
- push(StackCtx) - Method in class com.tonic.analysis.absexec.Stack
-
Pushes an entry, growing the backing array if needed.
- push(StackCtx...) - Method in class com.tonic.analysis.absexec.InsnContext
-
Records the stack values this instruction pushed.
- push(StackFrame) - Method in class com.tonic.analysis.execution.frame.CallStack
-
Pushes a frame onto the stack.
- push(ConcreteValue) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes a value.
- push(VerificationType) - Method in class com.tonic.analysis.frame.TypeState
-
Pushes a type onto the stack.
- push(CallStackState.CallFrame) - Method in class com.tonic.analysis.simulation.state.CallStackState
-
Adds a frame on top of the existing ones.
- push(SimValue) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Push a value onto the stack.
- push(SimValue) - Method in class com.tonic.analysis.simulation.state.StackState
-
Adds a value on top of the stack.
- push(Value) - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Pushes a value onto the simulated stack.
- PUSH - com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange.Type
- PUSH_FRAME - com.tonic.analysis.execution.invoke.InvocationResult.Status
-
The callee must be interpreted, so the result carries the frame to push and run.
- pushBranchScope() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Pushes a new scope for if-then-else branch variables.
- pushDouble(double) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes a double.
- pushExpectedType(SourceType) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Pushes the type the surrounding declaration expects of the expression being lowered.
- pushFloat(float) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes a float.
- pushForLoopScope() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Pushes a new scope for for-loop variables.
- pushFrame(StackFrame) - Static method in class com.tonic.analysis.execution.invoke.InvocationResult
-
Creates a result instructing the interpreter to execute the given callee frame.
- pushInt(int) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes an int.
- pushKnownFalseFields(Set<ControlFlowContext.FieldKey>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Enters a scope in which the given fields are proven false or zero, the field-level counterpart of
ControlFlowContext.pushKnownFalseValues(java.util.Set<com.tonic.analysis.ssa.value.SSAValue>). - pushKnownFalseValues(Set<SSAValue>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Enters a scope in which the given values are proven false or zero, as the then-branch of an inverted condition is.
- pushLong(long) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes a long.
- pushLoop(IRBlock, IRBlock, IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Enters a loop scope so edges to its exit or continue-target classify as break or continue, recording the current scope depth for labeling.
- pushLoop(IRBlock, IRBlock, IRBlock, IRBlock) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
As
ControlFlowContext.pushLoop(IRBlock, IRBlock, IRBlock)but records the loop'sfor-update latch. - pushLoop(String, IRBlock, IRBlock, int) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Pushes loop targets onto the stack.
- pushNull() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes a null reference.
- pushRaw(VerificationType) - Method in class com.tonic.analysis.frame.TypeState
-
Pushes a single raw stack entry, WITHOUT the category-2
TOPcompanion thatTypeState.push(com.tonic.analysis.frame.VerificationType)appends for a long/double. - pushReference(ObjectInstance) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Pushes a reference, mapping null to the null value.
- pushSkipInstructions(Set<IRInstruction>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Enters a scope that suppresses instructions, as a for-loop does with the increment it lifted into its update clause.
- pushStopBlocks(Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Enters a control structure whose recovery must stop at the given blocks.
- pushSwitch(IRBlock, IRBlock, Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Enters a switch scope so edges to its merge or sibling cases classify as break or fall-through.
- pushWide(SimValue) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Push a wide value (long/double) onto the stack.
- pushWide(SimValue) - Method in class com.tonic.analysis.simulation.state.StackState
-
Pushes a long or double, adding the filler second slot after it.
- put(ClassFile) - Method in class com.tonic.parser.ClassPool
-
Adds a ClassFile to the pool.
- putfield(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
putfield, adding the field reference to the constant pool. - putField(AllocationSite, FieldKey, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Adds a value to a field of one object; no-op if nothing was allocated at the site.
- PUTFIELD - com.tonic.analysis.instruction.PutFieldInstruction.FieldType
-
Write to an instance field, consuming an object reference as well as the value.
- PUTFIELD - com.tonic.util.Opcode
-
Pops an object reference and a value, and stores the value into the instance field named by the two-byte constant pool index.
- putFieldForRef(Set<AllocationSite>, FieldKey, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Weakly updates a field across every object a reference may point to.
- PutFieldInstruction - Class in com.tonic.analysis.instruction
-
Represents the PUTFIELD and PUTSTATIC instructions (0xB5, 0xB3).
- PutFieldInstruction(ConstPool, int, int, int) - Constructor for class com.tonic.analysis.instruction.PutFieldInstruction
-
Constructs a PutFieldInstruction.
- PutFieldInstruction.FieldType - Enum in com.tonic.analysis.instruction
-
The field-write kinds (instance PUTFIELD vs static PUTSTATIC), each pairing a JVM opcode with its mnemonic.
- putstatic(String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Appends
putstatic, adding the field reference to the constant pool. - putStatic(FieldKey, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimHeap
-
Adds a value to a static field, keeping the values already recorded for it.
- PUTSTATIC - com.tonic.analysis.instruction.PutFieldInstruction.FieldType
-
Write to a static field, consuming only the value and triggering class initialization.
- PUTSTATIC - com.tonic.util.Opcode
-
Pops a value and stores it into the static field named by the two-byte constant pool index.
- putStaticField(String, String, String, Object) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Stores a static field value, replacing any previous one.
- putStaticField(String, String, String, Object) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
Q
- quant() - Method in class com.tonic.analysis.query.ast.Condition.Quantifier
- Quantifier(Condition.Quant, Accessor, Condition) - Constructor for class com.tonic.analysis.query.ast.Condition.Quantifier
-
Creates a quantification over a sub-subject stream.
- query() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Starts a fluent query over this graph.
- query() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- Query - Interface in com.tonic.analysis.query.ast
-
Root query AST node.
- QueryBatchResult(List<QueryMatch>, boolean) - Constructor for class com.tonic.analysis.query.exec.QueryBatchRunner.QueryBatchResult
- QueryBatchRunner - Class in com.tonic.analysis.query.exec
-
Executor of a
ProbePlanover a class pool, evaluating the query condition on every candidate the plan's scope filter admits and projecting each hit into aQueryMatchcarrying the evaluator's evidence. - QueryBatchRunner(ClassPool) - Constructor for class com.tonic.analysis.query.exec.QueryBatchRunner
-
Creates a runner over a pool, defaulting to a 60 second budget and no user-class restriction.
- QueryBatchRunner.ProgressListener - Interface in com.tonic.analysis.query.exec
-
Callback for run progress, invoked on the thread executing the run.
- QueryBatchRunner.QueryBatchResult - Class in com.tonic.analysis.query.exec
-
The outcome of one run - the ordered matches plus whether the run was cut short by cancellation.
- QueryConfig(long) - Constructor for class com.tonic.analysis.query.exec.QueryService.QueryConfig
- QueryLexer - Class in com.tonic.analysis.query.parser
-
Tokenizer for the query DSL.
- QueryLexer(String) - Constructor for class com.tonic.analysis.query.parser.QueryLexer
-
Creates a lexer over a query string.
- QueryMatch - Class in com.tonic.analysis.query.planner
-
A single query match.
- QueryMatch(QueryTarget, Map<String, Object>, List<QueryMatch>) - Constructor for class com.tonic.analysis.query.planner.QueryMatch
-
Creates a match, copying the attributes and evidence defensively.
- QueryMatch.Builder - Class in com.tonic.analysis.query.planner
-
Fluent builder that accumulates attributes and evidence for one match.
- QueryParser - Class in com.tonic.analysis.query.parser
-
Parses the outer query shell -
(FIND|SHOW) target [IN|DURING scope] [WHERE expr] [WITH runspec] [LIMIT n] [ORDER BY key]- and delegates theWHEREexpression toConditionParser, the composable matcher grammar. - QueryParser() - Constructor for class com.tonic.analysis.query.parser.QueryParser
- QueryPlanner - Class in com.tonic.analysis.query.planner
-
Compiles a query into an executable
ProbePlan. - QueryPlanner() - Constructor for class com.tonic.analysis.query.planner.QueryPlanner
- QueryResult(String, Query, ProbePlan, List<QueryMatch>, long, boolean, String) - Constructor for class com.tonic.analysis.query.exec.QueryService.QueryResult
- QueryService - Class in com.tonic.analysis.query.exec
-
Front end for running query text against a class pool - parse, plan, then execute, either inline or on a single daemon worker thread.
- QueryService(ClassPool) - Constructor for class com.tonic.analysis.query.exec.QueryService
-
Creates a service over a pool, with its own parser and a single-thread daemon executor for async runs.
- QueryService.QueryConfig - Class in com.tonic.analysis.query.exec
-
Runtime knobs for a query run - currently just the wall-clock budget that aborts long scans.
- QueryService.QueryConfig.Builder - Class in com.tonic.analysis.query.exec
-
Accumulator for a QueryConfig.
- QueryService.QueryResult - Class in com.tonic.analysis.query.exec
-
The outcome of one query run - the source text, its parsed and planned forms, the matches, timing, and either a completion flag or a parse error message.
- QueryTarget - Interface in com.tonic.analysis.query.planner
-
The code location a query match points to: a class, a method, or a specific bytecode offset within a method.
- QueryTarget.ClassTarget - Class in com.tonic.analysis.query.planner
- QueryTarget.MethodTarget - Class in com.tonic.analysis.query.planner
- QueryTarget.PCTarget - Class in com.tonic.analysis.query.planner
- QUESTION - com.tonic.analysis.source.parser.TokenType
-
The condition separator of a conditional expression, and an unbounded wildcard type argument.
R
- rankDir(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Sets the DOT rankdir, such as "TB" or "LR".
- RAW - com.tonic.analysis.source.emit.IdentifierMode
-
Keep identifiers exactly as they appear in bytecode.
- RBRACE - com.tonic.analysis.query.parser.Token.TokenType
-
The character
}, closing a repetition count. - RBRACE - com.tonic.analysis.source.parser.TokenType
-
Closes the construct opened by the matching LBRACE.
- RBRACKET - com.tonic.analysis.query.parser.Token.TokenType
-
The character
], closing what anLBRACKETopened. - RBRACKET - com.tonic.analysis.source.parser.TokenType
-
Closes the construct opened by the matching LBRACKET.
- reachableFrom(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Walks fields and array elements from a root, following every allocation site each value may point to.
- reachableSitesFrom(SimValue) - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
-
Collects the allocation sites of everything transitively reachable from a root.
- REACHING_DEF - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Connects a read to a write that can reach it along at least one path, with no intervening redefinition.
- ReachingConditionStructurer - Class in com.tonic.analysis.source.recovery.rcs
-
Reaching-condition control-flow structurer: the DREAM-style ("No More Gotos") replacement for schema-based structural analysis.
- ReachingConditionStructurer(RegionRecoveryBridge, ControlFlowContext) - Constructor for class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
Creates a structurer.
- read(VarCtx...) - Method in class com.tonic.analysis.absexec.InsnContext
-
Records each read local slot and back-links it to this instruction.
- read(ClassFile) - Method in class com.tonic.parser.constpool.ClassRefItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.ConstantDynamicItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.DoubleItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.FieldRefItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.FloatItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.IntegerItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.InterfaceRefItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.InvokeDynamicItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.Item
-
Reads the constant pool item from the class file.
- read(ClassFile) - Method in class com.tonic.parser.constpool.LongItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.MethodHandleItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.MethodRefItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.MethodTypeItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.ModuleItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.PackageItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.StringRefItem
- read(ClassFile) - Method in class com.tonic.parser.constpool.Utf8Item
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.AnnotationDefaultAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.Attribute
-
Reads the attribute data from the class file.
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.BootstrapMethodsAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.CodeAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.ConstantValueAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.DeprecatedAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.EnclosingMethodAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.ExceptionsAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.GenericAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.InnerClassesAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.LineNumberTableAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.LocalVariableTableAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.MethodParametersAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.ModuleAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.NestHostAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.NestMembersAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.PermittedSubclassesAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.RecordAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.SignatureAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.SourceDebugExtensionAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.SourceFileAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.StackMapTableAttribute
- read(ClassFile, int) - Method in class com.tonic.parser.attribute.SyntheticAttribute
- READ - com.tonic.analysis.source.editor.handler.ArrayAccessHandler.ArrayAccessType
-
Reading from an array element: value = array[index]
- READ_VALUE - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The old/read value (for read hooks)
- readableRecipe(String) - Static method in class com.tonic.analysis.Bootstraps
-
Renders a
StringConcatFactoryrecipe to its readable{arg}/{const}form. - readAnnotation(ClassFile, ConstPool) - Static method in class com.tonic.parser.attribute.annotation.Annotation
-
Reads an annotation structure from the class file.
- readByte() - Method in class com.tonic.parser.AbstractParser
-
Reads a signed byte.
- readBytes(byte[], int, int) - Method in class com.tonic.parser.AbstractParser
-
Reads multiple bytes into destination array.
- readDouble() - Method in class com.tonic.parser.AbstractParser
-
Reads a double value.
- readElementValue(ClassFile, ConstPool) - Static method in class com.tonic.parser.attribute.annotation.ElementValue
-
Reads an element value from the class file.
- readFloat() - Method in class com.tonic.parser.AbstractParser
-
Reads a float value.
- readFrame(ClassFile, ConstPool) - Static method in class com.tonic.parser.attribute.stack.StackMapFrame
-
Reads a stack map frame from the class file.
- readInt() - Method in class com.tonic.parser.AbstractParser
-
Reads a signed int in big-endian order.
- readLong() - Method in class com.tonic.parser.AbstractParser
-
Reads a signed long in big-endian order.
- READS_FIELD - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
readsfieldorreads_field, naming the fields an entity loads from. - readShort() - Method in class com.tonic.parser.AbstractParser
-
Reads a signed short in big-endian order.
- readUnsignedByte() - Method in class com.tonic.parser.AbstractParser
-
Reads an unsigned byte (0 to 255).
- readUnsignedInt() - Method in class com.tonic.parser.AbstractParser
-
Reads an unsigned int (0 to 4,294,967,295) in big-endian order.
- readUnsignedLong() - Method in class com.tonic.parser.AbstractParser
-
Reads an unsigned long in big-endian order.
- readUnsignedShort() - Method in class com.tonic.parser.AbstractParser
-
Reads an unsigned short (0 to 65,535) in big-endian order.
- readUtf8() - Method in class com.tonic.parser.AbstractParser
-
Reads a UTF-8 encoded string.
- readVerificationTypeInfo(ClassFile, ConstPool) - Static method in class com.tonic.parser.attribute.stack.VerificationTypeInfo
-
Reads a verification type info from the class file.
- REAL - com.tonic.analysis.query.value.ValueKind
-
A floating point number, carried as a double; compares numerically against INT.
- RealValue(double) - Constructor for class com.tonic.analysis.query.value.Value.RealValue
- Reassociate - Class in com.tonic.analysis.ssa.transform
-
Reorders commutative operations so constants group together for folding, e.g.
- Reassociate() - Constructor for class com.tonic.analysis.ssa.transform.Reassociate
- rebuild() - Method in class com.tonic.parser.AbstractParser
-
Rebuilds byte array from current state.
- rebuild(ClassPool) - Static method in class com.tonic.renamer.hierarchy.ClassHierarchyBuilder
-
Rebuilds the hierarchy after class renames.
- rebuildHierarchy() - Method in class com.tonic.renamer.RenamerContext
-
Rebuilds the class hierarchy after class renames.
- RECEIVER - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links an instance call to the object it is invoked on.
- record(String, Statement, int) - Method in interface com.tonic.analysis.source.emit.SourceEmitter.LineMapSink
-
Reports where one statement was emitted.
- record(String, String, String, int, String) - Method in class com.tonic.analysis.query.eval.EvidenceCollector
-
Appends a matched location.
- RecordAttribute - Class in com.tonic.parser.attribute
-
The Record attribute.
- RecordAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.RecordAttribute
-
Creates the attribute shell for parsing, attached to a class.
- RecordAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.RecordAttribute
-
Creates the attribute shell for parsing, attached to a member.
- RecordAttribute.Component - Class in com.tonic.parser.attribute
-
A record component: name and descriptor Utf8 indices plus per-component attributes.
- recover() - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
-
Recovers the method body as a block statement, running the analysis and initialization passes first if they have not run yet.
- recover(IRInstruction) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
Recovers the source expression an instruction produces.
- recoverBlockSequence(IRBlock, Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Recovers the statements of one region as a hand-off, preserving the surrounding recovery's processed marks.
- recoverBoundaryTail(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Recovers a straight terminal tail (single-successor blocks chaining into a return/throw) as fresh statements, without marking the blocks processed.
- recoverBoundaryTail(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- recoverCondition(IRBlock, boolean) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
The branch condition of
block, negated whennegateis set. - recoverCondition(IRBlock, boolean) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- recoverConstant(Constant, SourceType) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
Recovers a constant as a literal, using the hint to tell an int apart from a boolean or char.
- recoveredTryTerminates(Statement) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Whether a statement recovered by
RegionRecoveryBridge.recoverTryNode(com.tonic.analysis.ssa.cfg.IRBlock, com.tonic.analysis.source.recovery.rcs.TryNodeDescriptor, java.util.Set<com.tonic.analysis.ssa.cfg.IRBlock>, java.util.Set<com.tonic.analysis.ssa.cfg.IRBlock>)leaves no normal fall-through. - recoveredTryTerminates(Statement) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- recoverFormalTypeParameters(String) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Renders a class/method signature's formal type parameters, e.g.
- recoverGenericType(String) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Recovers a source type from a JVM generic signature.
- recoverMethod() - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Recovers the whole method body, routing through try-with-resources or general exception handling when the method declares handlers.
- recoverMethod(IRMethod, MethodEntry) - Static method in class com.tonic.analysis.source.recovery.MethodRecoverer
-
Full recovery pipeline: analyze, initialize, and recover.
- recoverMethod(IRMethod, MethodEntry, NameRecoveryStrategy) - Static method in class com.tonic.analysis.source.recovery.MethodRecoverer
-
Full recovery pipeline with custom name strategy.
- recoverMethodAsDispatch() - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Recovers the whole method as a structured dispatch loop.
- recoverOperand(Value) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
Recovers an operand with no type hint, so booleans are inferred from the value alone.
- recoverOperand(Value, SourceType) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
Recovers an operand, using the hint to tell a boolean from an int constant.
- recoverSimpleBlock(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
The straight-line statements of
block(its terminator branch is not emitted here). - recoverSimpleBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- recoverSwitchHeaderStatements(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
The switch header's own statements for emission before the
switch. - recoverSwitchHeaderStatements(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- recoverTryNode(IRBlock, TryNodeDescriptor, Set<IRBlock>, Set<IRBlock>) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Recovers the try node starting at
blockas one statement via the host's try/catch machinery, marking its handler and blocks consumed. - recoverTryNode(IRBlock, TryNodeDescriptor, Set<IRBlock>, Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- recoverType(IRType) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Recovers a source type from an IR type.
- recoverType(SSAValue) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Recovers a source type from an SSA value.
- recoverType(Value) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Recovers a source type from any Value (SSAValue or Constant).
- recoverType(String) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Recovers a source type from a JVM type descriptor.
- recoverTypeWithInstructionContext(SSAValue) - Method in class com.tonic.analysis.source.recovery.TypeRecoverer
-
Recovers a source type from an SSAValue, considering its defining instruction.
- recoverUnconsumedForLoopInits(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
The still-unconsumed for-induction inits of
header's preheader. - recoverUnconsumedForLoopInits(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- RecoveryContext - Class in com.tonic.analysis.source.recovery
-
Holds shared state during expression recovery.
- RecoveryContext(IRMethod, MethodEntry, DefUseChains) - Constructor for class com.tonic.analysis.source.recovery.RecoveryContext
-
Creates an empty context, deriving the local model from the IR method.
- RECURSIVE - com.tonic.analysis.execution.core.ExecutionMode
-
Callees are interpreted in-engine, so their side effects are observed at the cost of depth.
- RecursiveHandler - Class in com.tonic.analysis.execution.invoke
-
Invocation handler that pushes interpreter frames for bytecode-backed methods, dispatches registered natives, and stubs absent bodies with default values.
- RecursiveHandler(ClassResolver) - Constructor for class com.tonic.analysis.execution.invoke.RecursiveHandler
-
Creates a handler with an empty native registry.
- RecursiveHandler(ClassResolver, NativeRegistry) - Constructor for class com.tonic.analysis.execution.invoke.RecursiveHandler
-
Creates a handler backed by the given native registry.
- redirectClassReferences(String, String) - Method in class com.tonic.parser.ClassFile
-
Rewrites every constant-pool reference to
fromInternalso it resolves totoInternal. - redirectClassReferences(String, String) - Method in class com.tonic.parser.ConstPool
-
Rewrites every constant-pool reference to class
fromInternalso it resolves totoInternal, leaving no live constant namingfromInternal. - redirectOwner(String, String) - Method in class com.tonic.parser.ClassFile
-
Canonicalizes every reference to class
fromInternalin this class so it namestoInternal- the complete form ofClassFile.redirectClassReferences(java.lang.String, java.lang.String). - redirectOwner(String, String) - Method in class com.tonic.parser.ConstPool
-
Canonicalizes every reference to class
fromInternalso it namestoInternal- the complete form ofConstPool.redirectClassReferences(java.lang.String, java.lang.String). - redirectReturns() - Method in class com.tonic.analysis.CodeWriter.ClonedRange
-
Rewrites every cloned
returninto a continuation exit (a placeholdergotorecorded as a continuation branch), so an inlined body's returns fall through to the splice successor instead of returning from the host. - RedundantAssignmentEliminator - Class in com.tonic.analysis.source.ast.transform
-
Removes a redundant re-assignment
x = Vthat repeats an earlier identicalx = Vin the same block, when nothing between writesxandVis side-effect free. - RedundantAssignmentEliminator() - Constructor for class com.tonic.analysis.source.ast.transform.RedundantAssignmentEliminator
- RedundantCopyElimination - Class in com.tonic.analysis.ssa.transform
-
Removes redundant copy instructions and simplifies assignment chains.
- RedundantCopyElimination() - Constructor for class com.tonic.analysis.ssa.transform.RedundantCopyElimination
- Ref(Accessor) - Constructor for class com.tonic.analysis.query.ast.Operand.Ref
- REF_getField - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_getField - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_getStatic - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_getStatic - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_invokeInterface - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_invokeInterface - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_invokeSpecial - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_invokeSpecial - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_invokeStatic - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_invokeStatic - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_invokeVirtual - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_invokeVirtual - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_newInvokeSpecial - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_newInvokeSpecial - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_putField - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_putField - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- REF_putStatic - Static variable in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- REF_putStatic - Static variable in class com.tonic.analysis.ssa.value.MethodHandleConstant
- reference(ObjectInstance) - Static method in class com.tonic.analysis.execution.state.ConcreteValue
-
Creates a REFERENCE value pointing at a heap instance.
- REFERENCE - com.tonic.analysis.execution.state.ValueTag
-
A non-null pointer to an object or array on the interpreter heap, occupying one slot.
- ReferenceSourceType - Class in com.tonic.analysis.source.ast.type
-
Represents a reference type (class or interface) in the source AST.
- ReferenceSourceType(String) - Constructor for class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Creates a raw reference type printed by its simple name.
- ReferenceSourceType(String, List<SourceType>) - Constructor for class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Creates a parameterized reference type printed by its simple name.
- ReferenceSourceType(String, List<SourceType>, boolean) - Constructor for class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Creates a reference type, choosing how the name is printed.
- ReferenceType - Class in com.tonic.analysis.ssa.type
-
Represents a reference type (class or interface).
- ReferenceType(String) - Constructor for class com.tonic.analysis.ssa.type.ReferenceType
-
Creates a reference type with the given internal name.
- refinePhiTypes(IRMethod) - Static method in class com.tonic.analysis.ssa.lift.BytecodeLifter
-
Re-types phi results to the common type of their incoming values when every non-null incoming is the same primitive type.
- REFLECTION - com.tonic.analysis.cpg.taint.TaintType
-
Data obtained through reflective lookup, where the target member is chosen at run time.
- ReflectionHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the reflection surface.
- ReflectionHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.ReflectionHandlers
- reflectionSink() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- refType(String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a reference type node.
- regex(String) - Static method in class com.tonic.analysis.query.ast.ClassScope
-
Creates a scope matching class names against a regex.
- regex(String) - Static method in class com.tonic.analysis.query.ast.MethodScope
-
Creates a scope matching method signatures against a regex.
- REGEX - com.tonic.analysis.query.parser.Token.TokenType
-
A slash-delimited pattern; trailing flag letters are folded into the value as an inline
(?flags)prefix. - REGEX - com.tonic.analysis.query.value.ValueKind
-
A compiled pattern, valid only on the right of a match operator.
- RegexValue(Pattern) - Constructor for class com.tonic.analysis.query.value.Value.RegexValue
- REGION - com.tonic.analysis.pdg.node.PDGNodeType
-
A grouping for nodes that share one control condition, so the condition is recorded once.
- regionContainsUnprocessedHandler(Set<IRBlock>) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
True when some block in
regionstarts an exception handler the surrounding recovery has not yet consumed - a nested try the engine must decline so the try/catch scaffolding recovers it. - regionContainsUnprocessedHandler(Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- RegionInfo(ControlFlowContext.StructuredRegion, IRBlock) - Constructor for class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- RegionRecoveryBridge - Interface in com.tonic.analysis.source.recovery.rcs
-
The narrow set of statement/expression recovery leaves the reaching-condition engine needs from the host
StatementRecoverer. - register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Attaches the collected filters and registers the hook.
- register() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Attaches the collected filters and registers the hook.
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.CollectionHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.ConcurrencyHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.CoreHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.FileIOHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.IOHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.LocaleHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.MathHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.NetworkHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.NIOHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.ProcessHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.ReflectionHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.SecurityHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.StringHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.SystemHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.ThreadHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.TimeHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.VMHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.WrapperHandlers
- register(NativeRegistry) - Method in class com.tonic.analysis.execution.invoke.handlers.ZipHandlers
- register(NativeRegistry) - Method in interface com.tonic.analysis.execution.invoke.NativeHandlerProvider
-
Adds this provider's handlers to a registry.
- register(String, NativeMethodHandler) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Registers a handler under a precomputed method key.
- register(String, String, String, NativeMethodHandler) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Registers a handler for the identified method.
- RegisterAllocator - Class in com.tonic.analysis.ssa.lower
-
Linear scan register allocator.
- RegisterAllocator(IRMethod, LivenessAnalysis) - Constructor for class com.tonic.analysis.ssa.lower.RegisterAllocator
-
Creates an allocator; nothing is assigned until
RegisterAllocator.allocate()runs. - registerArrayConstructor(SyntheticArrayConstructor) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Registers a synthetic array constructor for later generation.
- registerBlock(int, IRBlock) - Method in class com.tonic.analysis.ssa.lift.InstructionTranslator
-
Registers a block at a bytecode offset.
- registerCallTarget(SDGCallNode, SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.SDG
-
Records a resolved callee for a call site and points the call node at it.
- registerClass(ClassFile) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Adds a class file to the pool.
- registerDefaults() - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Registers all built-in handler families covering the core JDK surface.
- registerMapping(String, String, int, String) - Method in class com.tonic.analysis.source.recovery.EnumSwitchMapRegistry
-
Registers one
caseValue -> enumConstantentry of a switch map. - registerParameter(String, int, SSAValue) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Registers a parameter with its local slot index without emitting StoreLocal.
- registerPendingNew(SSAValue, String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Registers an allocation result that awaits its
<init>call. - registerPendingNewLocalSlot(int, String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Registers a local slot as containing a pending new value.
- registerProvider(NativeHandlerProvider) - Method in class com.tonic.analysis.execution.invoke.NativeRegistry
-
Lets the given provider register its handlers with this registry.
- registerScalar(SubjectKind, String, AttributeRegistry.Attribute) - Method in class com.tonic.analysis.query.eval.AttributeRegistry
-
Registers a keyword that resolves to a scalar value.
- registerStream(SubjectKind, String, AttributeRegistry.Selector) - Method in class com.tonic.analysis.query.eval.AttributeRegistry
-
Registers a keyword that expands a subject into sub-subjects.
- registerSyntheticMethod(SyntheticLambdaMethod) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Registers a synthetic lambda method for later generation.
- regular(String) - Static method in class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates a single-type import.
- reindex(CPGNode) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Removes and re-adds a node, refreshing stale index entries.
- releaseFormerChild(ASTNode, ASTNode) - Static method in interface com.tonic.analysis.source.ast.ASTNode
-
Clears the parent of a node that
parentno longer holds. - reload() - Method in class com.tonic.analysis.CodeWriter
-
Re-reads this writer's instruction list from the underlying CodeAttribute.
- REM - com.tonic.analysis.ssa.ir.BinaryOp
-
Remainder (modulo).
- remap(int) - Method in class com.tonic.analysis.ConstPoolRemapper
-
Returns the index in the target pool of the constant equivalent to
srcIndexin the source pool, creating it (and any dependencies) if absent. - remap(String) - Method in class com.tonic.renamer.descriptor.SignatureRemapper
-
Remaps all class references in a generic signature.
- remapClassName(String) - Method in class com.tonic.renamer.descriptor.DescriptorRemapper
-
Remaps an internal class name (not a descriptor).
- remapDescriptorsInClass(ClassFile) - Method in class com.tonic.renamer.RenamerContext
-
Updates all Utf8 items that contain class references in descriptors.
- remapFieldDescriptor(String) - Method in class com.tonic.renamer.descriptor.DescriptorRemapper
-
Remaps all class references in a field descriptor.
- remapMethodDescriptor(String) - Method in class com.tonic.renamer.descriptor.DescriptorRemapper
-
Remaps all class references in a method descriptor.
- remapType(String) - Method in class com.tonic.renamer.descriptor.DescriptorRemapper
-
Remaps a single type descriptor.
- remove() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Removes this node from its parent.
- remove() - Static method in class com.tonic.analysis.source.editor.Replacement
- remove(int) - Method in class com.tonic.analysis.source.ast.NodeList
- remove(CPGNode) - Method in class com.tonic.analysis.cpg.CPGIndex
-
Removes a node from every applicable index.
- remove(SimulationListener) - Method in class com.tonic.analysis.simulation.listener.CompositeListener
-
Drops the first occurrence of a child, if present.
- remove(ASTNode) - Static method in class com.tonic.analysis.source.ast.ASTMutations
-
Detaches a node from the list slot of its parent that holds it - block statements, call arguments, loop init and update entries and the like.
- remove(Object) - Method in class com.tonic.analysis.source.ast.NodeList
-
Removes a specific node, matching by identity rather than by equals as
Listspecifies. - remove(String) - Method in class com.tonic.parser.ClassPool
-
Removes a ClassFile from the pool by internal name.
- REMOVE - com.tonic.analysis.source.editor.Replacement.Type
-
Remove entirely.
- removeAll(Collection<?>) - Method in class com.tonic.analysis.source.ast.NodeList
- removeAllBreakpoints() - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Removes every registered breakpoint.
- removeBlock(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Removes a basic block from this method and updates CFG edges.
- removeBreakpoint(Breakpoint) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Removes the given breakpoint.
- removeBreakpoint(Breakpoint) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Removes a breakpoint from the session's manager.
- removeBreakpoint(String) - Method in class com.tonic.analysis.execution.debug.BreakpointManager
-
Removes the breakpoint with the given key, cleaning up the per-method index.
- removeEdge(CPGEdge) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Removes an edge and unlinks it from both endpoint nodes.
- removeEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.PDG
-
Removes an edge and unlinks it from both endpoints.
- removeExceptionEdges(List<IRBlock[]>) - Static method in class com.tonic.analysis.ssa.lift.BytecodeLifter
-
Removes the transient exception edges added by
BytecodeLifter.addExceptionEdges(com.tonic.analysis.ssa.cfg.IRMethod)once SSA local renaming is complete, so the final CFG carries only real control-flow edges. - removeField(String, String) - Method in class com.tonic.parser.ClassFile
-
Removes a field from the class.
- removeIf(Predicate<? super T>) - Method in class com.tonic.analysis.source.ast.NodeList
- removeIncoming(IRBlock) - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
-
Removes an incoming value from a predecessor block.
- removeIncomingEdge(CPGEdge) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Unregisters an edge entering this node.
- removeIncomingEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Drops an edge arriving at this node.
- removeInstruction(Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Removes an instruction, identified by handle (object identity), and relinks the method.
- removeInstruction(IRInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Removes an instruction from this block.
- removeInstructions(Collection<Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
Removes many instructions in a single relink, linear in the method size rather than quadratic in the number of removals.
- removeListener(DebugEventListener) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Unregisters a debug event listener.
- removeListener(BytecodeListener) - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
-
Removes a listener if it is registered.
- removeListener(SimulationListener) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Unregisters a listener.
- removeMethod(String, String) - Method in class com.tonic.parser.ClassFile
-
Removes a method by name and descriptor.
- removeMethodCall(String, String) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Removes all method calls matching the criteria.
- removeNode(CPGNode) - Method in class com.tonic.analysis.cpg.CodePropertyGraph
-
Removes a node along with every edge touching it.
- removeOutgoingEdge(CPGEdge) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Unregisters an edge leaving this node.
- removeOutgoingEdge(PDGEdge) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Drops an edge leaving this node.
- removePhi(PhiInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Removes a phi instruction from this block.
- removePredecessor(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Removes a predecessor block directly.
- removeProperty(String) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Removes a property.
- removeStatement(Statement) - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Removes a statement from this block.
- removeStmts(StmtMatcher) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that drops every statement the matcher accepts.
- removeStmts(Class<? extends Statement>) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that drops every statement of a given node type.
- removeSuccessor(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Removes a successor block and updates predecessor relationships.
- removeType(IRType) - Method in class com.tonic.analysis.typeinference.TypeSet
-
Removes a type.
- removeUnreachableBlocks(IRMethod) - Static method in class com.tonic.analysis.ssa.transform.DeadCodeElimination
-
Removes blocks not reachable from the method entry or any exception handler.
- removeUse(IRInstruction) - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Removes a use of this value by an instruction.
- rename(IRMethod) - Method in class com.tonic.analysis.ssa.lift.VariableRenamer
-
Performs SSA variable renaming on a method.
- renameClass(ClassMapping) - Method in class com.tonic.renamer.ClassRenamer
-
Renames a single class by its mapping.
- RenameException - Exception in com.tonic.renamer.exception
-
Base exception for all rename-related errors.
- RenameException(String) - Constructor for exception com.tonic.renamer.exception.RenameException
-
Creates the failure.
- RenameException(String, Throwable) - Constructor for exception com.tonic.renamer.exception.RenameException
-
Creates the failure with an underlying cause.
- RenameMapping - Interface in com.tonic.renamer.mapping
-
Interface for all rename mapping types.
- Renamer - Class in com.tonic.renamer
-
Main API for renaming classes, methods, and fields in a ClassPool.
- Renamer(ClassPool) - Constructor for class com.tonic.renamer.Renamer
-
Creates a new Renamer for the given ClassPool.
- RenamerContext - Class in com.tonic.renamer
-
Shared state for a rename run - the class pool, the mapping store, and a class hierarchy and descriptor/signature remappers derived from them.
- RenamerContext(ClassPool, MappingStore) - Constructor for class com.tonic.renamer.RenamerContext
-
Creates a context and builds the class hierarchy and remappers from the given pool and mappings.
- RenameValidator - Class in com.tonic.renamer.validation
-
Validates rename mappings before application.
- RenameValidator(ClassPool, MappingStore) - Constructor for class com.tonic.renamer.validation.RenameValidator
-
Creates a validator for one mapping store.
- renderingAtUseCrossesEffects(IRInstruction, IRInstruction) - Method in class com.tonic.analysis.source.recovery.ExpressionRecoverer
-
The same-block effect scan of
ExpressionRecoverer.inliningWouldReorderEffects(com.tonic.analysis.ssa.value.SSAValue)without the single-use gate. - replace(ASTNode, ASTNode) - Static method in class com.tonic.analysis.source.ast.ASTMutations
-
Swaps a node for another in whichever slot of its parent holds it.
- replace(EditorContext, FieldAccessExpr) - Method in interface com.tonic.analysis.source.editor.ExpressionEditor.FieldAccessReplacer
-
Builds the expression that takes the field access's place.
- replace(EditorContext, MethodCallExpr) - Method in interface com.tonic.analysis.source.editor.ExpressionEditor.MethodCallReplacer
-
Builds the expression that takes the call's place.
- replace(EditorContext, NewExpr) - Method in interface com.tonic.analysis.source.editor.ExpressionEditor.NewExprReplacer
-
Builds the expression that takes the allocation's place.
- replace(T, T) - Method in class com.tonic.analysis.source.ast.NodeList
-
Swaps one node for another in place, doing nothing if the old node is absent.
- REPLACE_BLOCK - com.tonic.analysis.source.editor.Replacement.Type
-
Replace with multiple statements.
- REPLACE_EXPR - com.tonic.analysis.source.editor.Replacement.Type
-
Replace with new expression.
- REPLACE_STMT - com.tonic.analysis.source.editor.Replacement.Type
-
Replace with new statement.
- replaceAllUsesWith(Value) - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Replaces all uses of this value with a new value.
- replaceBody(CodeWriter.ClonedRange) - Method in class com.tonic.analysis.CodeWriter
-
Replaces the body with a cloned range, carrying its targets + exception regions by identity.
- replaceBody(CodeWriter.ClonedRange, List<ExceptionTableEntry>) - Method in class com.tonic.analysis.CodeWriter
-
Replaces the body with a cloned range plus an explicit exception table (targets by identity).
- replaceBody(BlockStmt, IRMethod) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Convenience method to lower and replace an IRMethod's body from AST.
- replaceBody(List<Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
Replaces this method's entire instruction stream with
body(e.g. - replaceBody(List<Instruction>, List<ExceptionTableEntry>) - Method in class com.tonic.analysis.CodeWriter
-
As
CodeWriter.replaceBody(List)but with an exception table whose entry PCs are interpreted againstbody's layout, bound by identity so regenerated frames cover the handler blocks. - replaceFieldAccess(String, String, ExpressionEditor.FieldAccessReplacer) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Replaces all field accesses matching the criteria.
- replaceInstruction(Instruction, Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Replaces an instruction (by handle) with another, preserving control flow.
- replaceInstructions(Map<Instruction, Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
Replaces many instructions in a single relink, preserving control flow exactly as
CodeWriter.replaceInstruction(com.tonic.analysis.instruction.Instruction, com.tonic.analysis.instruction.Instruction)does per element. - Replacement - Class in com.tonic.analysis.source.editor
-
The action an editor handler returns for a visited AST node: keep, replace, remove, or insert.
- Replacement.Type - Enum in com.tonic.analysis.source.editor
-
The kind of action a replacement performs.
- replaceMethodBody(ClassFile, MethodEntry, ClassFile, MethodEntry) - Static method in class com.tonic.analysis.MethodGrafter
-
Replaces
targetMethod's body in place withsourceMethod's, remapping every constant-pool reference into the target. - replaceMethodCall(String, String, ExpressionEditor.MethodCallReplacer) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Replaces all method calls matching the criteria.
- replaceNewExpr(String, ExpressionEditor.NewExprReplacer) - Method in class com.tonic.analysis.source.editor.ExpressionEditor
-
Replaces all new expressions of a specific class.
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.ConstantInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.CopyInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Replaces an operand value with a new value.
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.LoadLocalInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.NewInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- replaceOperand(Value, Value) - Method in class com.tonic.analysis.ssa.ir.UnaryOpInstruction
- replacesValue(boolean) - Method in class com.tonic.analysis.instrumentation.HookDescriptor.Builder
-
Sets whether the hook's return value replaces the original value.
- replaceTarget(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- replaceTarget(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Replaces a target block in terminator instructions.
- replaceTarget(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- replaceTarget(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- replaceType(VerificationType, VerificationType) - Method in class com.tonic.analysis.frame.TypeState
-
Substitutes every occurrence of a type in both locals and stack.
- replaceWith(ASTNode) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Replaces this node in its parent with a new node.
- Requires - Class in com.tonic.parser.attribute.module
-
Represents a requires entry in the Module attribute.
- Requires(ConstPool, int, int, int) - Constructor for class com.tonic.parser.attribute.module.Requires
-
Creates a requires entry from its raw constant pool indexes.
- reserveNames(Set<String>) - Method in class com.tonic.analysis.source.recovery.MethodRecoverer
-
Reserves
namesso thatMethodRecoverer.baseNameForSlot(int)never returns them. - reset() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
-
Clears all execution state so the engine can run another method.
- reset() - Method in class com.tonic.analysis.execution.listener.AbstractBytecodeListener
-
Clears the tracked current method and resets the instruction count to zero.
- reset() - Method in class com.tonic.analysis.execution.listener.StatisticsListener
- reset() - Method in class com.tonic.analysis.execution.listener.TracingListener
- reset() - Method in class com.tonic.analysis.source.emit.IdentifierNormalizer
-
Resets all counters and rename caches for a fresh per-class run.
- reset() - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
-
Clears every recorded error and warning.
- reset() - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
-
Forgets the first error and every warning.
- reset() - Method in interface com.tonic.analysis.verifier.ErrorCollector
-
Discards every recorded error and warning.
- reset() - Method in class com.tonic.util.AccessBuilder
-
Resets the builder to its initial state, clearing all set access flags.
- resetDeclaredVariablesToBaseline() - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Restores the declared set to the method baseline captured by
RecoveryContext.baselineDeclaredVariables(). - resetHitCount() - Method in class com.tonic.analysis.execution.debug.Breakpoint
-
Resets the hit counter to zero.
- resetIdCounter() - Static method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Resets the ID counter for basic blocks.
- resetIdCounter() - Static method in class com.tonic.analysis.ssa.ir.IRInstruction
-
Resets the instruction ID counter.
- resetIdCounter() - Static method in class com.tonic.analysis.ssa.value.SSAValue
-
Resets the ID counter for SSA values.
- resetProcessedBlocks() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Clears the emitted-block marks and their cached statements so a fresh recovery pass over the same method starts clean.
- ResolutionCache - Class in com.tonic.analysis.execution.resolve
-
Concurrent memoization cache for class, method, field, and assignability lookups.
- ResolutionCache() - Constructor for class com.tonic.analysis.execution.resolve.ResolutionCache
- ResolutionException - Exception in com.tonic.analysis.execution.resolve
-
Unchecked exception raised when a class, method, or field cannot be resolved.
- ResolutionException(String) - Constructor for exception com.tonic.analysis.execution.resolve.ResolutionException
-
Creates the exception with a message.
- ResolutionException(String, Throwable) - Constructor for exception com.tonic.analysis.execution.resolve.ResolutionException
-
Creates the exception with a message and cause.
- resolve() - Method in class com.tonic.analysis.absexec.InsnContext
-
Follows def-use to the instruction that actually produced this context's value.
- resolve(ClassFile, int) - Static method in class com.tonic.analysis.Bootstraps
-
Resolves the bootstrap at the given BootstrapMethods-attribute index.
- resolveArrayElementType(SourceType) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Strips one level off an array type.
- resolveBootstrapMethods(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether invokedynamic sites are resolved back to the methods they call; defaults to false.
- resolveClass() - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Resolves and returns a string representation of the class.
- resolveClass() - Method in class com.tonic.analysis.instruction.CheckCastInstruction
-
Resolves and returns a string representation of the class.
- resolveClass() - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
-
Resolves and returns a string representation of the class.
- resolveClass() - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
-
Resolves and returns a string representation of the array class.
- resolveClass() - Method in class com.tonic.analysis.instruction.NewObjectInstruction
-
Resolves and returns a string representation of the class.
- resolveClass(String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Looks up a class in the pool, caching the result.
- resolveClassConstant(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Resolves a class constant to a heap object representing it.
- resolveClassName(int) - Method in class com.tonic.parser.ClassFile
-
Resolves a constant-pool class reference to its internal name.
- resolveClassName(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Qualifies a type name to its internal form, trying type-variable erasure, explicit and wildcard imports, a java.lang shortlist, the current class, and finally the loaded classes.
- resolveConstant() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
-
Renders the referenced constant as display text.
- resolveConstant() - Method in class com.tonic.analysis.instruction.LdcInstruction
-
Resolves and returns a string representation of the constant.
- resolveConstant() - Method in class com.tonic.analysis.instruction.LdcWInstruction
-
Renders the referenced constant as display text.
- resolveConstructorDescriptor(String, int) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Picks a constructor descriptor by arity, preferring the no-arg form when the count does not match.
- resolveConstructorDescriptor(String, List<IRType>) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Picks the constructor whose parameters best match the given argument IR types (exact descriptor preferred, then same primitive/reference kind), disambiguating same-arity overloads such as
ArrayList(int)vsArrayList(Collection). - ResolvedField - Class in com.tonic.analysis.execution.resolve
-
A resolved field reference paired with the class that actually declares it.
- ResolvedField(FieldEntry, ClassFile) - Constructor for class com.tonic.analysis.execution.resolve.ResolvedField
-
Creates a resolved field.
- ResolvedMethod - Class in com.tonic.analysis.execution.resolve
-
A resolved method reference paired with its declaring class and invoke kind.
- ResolvedMethod(MethodEntry, ClassFile, ResolvedMethod.InvokeKind) - Constructor for class com.tonic.analysis.execution.resolve.ResolvedMethod
-
Creates a resolved method.
- ResolvedMethod.InvokeKind - Enum in com.tonic.analysis.execution.resolve
-
Dispatch style the resolved method should be invoked with.
- resolveDoubleConstant(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Reads a double constant from the constant pool.
- resolveField() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Resolves and returns a string representation of the field.
- resolveField() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Resolves and returns a string representation of the field.
- resolveField(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Resolves a field reference from the constant pool.
- resolveField(String, String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Resolves a field by searching the owner, then its superclasses, then inherited interfaces.
- resolveFieldType(String, String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves a field's declared type, searching the source declaration, the pool class and its supertypes and interfaces, then reflection and the current class's original constant pool.
- resolveFloatConstant(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Reads a float constant from the constant pool.
- resolveIntConstant(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Reads an int constant from the constant pool.
- resolveInterfaceMethod(String, String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Resolves an interface method, searching the interface then its superinterfaces.
- resolveInternalName(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves a parsed type name to its fully-qualified internal name.
- resolveLongConstant(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Reads a long constant from the constant pool.
- resolveMethod() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Resolves and returns a string representation of the invokedynamic method.
- resolveMethod() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Resolves and returns a string representation of the interface method.
- resolveMethod() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Resolves and returns a string representation of the method.
- resolveMethod() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Resolves and returns a string representation of the method.
- resolveMethod() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Resolves and returns a string representation of the method.
- resolveMethod(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Resolves a method reference from the constant pool.
- resolveMethod(String, String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Resolves a method by searching the owner, then its superclasses, then inherited interfaces.
- resolveMethodDescriptor(String, String, int) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Picks a method descriptor by arity, searching the superclass chain and interfaces when the class declares no overload of that name.
- resolveMethodDescriptor(String, String, List<IRType>) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves the declared descriptor of the best-matching overload, choosing among same-arity candidates by argument-type compatibility (exact descriptor, then primitive/reference kind) and searching the superclass and interfaces.
- resolveMethodDescriptorViaReflection(String, String, List<IRType>) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves a descriptor against the running JVM, picking the most specific overload the arguments are assignable to.
- resolveMethodReturnType(String, String, List<SourceType>) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves a call's return type, searching the source declaration, the pool class and its supertypes, then reflection when the exact parameter descriptor does not match.
- resolveSamMethod(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Resolves the single abstract method of a functional interface, looking the interface up in the ClassPool first, then falling back to a table of common JDK functional interfaces.
- resolveSourceFileName(int) - Method in class com.tonic.parser.attribute.SourceFileAttribute
-
Helper method to retrieve the source file name from the constant pool.
- resolveSpecialMethod(String, String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Resolves a method declared directly on the named owner for invokespecial dispatch.
- resolveStringConstant(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Reads a string constant from the constant pool as plain text.
- resolveStringObject(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Resolves a string constant to its interned heap object.
- resolveVirtualMethod(String, String, String) - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Resolves a concrete implementation for virtual dispatch, skipping abstract methods.
- resolveVirtualTargets(String, String, String) - Method in class com.tonic.analysis.callgraph.CallGraph
-
Gets all possible targets for a virtual/interface call.
- restoreVariables(Map<String, SSAValue>) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Restores variable state from a snapshot, discarding the current bindings.
- resultCount() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- results() - Method in class com.tonic.analysis.query.exec.QueryService.QueryResult
- resume() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Resumes free-running execution until a breakpoint, pause request, or completion.
- RET - com.tonic.util.Opcode
-
Resumes execution at the return address held in the local variable at the given index, the counterpart of JSR.
- retainAll(Collection<?>) - Method in class com.tonic.analysis.source.ast.NodeList
- RetInstruction - Class in com.tonic.analysis.instruction
-
Represents the RET instruction (0xA9).
- RetInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.RetInstruction
-
Constructs a RetInstruction.
- RETURN - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value handed back to the caller, a taint sink since it escapes this method.
- RETURN - com.tonic.analysis.execution.dispatch.DispatchResult
-
The current frame completes and hands its return value, if any, to the caller.
- RETURN - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
The current frame completes and hands its return value, if any, to the caller.
- RETURN - com.tonic.analysis.pdg.edge.PDGDependenceType
-
Links a method exit back to the point in the caller where execution resumes.
- RETURN - com.tonic.analysis.source.parser.TokenType
-
Leaves the enclosing method or constructor, with a value unless it is void.
- RETURN - com.tonic.util.ReturnType
-
Void return instruction.
- RETURN - Static variable in interface com.tonic.type.AccessFlags
- RETURN_ - com.tonic.util.Opcode
-
Returns from a method declared void, producing no value; the trailing underscore avoids the Java keyword.
- RETURN_ADDRESS - com.tonic.analysis.execution.state.ValueTag
-
A jsr return address occupying one slot; produced only by the legacy subroutine opcodes.
- RETURN_TYPE - com.tonic.analysis.dependency.DependencyType
-
Method return type
- RETURN_VALUE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Links a call site to the value the call yields back into the caller.
- RETURN_VALUE - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The return value (for exit hooks)
- returnAddress(int) - Static method in class com.tonic.analysis.execution.state.ConcreteValue
-
Creates the value pushed by jsr.
- ReturnHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for return statements.
- returning(SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Sets the return type; defaults to void.
- ReturnInstruction - Class in com.tonic.analysis.ssa.ir
-
A method return, with or without a value.
- ReturnInstruction() - Constructor for class com.tonic.analysis.ssa.ir.ReturnInstruction
-
Creates a void return.
- ReturnInstruction(Value) - Constructor for class com.tonic.analysis.ssa.ir.ReturnInstruction
-
Creates a value return and registers a use of an SSA return value.
- returnStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches return statements.
- returnStmt(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a value-returning return statement node.
- returnStmt(Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a return statement with a value.
- ReturnStmt - Class in com.tonic.analysis.source.ast.stmt
-
A return statement with an optional value expression.
- ReturnStmt() - Constructor for class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Creates a void return statement.
- ReturnStmt(Expression) - Constructor for class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Creates a return statement with an unknown location.
- ReturnStmt(Expression, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Creates a return statement and parents the value to it when present.
- ReturnType - Enum in com.tonic.util
-
Enum representing JVM return instruction types.
- returnTypeFromDescriptor(String) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Parses the return type of a method descriptor.
- returnVoid() - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a void return statement node.
- returnVoid() - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a valueless return statement.
- returnWithValue() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches return statements with a value.
- ReverseOperatorMapper - Class in com.tonic.analysis.source.lower
-
Maps AST operators to IR operators (reverse of OperatorMapper in recovery).
- RING - com.tonic.analysis.query.ast.RunSpec.TraceMode
-
Keep only the most recent events in a fixed-size buffer, so a long run still leaves the tail leading up to a failure; the default.
- RPAREN - com.tonic.analysis.query.parser.Token.TokenType
-
The character
), closing what anLPARENopened. - RPAREN - com.tonic.analysis.source.parser.TokenType
-
Closes the construct opened by the matching LPAREN.
- run() - Method in class com.tonic.analysis.absexec.Execution
-
Explores the method from its entry frame until the work queue drains or the frame cap is hit.
- run(ProbePlan, QueryBatchRunner.ProgressListener) - Method in class com.tonic.analysis.query.exec.QueryBatchRunner
-
Evaluates the plan's condition over every class or method the scope filter admits, then applies the query's ordering and limit.
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.AlgebraicSimplification
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.BitTrackingDCE
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.BlockMerging
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.CommonSubexpressionElimination
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.ConditionalConstantPropagation
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.ConstantFolding
-
Runs the constant folding transformation on the specified method.
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.ControlFlowReducibility
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.CopyPropagation
-
Runs the copy propagation transformation on the specified method.
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.CorrelatedValuePropagation
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.DeadCodeElimination
-
Runs the dead code elimination transformation on the specified method.
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.DuplicateBlockMerging
- run(IRMethod) - Method in interface com.tonic.analysis.ssa.transform.IRTransform
-
Runs the transformation on the specified method.
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.JumpThreading
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.LoopInvariantCodeMotion
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.LoopPredication
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.NullCheckElimination
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.PeepholeOptimizations
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.PhiConstantPropagation
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.Reassociate
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.RedundantCopyElimination
- run(IRMethod) - Method in class com.tonic.analysis.ssa.transform.StrengthReduction
- run(ClassFile, SSA) - Method in interface com.tonic.analysis.ssa.transform.ClassTransform
-
Runs the transformation on the specified class.
- run(ClassFile, SSA) - Method in class com.tonic.analysis.ssa.transform.DeadMethodElimination
- run(ClassFile, SSA) - Method in class com.tonic.analysis.ssa.transform.MethodInlining
- RUN - com.tonic.analysis.execution.debug.StepMode
-
Run freely; only a breakpoint or an explicit pause request stops execution.
- RUN_TO_CURSOR - com.tonic.analysis.execution.debug.StepMode
-
Run until the current method reaches a caller-supplied offset; both the offset and the method signature must match before pausing.
- runClassTransforms(ClassFile) - Method in class com.tonic.analysis.ssa.SSA
-
Runs all registered class-level transforms on a class file.
- RUNNING - com.tonic.analysis.execution.debug.DebugSessionState
-
Executing instructions freely until a breakpoint, a step limit, or completion.
- RUNNING - com.tonic.analysis.execution.debug.DebugState.Status
-
Executing freely, not stopped at any breakpoint.
- runSpec() - Method in class com.tonic.analysis.query.ast.FindQuery
- runSpec() - Method in interface com.tonic.analysis.query.ast.Query
- runSpec() - Method in class com.tonic.analysis.query.ast.ShowQuery
- RunSpec - Class in com.tonic.analysis.query.ast
-
Execution budget and tracing configuration for queries that require running code.
- RunSpec(int, int, int, RunSpec.TraceMode, int) - Constructor for class com.tonic.analysis.query.ast.RunSpec
-
Creates a run specification.
- RunSpec.Builder - Class in com.tonic.analysis.query.ast
-
Mutable builder for RunSpec instances.
- RunSpec.TraceMode - Enum in com.tonic.analysis.query.ast
-
How much execution trace to retain: none, a bounded ring, or the full trace.
- RUNTIME_ABI - com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.ObjectModel
-
Full construct set.
- RUNTIME_EXCEPTION - Static variable in class com.tonic.util.CommonTypes
- RuntimeInvisibleAnnotationsAttribute - Class in com.tonic.parser.attribute
-
The RuntimeInvisibleAnnotations attribute: annotations not retained for runtime reflection.
- RuntimeInvisibleAnnotationsAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.RuntimeInvisibleAnnotationsAttribute
-
Creates the attribute shell for parsing, attached to a member, with visibility fixed to false.
- RuntimeVisibleAnnotationsAttribute - Class in com.tonic.parser.attribute
-
The RuntimeVisibleAnnotations or RuntimeInvisibleAnnotations attribute, distinguished by a visibility flag.
- RuntimeVisibleAnnotationsAttribute(String, ClassFile, boolean, int, int) - Constructor for class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
-
Creates the attribute shell for parsing, attached to a class.
- RuntimeVisibleAnnotationsAttribute(String, MemberEntry, boolean, int, int) - Constructor for class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
-
Creates the attribute shell for parsing, attached to a member.
- RuntimeVisibleParameterAnnotationsAttribute - Class in com.tonic.parser.attribute
-
The RuntimeVisibleParameterAnnotations or RuntimeInvisibleParameterAnnotations attribute.
- RuntimeVisibleParameterAnnotationsAttribute(String, ClassFile, boolean, int, int) - Constructor for class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
-
Creates the attribute shell for parsing, attached to a class.
- RuntimeVisibleParameterAnnotationsAttribute(String, MemberEntry, boolean, int, int) - Constructor for class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
-
Creates the attribute shell for parsing, attached to a member.
- runToCursor(int) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Runs until the current method reaches the given pc.
- runTransforms(IRMethod) - Method in class com.tonic.analysis.ssa.SSA
-
Runs all registered transforms on a method until a fixed point is reached.
S
- saload() - Method in class com.tonic.builder.CodeBuilder
-
Appends
saload, loading a short element from an array. - SALOAD - com.tonic.util.Opcode
-
Pops a short array reference and an int index, and pushes the element sign-extended to an int.
- SALoadInstruction - Class in com.tonic.analysis.instruction
-
Represents the SALOAD instruction (0x35).
- SALoadInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.SALoadInstruction
-
Constructs a SALoadInstruction.
- SameFrame - Class in com.tonic.parser.attribute.stack
-
Represents a SameFrame in the StackMapTable attribute.
- SameFrame(int) - Constructor for class com.tonic.parser.attribute.stack.SameFrame
-
Constructs a SameFrame.
- SameFrameExtended - Class in com.tonic.parser.attribute.stack
-
A same_frame_extended stack map entry - unchanged type state, with the offset delta stored explicitly.
- SameFrameExtended(int) - Constructor for class com.tonic.parser.attribute.stack.SameFrameExtended
-
Creates a frame with tag 251 for emission.
- SameFrameExtended(int, ClassFile) - Constructor for class com.tonic.parser.attribute.stack.SameFrameExtended
-
Reads the frame's offset delta from the class file at its current position.
- SameLocals1StackItemFrame - Class in com.tonic.parser.attribute.stack
-
Represents a SameLocals1StackItemFrame in the StackMapTable attribute.
- SameLocals1StackItemFrame(int, VerificationTypeInfo) - Constructor for class com.tonic.parser.attribute.stack.SameLocals1StackItemFrame
-
Builds a frame directly, encoding the delta into the frame tag.
- SameLocals1StackItemFrame(int, ClassFile, ConstPool) - Constructor for class com.tonic.parser.attribute.stack.SameLocals1StackItemFrame
-
Reads the single stack entry for this frame from the class file.
- SameLocals1StackItemFrameExtended - Class in com.tonic.parser.attribute.stack
-
Represents a SameLocals1StackItemFrameExtended in the StackMapTable attribute.
- SameLocals1StackItemFrameExtended(int, VerificationTypeInfo) - Constructor for class com.tonic.parser.attribute.stack.SameLocals1StackItemFrameExtended
-
Creates a frame with frame type 247.
- SameLocals1StackItemFrameExtended(int, ClassFile, ConstPool) - Constructor for class com.tonic.parser.attribute.stack.SameLocals1StackItemFrameExtended
-
Reads the offset delta and stack item from the class file's current position.
- Sanitizer(String, String) - Constructor for class com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
- sastore() - Method in class com.tonic.builder.CodeBuilder
-
Appends
sastore, storing a short element into an array. - SASTORE - com.tonic.util.Opcode
-
Pops a short array reference, an int index and an int value, and stores the value truncated to a short.
- SAStoreInstruction - Class in com.tonic.analysis.instruction
-
Represents the SASTORE instruction (0x56).
- SAStoreInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.SAStoreInstruction
-
Constructs a SASToreInstruction.
- satisfiableGiven(BoolFormula) - Method in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
Tests satisfiability restricted to the assignments the registered domains allow.
- saveClassFile(byte[], String, String) - Static method in class com.tonic.util.ClassFileUtil
-
Saves a byte array as a .class file in the specified directory.
- scalar() - Method in class com.tonic.analysis.query.eval.AttributeRegistry.Entry
- schedule() - Method in class com.tonic.analysis.ssa.lower.StackScheduler
-
Schedules every block in order, appending to the existing schedule and updating the peak stack depth.
- ScheduledInstruction(IRInstruction, StackScheduler.ScheduleType) - Constructor for class com.tonic.analysis.ssa.lower.StackScheduler.ScheduledInstruction
-
Creates a schedule entry.
- scope() - Method in class com.tonic.analysis.query.ast.FindQuery
- scope() - Method in interface com.tonic.analysis.query.ast.Query
- scope() - Method in class com.tonic.analysis.query.ast.ShowQuery
- Scope - Interface in com.tonic.analysis.query.ast
-
Query scope - limits which code locations to analyze.
- ScopeEscapeHoister - Class in com.tonic.analysis.source.ast.transform
-
Repairs declarations whose variable escapes its block.
- ScopeEscapeHoister() - Constructor for class com.tonic.analysis.source.ast.transform.ScopeEscapeHoister
- ScopeFilterVisitor - Class in com.tonic.analysis.query.planner.visitor
-
Translates a
Scopeinto a static prefilter over the candidate set. - ScopeFilterVisitor() - Constructor for class com.tonic.analysis.query.planner.visitor.ScopeFilterVisitor
- ScopeVisitor<T> - Interface in com.tonic.analysis.query.ast
-
Visitor over the closed set of query scope variants.
- SDG - Class in com.tonic.analysis.pdg.sdg
-
System dependence graph - the per-method PDGs joined by parameter and summary edges at resolved call sites.
- SDG(CallGraph) - Constructor for class com.tonic.analysis.pdg.sdg.SDG
-
Creates an empty graph over a call graph; PDGs and entries are added afterwards.
- SDG_ACTUAL_IN - com.tonic.analysis.cpg.node.CPGNodeType
-
An argument supplied at a call site, paired with the callee's formal-in.
- SDG_ACTUAL_OUT - com.tonic.analysis.cpg.node.CPGNodeType
-
The value handed back to the caller at a call site, paired with the callee's formal-out.
- SDG_FORMAL_IN - com.tonic.analysis.cpg.node.CPGNodeType
-
A value entering a method at its entry, the callee side of an actual-in.
- SDG_FORMAL_OUT - com.tonic.analysis.cpg.node.CPGNodeType
-
A value leaving a method at its exit, the callee side of an actual-out.
- SDGActualInNode - Class in com.tonic.analysis.pdg.sdg.node
-
SDG node for one actual argument passed at a call site.
- SDGActualInNode(int, int, Value, IRBlock) - Constructor for class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
-
Creates an actual-in node; the owning call node is set separately.
- SDGActualOutNode - Class in com.tonic.analysis.pdg.sdg.node
-
SDG node for the value a call site receives back from the callee.
- SDGActualOutNode(int, SSAValue, IRBlock) - Constructor for class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
-
Creates an actual-out node; the owning call node is set separately.
- SDGBuilder - Class in com.tonic.analysis.pdg.sdg
-
A builder for a system dependence graph, stitching per-method PDGs together over a call graph.
- SDGBuilder(CallGraph, Map<MethodReference, IRMethod>) - Constructor for class com.tonic.analysis.pdg.sdg.SDGBuilder
-
Creates a builder over the given call graph and method bodies.
- SDGCallNode - Class in com.tonic.analysis.pdg.sdg.node
-
System dependence graph node for a call site, holding the actual-in nodes for its arguments, an optional actual-out node, and a link to the callee entry once resolved.
- SDGCallNode(int, InvokeInstruction, CallSite, IRBlock) - Constructor for class com.tonic.analysis.pdg.sdg.node.SDGCallNode
-
Creates a call-site node with no actual-in, actual-out or callee link yet.
- SDGDOTExporter - Class in com.tonic.analysis.graph.export
-
DOT exporter for a system dependence graph, rendering entry, call, formal and actual parameter nodes plus the interprocedural parameter and summary edges.
- SDGDOTExporter() - Constructor for class com.tonic.analysis.graph.export.SDGDOTExporter
-
Creates an exporter using the default rendering configuration.
- SDGDOTExporter(DOTExporterConfig) - Constructor for class com.tonic.analysis.graph.export.SDGDOTExporter
-
Creates an exporter using the given rendering configuration.
- SDGEntryNode - Class in com.tonic.analysis.pdg.sdg.node
-
The entry node of one procedure in a system dependence graph, owning that procedure's PDG plus its formal-in and formal-out parameter nodes.
- SDGEntryNode(int, MethodReference, IRBlock) - Constructor for class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
-
Creates an entry node for a procedure.
- SDGFormalInNode - Class in com.tonic.analysis.pdg.sdg.node
-
System dependence graph node for one formal parameter at a method entry; it defines the parameter's SSA value and uses nothing.
- SDGFormalInNode(int, int, SSAValue, String, IRBlock) - Constructor for class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
-
Creates a formal-in node that is not yet linked to its entry node.
- SDGFormalOutNode - Class in com.tonic.analysis.pdg.sdg.node
-
System dependence graph node for a method's returned value at its exit; it uses the returned SSA value and defines nothing.
- SDGFormalOutNode(int, SSAValue, String, IRBlock) - Constructor for class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
-
Creates a formal-out node that is not yet linked to its entry node.
- SDGPrinter - Class in com.tonic.analysis.graph.print
-
Renders a system dependence graph as indented plain text, including formal and actual parameter nodes and interprocedural edges.
- SDGPrinter() - Constructor for class com.tonic.analysis.graph.print.SDGPrinter
-
Creates a printer using the default config.
- SDGPrinter(GraphPrinterConfig) - Constructor for class com.tonic.analysis.graph.print.SDGPrinter
-
Creates a printer with explicit settings.
- SDGSlicer - Class in com.tonic.analysis.pdg.sdg.slice
-
Interprocedural slicer over a system dependence graph, using the two-phase ascend/descend walk so slices stay context sensitive across call sites.
- SDGSlicer(SDG) - Constructor for class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Creates a slicer over a graph, with summary edges and context sensitivity on.
- searchIncomingRefs(String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Scans every reference for a target class or member containing the query, with dots in the query treated as package separators.
- searchOutgoingRefs(String) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Scans every reference for a source class or method containing the query, with dots in the query treated as package separators.
- SearchResult - Class in com.tonic.analysis.pattern
-
A single pattern-search hit, locating a class, method, or IR instruction with a description.
- SearchResult(ClassFile, MethodEntry, IRInstruction, int, String) - Constructor for class com.tonic.analysis.pattern.SearchResult
-
Creates an instruction-level result.
- SearchResult(ClassFile, MethodEntry, String) - Constructor for class com.tonic.analysis.pattern.SearchResult
-
Creates a method-level result with no instruction.
- SearchResult(ClassFile, String) - Constructor for class com.tonic.analysis.pattern.SearchResult
-
Creates a class-level result with no method or instruction.
- SecurityHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for AccessController and the native seed generator; privileged actions return null rather than being run.
- SecurityHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.SecurityHandlers
- seeds() - Method in class com.tonic.analysis.query.ast.RunSpec
- seeds(int) - Method in class com.tonic.analysis.query.ast.RunSpec.Builder
-
Sets the number of seed inputs per entry point.
- selector() - Method in class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
- SEMANTIC - com.tonic.analysis.source.ast.validation.ValidationError.Category
-
The tree is well formed but the code it describes is not meaningful Java, such as a try with neither a catch nor a finally.
- SEMANTIC_RENAME - com.tonic.analysis.source.emit.IdentifierMode
-
Rename invalid identifiers to semantic names (method_1, field_2, etc.).
- SEMICOLON - com.tonic.analysis.source.parser.TokenType
-
Terminates a statement or declaration, and separates the clauses of a classic for loop.
- sensitiveArgumentIndex(int) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- Sequence(List<Condition.Sequence.Element>) - Constructor for class com.tonic.analysis.query.ast.Condition.Sequence
-
Creates an instruction-sequence pattern over a defensive copy of the elements.
- SEQUENCE - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
Straight-line code with no branching of its own; the fallback when no other shape fits.
- set(int, VarCtx) - Method in class com.tonic.analysis.absexec.Variables
-
Writes a slot, ignoring out-of-range indices.
- set(int, ConcreteValue) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores a value, clearing the following slot for wide values.
- set(int, ConcreteValue) - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Replaces a value by absolute index from the bottom.
- set(int, SimValue) - Method in class com.tonic.analysis.simulation.state.LocalState
-
Writes a single slot.
- set(int, Object) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes an element, unboxing to the storage type as needed.
- set(int, T) - Method in class com.tonic.analysis.source.ast.NodeList
- SET - com.tonic.analysis.query.value.ValueKind
-
An ordered list of member values, the only kind the
inoperator accepts on its right. - setAbstract() - Method in class com.tonic.util.AccessBuilder
-
Sets the
abstractaccess flag. - setAbstract(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
abstractaccess flag. - setAccess(int) - Method in class com.tonic.parser.MemberEntry
- setAccessFlags(int) - Method in class com.tonic.util.AccessBuilder
-
Replaces the accumulated flags with an existing access-flags value.
- setActualOut(SDGActualOutNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
-
Attaches the node standing for the value this call returns.
- setAnnotation() - Method in class com.tonic.util.AccessBuilder
-
Sets the
annotationaccess flag. - setAnnotation(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
annotationaccess flag. - setAnnotations(List<Annotation>) - Method in class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
- setAnnotationType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Sets the annotation type.
- setArray(Expression) - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
-
Replaces the array operand, reparenting the new child.
- setAttributes(List<Attribute>) - Method in class com.tonic.parser.attribute.CodeAttribute
- setAttributes(List<Attribute>) - Method in class com.tonic.parser.MemberEntry
- setBlock(IRBlock) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Sets the block this node belongs to.
- setBlock(IRBlock) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- setBody(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Replaces the body, reparenting the new child.
- setBody(BlockStmt) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Sets the constructor body.
- setBody(BlockStmt) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the body, reparenting the new block and releasing the old one.
- setBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Replaces the loop body, reparenting old and new nodes.
- setBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Replaces the loop body, reparenting old and new nodes.
- setBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Replaces the loop body, reparenting old and new nodes.
- setBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Replaces the guarded body, reparenting old and new nodes.
- setBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Replaces the loop body, reparenting it and releasing the previous one.
- setBoolean(int, boolean) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a boolean element.
- setBootstrapClassArgs(List<String>) - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- setBoundaryDuplicableTails(Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
Names the stop blocks this offer may inline once at the region's convergence onto them.
- setBranchTarget(int) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Records the bytecode offset a taken branch should continue at.
- setBranchTarget(Instruction, Instruction) - Method in class com.tonic.analysis.CodeWriter
-
Registers the target of a (typically newly created) branch instruction by identity, so that the relink pass can compute its relative offset.
- setBridge() - Method in class com.tonic.util.AccessBuilder
-
Sets the
bridgeaccess flag. - setBridge(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
bridgeaccess flag. - setBuildTimeMs(long) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Records how long the indexing run took.
- setByte(int, byte) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a byte element.
- setBytecodeOffset(int) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- setBytecodeOffset(int) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- setCallNode(SDGCallNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
-
Links this node back to the call site that owns it.
- setCallNode(SDGCallNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
-
Links this node back to the call site that owns it.
- setCatchType(ReferenceType) - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- setChar(int, char) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a char element.
- setClassFile(ClassFile) - Method in class com.tonic.parser.constpool.Item
-
Binds this item to the class file that owns its pool.
- setClassFile(ClassFile) - Method in class com.tonic.parser.ConstPool
-
Sets the ClassFile reference for this constant pool.
- setClassFile(ClassFile) - Method in class com.tonic.parser.MemberEntry
- setClassIndex(int) - Method in class com.tonic.parser.constpool.FieldRefItem
-
Repoints this field reference at a different owner class (constant-pool class index).
- setClassIndex(int) - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Repoints this interface-method reference at a different owner class (constant-pool class index).
- setClassIndex(int) - Method in class com.tonic.parser.constpool.MethodRefItem
-
Sets the class index.
- setClassIndex(int) - Method in class com.tonic.parser.constpool.structure.FieldRef
-
Repoints the reference at another owning class entry.
- setClassIndex(int) - Method in class com.tonic.parser.constpool.structure.InterfaceRef
-
Repoints this reference at a different owner class.
- setClassIndex(int) - Method in class com.tonic.parser.constpool.structure.MethodRef
- setClassName(String) - Method in class com.tonic.parser.ClassFile
-
Sets the class name (internal name like "com/tonic/TestClass").
- setClassPool(ClassPool) - Method in class com.tonic.parser.ClassFile
- setClassResolver(Object) - Method in class com.tonic.analysis.execution.heap.ObjectInstance
-
Attaches the resolver used for type hierarchy queries.
- setClassResolver(Object) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
-
Sets the resolver attached to every subsequently allocated object.
- setCode(byte[]) - Method in class com.tonic.parser.attribute.CodeAttribute
- setCondition(Expression) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Replaces the test, reparenting it and releasing the old one.
- setCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Replaces the loop condition, reparenting old and new nodes.
- setCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Replaces the loop condition, reparenting old and new nodes.
- setCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Replaces the branch condition, reparenting old and new nodes.
- setCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Replaces the loop condition, reparenting it and releasing the previous one.
- setCondition(String) - Method in class com.tonic.analysis.execution.debug.Breakpoint
-
Sets an optional condition expression attached to this breakpoint.
- setConditionBlocks(Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setConditionNegated(boolean) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setConstantValueIndex(int) - Method in class com.tonic.parser.attribute.ConstantValueAttribute
- setConstPool(ConstPool) - Method in class com.tonic.parser.ClassFile
- setConstPool(ConstPool) - Method in class com.tonic.parser.constpool.ConstantDynamicItem
-
Sets the constant pool reference for name/descriptor resolution.
- setConstPool(ConstPool) - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Binds the pool used to resolve this reference, needed when the item was not read from a class file.
- setConstPool(ConstPool) - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
-
Binds the pool used to resolve the name and descriptor indices.
- setContinueTarget(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setCurrentBlock(IRBlock) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets the block instructions are emitted into.
- setCurrentClassDecl(TypeDecl) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Sets the enclosing class declaration used to resolve member references during lowering.
- setCurrentClassDecl(TypeDecl) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Sets the source declaration consulted before the class pool.
- setCurrentClassName(String) - Method in class com.tonic.analysis.source.emit.SourceEmitter
-
Sets the name of the class currently being emitted.
- setCurrentMethodName(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets the name of the method being lowered.
- setCurrentMethodReturnType(SourceType) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets the declared return type of the method being lowered.
- setCurrentStatement(Statement) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Sets the current statement; called by the editor during traversal.
- setDebugContext(String, int) - Static method in class com.tonic.analysis.ssa.lift.AbstractState
-
Records the block and offset reported by stack-underflow errors.
- setDebugDescriptorResolver(BiFunction<Integer, Integer, String>) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Installs the lookup backing debugDescriptorAt.
- setDebugNameResolver(IntFunction<String>) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Installs the lookup backing debugNameForSlot.
- setDebugStoreDescriptorResolver(BiFunction<Integer, Integer, String>) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Installs the lookup backing debugDescriptorAtStore.
- setDefaultTarget(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setDefaultTarget(IRBlock) - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- setDefinition(IRInstruction) - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Records the instruction that produces this value.
- setDesc(String) - Method in class com.tonic.parser.MemberEntry
- setDescIndex(int) - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
-
Repoints this entry at a different descriptor.
- setDescIndex(int) - Method in class com.tonic.parser.MemberEntry
- setDescriptorIndex(int) - Method in class com.tonic.parser.constpool.MethodTypeItem
-
Sets the descriptor index.
- setDescriptorIndex(int) - Method in class com.tonic.parser.constpool.structure.NameAndType
-
Repoints the pair at a different descriptor.
- setDouble(int, double) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a double element.
- setDouble(int, double) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores a double.
- setElseBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setElseBranch(Statement) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Replaces the else branch, reparenting old and new nodes.
- setElseExpr(Expression) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Replaces the else-value, reparenting it and releasing the old one.
- setEmitLocalInstructions(boolean) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets whether Load/Store instructions are emitted for variable access; loops need them.
- setEnabled(boolean) - Method in class com.tonic.analysis.execution.debug.Breakpoint
-
Enables or disables this breakpoint.
- setEnclosingBlock(BlockStmt) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Sets the enclosing block; called by the editor during traversal.
- setEnclosingInstance(Expression) - Method in class com.tonic.analysis.source.ast.expr.NewExpr
-
Replaces the enclosing instance, reparenting the new one and releasing the old.
- setEndPc(int) - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- setEntryBlock(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- setEntryNode(PDGRegionNode) - Method in class com.tonic.analysis.pdg.PDG
-
Sets the region node all top-level statements are control dependent on.
- setEntryNode(SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
-
Links this parameter back to the entry node of its owning method.
- setEntryNode(SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
-
Links this return back to the entry node of its owning method.
- setEnum() - Method in class com.tonic.util.AccessBuilder
-
Sets the
enumaccess flag. - setEnum(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
enumaccess flag. - setEnumClassPool(ClassPool) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Sets the pool enum constants resolve from for switches that dispatch on ordinal() directly.
- setException(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
-
Replaces the thrown expression, adopting the new one and detaching the old.
- setExitNode(PDGRegionNode) - Method in class com.tonic.analysis.pdg.PDG
-
Sets the region node representing method exit.
- setExpression(Expression) - Method in class com.tonic.analysis.source.ast.expr.CastExpr
-
Replaces the cast operand, reparenting the new child.
- setExpression(Expression) - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
-
Replaces the tested expression, reparenting the new child.
- setExpression(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
-
Replaces the wrapped expression, reparenting old and new nodes.
- setFailOnError(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether instrumentation fails on the first error rather than continuing.
- setFalseTarget(IRBlock) - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- setField(String, String, String, Object) - Method in class com.tonic.analysis.execution.heap.ObjectInstance
-
Writes a field value.
- setFieldInitialValue(ClassFile, FieldEntry, Object) - Static method in class com.tonic.analysis.ClassFactory
-
Prepends a store of a constant to a field at the top of the class initializer for a static field, or the no-argument constructor for an instance field, creating that method if absent.
- setFieldName(String) - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- setFinal() - Method in class com.tonic.util.AccessBuilder
-
Sets the
finalaccess flag. - setFinal(boolean) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Marks the parameter final or not.
- setFinal(boolean) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- setFinal(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
finalaccess flag. - setFinallyBlock(Statement) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Replaces the finally block, reparenting it and releasing the previous one.
- setFloat(int, float) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a float element.
- setFloat(int, float) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores a float.
- setFormalOut(SDGFormalOutNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
-
Sets the node representing this procedure's return value.
- setFrames(List<StackMapFrame>) - Method in class com.tonic.parser.attribute.StackMapTableAttribute
-
Sets the frames for this StackMapTable.
- setHandlerBlock(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- setHandlerExceptionValues(Map<IRBlock, SSAValue>) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Records the caught-exception value for each handler block, as recovered by the bytecode lifter.
- setHandlerPc(int) - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- setHeaderConditional(StructuralAnalyzer.RegionInfo) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setImports(List<ImportDecl>) - Method in class com.tonic.analysis.source.lower.ASTLowerer
-
Sets the imports used to resolve simple type names during lowering.
- setImports(List<ImportDecl>) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Sets the imports used to qualify simple type names.
- setIncomplete() - Method in class com.tonic.analysis.typeinference.TypeSet
-
Marks the set as possibly including subtypes of its members.
- setIncrementBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setIndex(Expression) - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
-
Replaces the index operand, reparenting the new child.
- setInductionLocalIndex(int) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setInductionVariable(SSAValue) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setInitializer(ArrayInitExpr) - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- setInitializer(Expression) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Sets the initializer expression.
- setInitializer(Expression) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Replaces the initializer through withInitializer, so parent links are maintained.
- setInnerNameIndex(int) - Method in class com.tonic.parser.attribute.table.InnerClassEntry
-
Repoints the simple name of the inner class.
- setInsertBefore(boolean) - Method in class com.tonic.analysis.Bytecode
-
Sets whether instructions should be inserted before the current position.
- setInsertBeforeOffset(int) - Method in class com.tonic.analysis.Bytecode
-
Sets the bytecode offset at which insert-before emission places new instructions.
- setInt(int, int) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes an int element.
- setInt(int, int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores an int.
- setInterface() - Method in class com.tonic.util.AccessBuilder
-
Sets the
interfaceaccess flag. - setInterface(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
interfaceaccess flag. - setIterable(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Replaces the iterated expression, reparenting old and new nodes.
- setKey(String) - Method in class com.tonic.parser.MemberEntry
- setLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Sets the loop label.
- setLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Sets the label used by labeled break and continue targeting this loop.
- setLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Sets the loop label.
- setLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Sets the label targeted by labeled break and continue.
- setLatchBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setLeft(Expression) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Replaces the left operand, reparenting the new child.
- setLineMapSink(String, SourceEmitter.LineMapSink) - Method in class com.tonic.analysis.source.emit.SourceEmitter
-
Registers a sink for the 1-based output line each provenance-carrying statement starts on.
- setLocal(int, VerificationType) - Method in class com.tonic.analysis.frame.TypeState
-
Sets a local variable at the given index.
- setLocal(int, SimValue) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Set a local variable.
- setLocal(int, Value) - Method in class com.tonic.analysis.ssa.lift.AbstractState
- setLocalSlotName(int, String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Binds a variable name to a local slot so later loads from the slot recover the same name.
- setLocalValue(int, ConcreteValue) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Overwrites a local variable slot in the current frame while paused.
- setLocalVariableTable(List<LocalVariableTableEntry>) - Method in class com.tonic.parser.attribute.LocalVariableTableAttribute
-
Sets the entries (used when emitting a table during lowering rather than reading one from bytecode).
- setLocalVariableTypeTable(List<LocalVariableTypeTableEntry>) - Method in class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
- setLocalWide(int, SimValue) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Set a wide local variable (long/double).
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- setLocation(SourceLocation) - Method in interface com.tonic.analysis.source.ast.stmt.Statement
-
Sets this statement's source location.
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- setLocation(SourceLocation) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- setLock(Expression) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Replaces the monitor expression, reparenting old and new nodes.
- setLog(boolean) - Static method in class com.tonic.util.Logger
-
Switches logging on or off process-wide; when off, info and error calls print nothing.
- setLong(int, long) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a long element.
- setLong(int, long) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores a long.
- setLoop(LoopAnalysis.Loop) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setLoopBody(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setLoopExit(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setMajorVersion(int) - Method in class com.tonic.parser.ClassFile
- setMaxLocals(int) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- setMaxLocals(int) - Method in class com.tonic.parser.attribute.CodeAttribute
- setMaxStack(int) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- setMaxStack(int) - Method in class com.tonic.parser.attribute.CodeAttribute
- setMergeBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setMethod(IRMethod) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- setMethodHandle(MethodHandle) - Method in class com.tonic.parser.constpool.MethodHandleItem
-
Sets the method handle value.
- setMethodName(String) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- setMethodName(String) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Replaces the referenced method's name.
- setMethodReturnType(SourceType) - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Sets the declared return type of the enclosing method.
- setMinorVersion(int) - Method in class com.tonic.parser.ClassFile
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Sets the element name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Sets the class name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Sets the constructor name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Sets the constant name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Sets the enum name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Sets the field name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Renames the interface.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the method name.
- setName(String) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Renames the parameter.
- setName(String) - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
-
Renames the referenced variable.
- setName(String) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- setName(String) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- setName(String) - Method in class com.tonic.analysis.ssa.value.SSAValue
-
Renames this value.
- setName(String) - Method in class com.tonic.parser.FieldEntry
-
Renames the field, adding the new name Utf8 to the constant pool and refreshing the key.
- setName(String) - Method in class com.tonic.parser.MemberEntry
- setName(String) - Method in class com.tonic.parser.MethodEntry
- setNameAndTypeIndex(int) - Method in class com.tonic.parser.constpool.MethodRefItem
-
Sets the name and type index.
- setNameAndTypeIndex(int) - Method in class com.tonic.parser.constpool.structure.FieldRef
-
Repoints the reference at another name-and-type entry.
- setNameAndTypeIndex(int) - Method in class com.tonic.parser.constpool.structure.MethodRef
- setNameIndex(int) - Method in class com.tonic.parser.constpool.ClassRefItem
-
Sets the name index in the constant pool.
- setNameIndex(int) - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
-
Repoints this entry at a different name.
- setNameIndex(int) - Method in class com.tonic.parser.constpool.structure.NameAndType
-
Repoints the pair at a different member name.
- setNameIndex(int) - Method in class com.tonic.parser.MemberEntry
- setNative() - Method in class com.tonic.util.AccessBuilder
-
Sets the
nativeaccess flag. - setNative(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
nativeaccess flag. - setNonLocalName(Predicate<String>) - Method in class com.tonic.analysis.source.ast.transform.ScopeEscapeHoister
-
Sets the test for names that must never be given a manufactured declaration.
- setNull(int) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores a null reference.
- setOffset(int) - Method in class com.tonic.analysis.instruction.Instruction
-
Updates this instruction's bytecode offset.
- setOperand(Expression) - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Sets the operand, reparenting the new one and releasing the old one.
- setOperator(BinaryOperator) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- setOperator(UnaryOperator) - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Sets the operator.
- setOwnerClass(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets the owner class of the current method.
- setOwnerName(String) - Method in class com.tonic.parser.MemberEntry
- setPackageName(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Sets the package name.
- setParameterAnnotations(List<List<Annotation>>) - Method in class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
- setParameterNames(Collection<String>) - Method in class com.tonic.analysis.source.emit.SourceEmitter
-
Seeds the shadow scope with the emitting method's parameter names (block-emission path).
- setParent(ASTNode) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Sets the parent node in the AST tree.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Sets the parent node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Records the node this declaration hangs under.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Records the node this parameter hangs under.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Sets the node this expression hangs under.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.SuperExpr
-
Sets the enclosing node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
-
Records the node this expression hangs under.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Sets the node this expression hangs under.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.ThisExpr
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
-
Sets the enclosing node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Sets the enclosing AST node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
-
Sets the enclosing node.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Sets the node this statement hangs from.
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- setParent(ASTNode) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Sets the node this statement hangs from.
- setParent(ASTNode) - Method in interface com.tonic.analysis.source.ast.type.SourceType
-
Does nothing, since types keep no parent link.
- setParent(LoopAnalysis.Loop) - Method in class com.tonic.analysis.ssa.analysis.LoopAnalysis.Loop
- setParent(MethodEntry) - Method in class com.tonic.parser.attribute.CodeAttribute
-
Sets the parent method entry for this code attribute.
- setPatternVariable(String) - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- setPC(int) - Method in class com.tonic.analysis.execution.frame.StackFrame
-
Moves the program counter to an absolute bytecode offset.
- setPendingArrayDimensions(int[]) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands an array allocation to the interpreter.
- setPendingConstantDynamic(ConstantDynamicInfo) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands a dynamic constant to the interpreter.
- setPendingFieldAccess(FieldInfo) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands a field access to the interpreter.
- setPendingInvoke(MethodInfo) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands an invocation to the interpreter.
- setPendingInvokeDynamic(InvokeDynamicInfo) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands an invokedynamic call site to the interpreter.
- setPendingMethodHandle(MethodHandleInfo) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands a method handle constant to the interpreter.
- setPendingMethodType(MethodTypeInfo) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands a method type constant to the interpreter.
- setPendingNewClass(String) - Method in interface com.tonic.analysis.execution.dispatch.DispatchContext
-
Hands an allocation to the interpreter.
- setPhiCopyMapping(Map<SSAValue, List<CopyInfo>>) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- setPrivate() - Method in class com.tonic.util.AccessBuilder
-
Sets the
privateaccess flag. - setPrivate(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
privateaccess flag. - setProcedurePDG(PDG) - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
-
Attaches the dependence graph built for this procedure's body.
- setProgressCallback(Consumer<String>) - Method in class com.tonic.analysis.similarity.MethodSimilarityAnalyzer
-
Sets a callback to receive progress messages during indexing and comparison.
- setProgressCallback(Consumer<String>) - Method in class com.tonic.analysis.xref.XrefBuilder
-
Sets a callback invoked with progress messages during the scan.
- setProperty(String, Object) - Method in class com.tonic.analysis.cpg.edge.CPGEdge
-
Sets a property value.
- setProperty(String, Object) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Sets a property value.
- setProtected() - Method in class com.tonic.util.AccessBuilder
-
Sets the
protectedaccess flag. - setProtected(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
protectedaccess flag. - setPublic() - Method in class com.tonic.util.AccessBuilder
-
Sets the
publicaccess flag. - setPublic(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
publicaccess flag. - setReason(String) - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
-
Sets the description of why this region is irreducible.
- setReceiver(Expression) - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Replaces the receiver, reparenting the new child.
- setReceiver(Expression) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Replaces the receiver, reparenting the new child.
- setReceiver(Expression) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Replaces the receiver, reparenting it and releasing the old one.
- setRecordDeconstruction(boolean) - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- setReference(int, ObjectInstance) - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Stores a reference.
- setRegion(IRBlock, ControlFlowContext.StructuredRegion) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Records the structured shape a block was recovered as.
- setResult(Expression) - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr.Arm
-
Replaces the value the arm yields; the parent link is not updated.
- setResult(SSAValue) - Method in class com.tonic.analysis.ssa.ir.IRInstruction
- setReturnType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the declared return type.
- setReturnType(IRType) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Sets the return type of this method.
- setRight(Expression) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Replaces the right operand, reparenting the new child.
- setSelector(Expression) - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
-
Replaces the value switched on, adopting the new selector and releasing the old one.
- setSelector(Expression) - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Replaces the selector expression, reparenting old and new nodes.
- setShort(int, short) - Method in class com.tonic.analysis.execution.heap.ArrayInstance
-
Writes a short element.
- setSignature(String) - Method in class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- setSkipAbstract(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether abstract methods are skipped.
- setSkipBridge(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether bridge methods are skipped.
- setSkipConstructors(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether constructors are skipped.
- setSkipNative(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether native methods are skipped.
- setSkipStaticInitializers(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether static initializers are skipped.
- setSkipSynthetic(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether synthetic methods are skipped.
- setSlotPartition(SlotVariablePartition) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
- setSourceMethod(MethodEntry) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- setSSAValueSlot(SSAValue, int) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Records the slot an SSA value was stored to, keeping the first one recorded.
- setStackValue(int, ConcreteValue) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Overwrites an operand stack entry in the current frame while paused.
- setStackValue(int, Value) - Method in class com.tonic.analysis.ssa.lift.AbstractState
-
Replaces the value at a stack slot in place.
- setStartPc(int) - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- setStatement(Statement) - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
-
Replaces the labeled statement, reparenting old and new nodes.
- setStatementIndex(int) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Sets the statement index; called by the editor during traversal.
- setStatements(IRBlock, List<Statement>) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Records the statements recovered for a block, replacing any earlier set.
- setStatic() - Method in class com.tonic.util.AccessBuilder
-
Sets the
staticaccess flag. - setStatic(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
staticaccess flag. - setStrict(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
strictfpaccess flag. - setStrictfp() - Method in class com.tonic.util.AccessBuilder
-
Sets the
strictfpaccess flag. - setSuperclass(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Sets the superclass type.
- setSuperClassName(String) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets the superclass of the owner class.
- setSuperClassName(String) - Method in class com.tonic.parser.ClassFile
-
Sets the superclass name (internal name like "java/lang/Object").
- setSuperclassResolver(Function<String, String>) - Static method in class com.tonic.analysis.frame.TypeState
-
Installs the global resolver used to walk superclass chains when merging reference types.
- setSuppressBoundaryTerminalAbsorption(boolean) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
Tells the structurer to leave a boundary terminal past the stops to the host's continuation recovery instead of pulling it into the region.
- setSwitchCases(Map<Integer, IRBlock>) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setSwitchLabel(String, IRBlock) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Registers the block a switch case branches to.
- setSwitchSelector(SSAValue) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setSwitchSpineBlocks(Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setSwitchTargets(Instruction, Instruction, List<Instruction>) - Method in class com.tonic.analysis.CodeWriter
-
Registers the targets of a switch instruction by identity: the default target followed by one target per case in case order.
- setSynchronized() - Method in class com.tonic.util.AccessBuilder
-
Sets the
synchronizedaccess flag. - setSynchronized(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
synchronizedaccess flag. - setSynthetic() - Method in class com.tonic.util.AccessBuilder
-
Sets the
syntheticaccess flag. - setSynthetic(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
syntheticaccess flag. - setTainted(boolean) - Method in class com.tonic.analysis.cpg.edge.CPGEdge
-
Marks or clears this edge as part of a taint flow.
- setTainted(boolean) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Marks or clears this node as taint-reached.
- setTainted(boolean) - Method in class com.tonic.analysis.dataflow.DataFlowNode
-
Sets the taint flag without touching the recorded source.
- setTainted(boolean) - Method in class com.tonic.analysis.pdg.edge.PDGEdge
-
Marks whether tainted data travels along this edge.
- setTainted(boolean) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Marks or clears this node as carrying tainted data.
- setTaintLabel(String) - Method in class com.tonic.analysis.cpg.node.CPGNode
-
Records which taint source reached this node.
- setTaintLabel(String) - Method in class com.tonic.analysis.pdg.node.PDGNode
-
Sets the label describing where the taint on this node came from.
- setTaintSource(String) - Method in class com.tonic.analysis.dataflow.DataFlowNode
-
Records where the taint came from, setting the tainted flag to match.
- setTarget(IRBlock) - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- setTargetEntry(SDGEntryNode) - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
-
Links this call to the entry node of the resolved callee.
- setTargetLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
-
Sets the label this break targets.
- setTargetLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
-
Sets the label this continue targets.
- setTerminator(IRInstruction) - Method in class com.tonic.analysis.ssa.cfg.IRBlock
-
Sets the terminator instruction for this block.
- setThenBlock(IRBlock) - Method in class com.tonic.analysis.source.recovery.StructuralAnalyzer.RegionInfo
- setThenBranch(Statement) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Replaces the then branch, reparenting old and new nodes.
- setThenExpr(Expression) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Replaces the then-value, reparenting it and releasing the old one.
- setTimeBudgetMs(long) - Method in class com.tonic.analysis.query.exec.QueryBatchRunner
-
Sets the wall-clock budget after which a run stops early and reports what it has.
- setTotalClasses(int) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Records how many classes the indexing run scanned.
- setTotalMethods(int) - Method in class com.tonic.analysis.xref.XrefDatabase
-
Records how many methods the indexing run scanned.
- setTransient() - Method in class com.tonic.util.AccessBuilder
-
Sets the
transientaccess flag. - setTransient(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
transientaccess flag. - setTrueTarget(IRBlock) - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- setTryBlock(Statement) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Replaces the guarded block, reparenting it and releasing the previous one.
- setTryBlocks(Set<IRBlock>) - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- setTryEnd(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- setTryStart(IRBlock) - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- setType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Sets the field type.
- setType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Replaces the declared type.
- setType(SourceType) - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- setType(SourceType) - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- setType(SourceType) - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- setType(SourceType) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- setUseCompactStrings(boolean) - Method in interface com.tonic.analysis.execution.heap.HeapManager
-
Selects the string layout used by
HeapManager.internString(java.lang.String); ignored unless overridden. - setUseCompactStrings(boolean) - Method in class com.tonic.analysis.execution.heap.SimpleHeapManager
-
Selects the string layout used when interning.
- setUseCompactStrings(boolean) - Method in class com.tonic.analysis.execution.heap.StringPool
-
Selects the layout used for newly created string objects.
- setUserClassNames(Set<String>) - Method in class com.tonic.analysis.query.exec.QueryBatchRunner
-
Restricts the search to named classes; a null or empty set searches the whole pool.
- setUserClassNames(Set<String>) - Method in class com.tonic.analysis.query.exec.QueryService
-
Restricts subsequent runs to named classes; a null set searches the whole pool.
- setUseVarKeyword(boolean) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- setValue(int) - Method in class com.tonic.parser.constpool.ClassRefItem
-
Sets the constant pool index value.
- setValue(Expression) - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Sets the element value.
- setValue(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Replaces the returned expression, reparenting old and new nodes.
- setValue(ConstantDynamic) - Method in class com.tonic.parser.constpool.ConstantDynamicItem
-
Sets the ConstantDynamic value.
- setValue(FieldRef) - Method in class com.tonic.parser.constpool.FieldRefItem
-
Replaces the referenced class and name-and-type pair wholesale.
- setValue(InterfaceRef) - Method in class com.tonic.parser.constpool.InterfaceRefItem
-
Overwrites the class and name-and-type index pair.
- setValue(MethodRef) - Method in class com.tonic.parser.constpool.MethodRefItem
- setValue(NameAndType) - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
-
Replaces the name and descriptor index pair this entry holds.
- setValue(Double) - Method in class com.tonic.parser.constpool.DoubleItem
-
Replaces the constant this entry holds.
- setValue(Float) - Method in class com.tonic.parser.constpool.FloatItem
-
Overwrites the constant.
- setValue(Integer) - Method in class com.tonic.parser.constpool.IntegerItem
-
Replaces the constant this entry holds.
- setValue(Integer) - Method in class com.tonic.parser.constpool.StringRefItem
-
Repoints this entry at another string constant.
- setValue(Long) - Method in class com.tonic.parser.constpool.LongItem
-
Sets the constant this item holds.
- setValue(Object) - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- setValue(String) - Method in class com.tonic.parser.constpool.Utf8Item
-
Replaces the string this entry holds.
- SetValue(List<Value>) - Constructor for class com.tonic.analysis.query.value.Value.SetValue
- setVarArgs() - Method in class com.tonic.util.AccessBuilder
-
Sets the
varargsaccess flag. - setVarArgs(boolean) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Marks the parameter varargs or not.
- setVarArgs(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
varargsaccess flag. - setVariable(VarDeclStmt) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Replaces the loop variable declaration, reparenting old and new nodes.
- setVariable(String, SSAValue) - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Sets or updates a variable's SSA value.
- setVariableName(SSAValue, String) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Binds a name to a value, refusing to rename a parameter that already has one.
- setVerbose(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig
-
Sets whether instrumentation progress is logged.
- setVolatile() - Method in class com.tonic.util.AccessBuilder
-
Sets the
volatileaccess flag. - setVolatile(int) - Static method in class com.tonic.util.Modifiers
-
Sets the
volatileaccess flag. - setWide(int, SimValue) - Method in class com.tonic.analysis.simulation.state.LocalState
-
Writes a long or double, marking the following slot as its upper half.
- severity(Severity) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- Severity - Enum in com.tonic.analysis.cpg.taint
-
Severity ranking for taint findings, from informational to critical.
- shape(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle.Builder
-
Sets the DOT node shape, such as "box" or "ellipse".
- SHIFT - com.tonic.analysis.source.parser.Precedence
-
The level of the three shift operators.
- SHL - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Left shift,
<<. - SHL - com.tonic.analysis.ssa.ir.BinaryOp
-
Shift left.
- SHL_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Left shift and assign,
<<=. - SHORT - com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
The
shortkeyword; a 16-bit signed integer widened to int on the operand stack. - SHORT - com.tonic.analysis.source.parser.TokenType
-
Primitive type keyword for a signed 16-bit integer.
- SHORT - com.tonic.analysis.ssa.type.PrimitiveType
-
16-bit signed integer, descriptor
S, integral and one slot wide. - SHORT - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
S, carried on the stack as an int. - SHORT - Static variable in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- SHORT - Static variable in class com.tonic.parser.util.TypeInfo
- SHORT - Static variable in class com.tonic.type.TypeDescriptor
- SHORT - Static variable in class com.tonic.util.CommonTypes
- SHORT_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- shortArray(String, short...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a short-array element.
- shortValue(String, short) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a short element.
- shouldSkipInstruction(IRInstruction) - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
Tests an instruction against the permanent for-loop init claims and every pushed skip set.
- shouldStop() - Method in class com.tonic.analysis.verifier.ErrorCollector.CollectAllCollector
- shouldStop() - Method in class com.tonic.analysis.verifier.ErrorCollector.FailFastCollector
- shouldStop() - Method in interface com.tonic.analysis.verifier.ErrorCollector
- SHOW - com.tonic.analysis.query.parser.Token.TokenType
-
The word
show, opening a query that lists matching entities without evidence. - showEdgeLabels(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether an edge carries its type name inline.
- showLineNumbers(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether source line numbers are printed with nodes.
- showNodeIds(boolean) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Controls whether node ids appear in node labels.
- showNodeIds(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether each node is prefixed with its numeric id.
- showProperties(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether per-node detail lines are printed under each node.
- ShowQuery - Class in com.tonic.analysis.query.ast
-
SHOW query - displays all matching items without filtering.
- ShowQuery(Target, Scope, Condition, RunSpec, Integer, OrderBy) - Constructor for class com.tonic.analysis.query.ast.ShowQuery
-
Creates a SHOW query.
- showStatistics(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether a trailing node and edge count section is printed.
- SHR - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Signed right shift,
>>, which preserves the sign bit. - SHR - com.tonic.analysis.ssa.ir.BinaryOp
-
Arithmetic shift right.
- SHR_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Signed right shift and assign,
>>=. - shutdown() - Method in class com.tonic.analysis.query.exec.QueryService
-
Shuts down the worker thread; async runs already submitted still finish.
- SideEffectDetector - Class in com.tonic.analysis.source.ast.transform
-
Determines whether an expression (or any sub-expression) has side effects.
- signature(String, String) - Static method in class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a filter matching a specific method signature.
- SignatureAttribute - Class in com.tonic.parser.attribute
-
The Signature attribute: the constant-pool index of a generic signature Utf8.
- SignatureAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.SignatureAttribute
-
Creates the attribute shell for parsing, attached to a class.
- SignatureAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.SignatureAttribute
-
Creates the attribute shell for parsing, attached to a member.
- signatureOf(SourceType) - Method in class com.tonic.analysis.source.lower.TypeResolver
-
Builds the JVM generic signature of a declared type.
- SignatureRemapper - Class in com.tonic.renamer.descriptor
-
Remaps class references within generic signatures.
- SignatureRemapper(Function<String, String>) - Constructor for class com.tonic.renamer.descriptor.SignatureRemapper
-
Creates a remapper with the given class name mapping function.
- silent() - Static method in interface com.tonic.analysis.source.parser.ParseErrorListener
- SimArray - Class in com.tonic.analysis.simulation.heap
-
Immutable abstract state of one allocated array, tracking elements both index-insensitively and per constant index.
- SimArray(AllocationSite, IRType, SimValue) - Constructor for class com.tonic.analysis.simulation.heap.SimArray
-
Creates an empty, unescaped array state with no tracked elements.
- SimHeap - Class in com.tonic.analysis.simulation.heap
-
Abstract heap of objects, arrays, and static fields keyed by allocation site - mutated in place in MUTABLE mode, copied on every write otherwise.
- SimHeap(HeapMode) - Constructor for class com.tonic.analysis.simulation.heap.SimHeap
-
Creates an empty heap.
- similarity(Level0Features) - Method in class com.tonic.analysis.fingerprint.features.Level0Features
-
Scores similarity to another level-0 feature set as a weighted mix of exact matches and Jaccard overlaps.
- similarity(Level1Features) - Method in class com.tonic.analysis.fingerprint.features.Level1Features
-
Scores similarity to another level-1 feature set, mixing exact and near matches with histogram overlaps.
- similarity(Level2Features) - Method in class com.tonic.analysis.fingerprint.features.Level2Features
-
Scores similarity to another level-2 feature set from histogram overlaps and dominance-depth closeness.
- SimilarityMetric - Enum in com.tonic.analysis.similarity
-
Types of similarity metrics for comparing methods.
- SimilarityResult - Class in com.tonic.analysis.similarity
-
The scored outcome of comparing two methods, ordered by descending overall score.
- SimilarityResult(MethodSignature, MethodSignature, Map<SimilarityMetric, Double>, SimilarityMetric) - Constructor for class com.tonic.analysis.similarity.SimilarityResult
-
Creates a result and derives the overall score from the primary metric, or a weighted average when the primary metric is COMBINED.
- SimObject - Class in com.tonic.analysis.simulation.heap
-
Immutable abstract heap object for one allocation site, holding a set of possible values per field; every mutator returns a new instance.
- SimObject(AllocationSite) - Constructor for class com.tonic.analysis.simulation.heap.SimObject
-
Creates an unescaped object with no fields written.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.ArrayLoadHook
-
Creates an array load hook that invokes the given static hook method.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.ArrayStoreHook
-
Creates an array store hook that invokes the given static hook method.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.ExceptionHook
-
Creates an exception hook that invokes the given static hook method for all exception types.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.FieldReadHook
-
Creates a field read hook that invokes the given static hook method.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.FieldWriteHook
-
Creates a hook with default settings that calls a static method.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.MethodEntryHook
-
Creates a hook that calls a static method with no filters and no extra arguments.
- simple(String, String, String) - Static method in class com.tonic.analysis.instrumentation.hook.MethodExitHook
-
Creates a hook with default settings that calls a static method.
- SimpleHeapManager - Class in com.tonic.analysis.execution.heap
-
In-memory heap manager backed by concurrent maps, with a string pool and flat static-field storage.
- SimpleHeapManager() - Constructor for class com.tonic.analysis.execution.heap.SimpleHeapManager
-
Creates an empty heap with object ids starting at 1.
- SimpleInstruction - Class in com.tonic.analysis.ssa.ir
-
A single-operand instruction identified by its
SimpleOp: arraylength, monitor ops, throw, goto, or catch. - SimpleOp - Enum in com.tonic.analysis.ssa.ir
-
The operation kinds a
SimpleInstructioncan perform. - simulate(IRMethod) - Method in class com.tonic.analysis.simulation.core.InterProceduralEngine
-
Simulates a method, following calls inter-procedurally when the context allows it.
- simulate(IRMethod) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Simulates execution of a method.
- simulate(MethodEntry) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Lifts a class file method to IR and simulates it.
- simulatePath(IRMethod, List<IRBlock>) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Simulates one fixed block sequence instead of the whole method.
- SimulationContext - Class in com.tonic.analysis.simulation.core
-
Immutable configuration and shared resources for simulation; the with* methods return modified copies.
- SimulationContext.Builder - Class in com.tonic.analysis.simulation.core
-
Mutable builder for SimulationContext instances.
- SimulationEngine - Class in com.tonic.analysis.simulation.core
-
Main simulation engine for executing abstract interpretation.
- SimulationEngine(SimulationContext) - Constructor for class com.tonic.analysis.simulation.core.SimulationEngine
-
Creates a new simulation engine with the given context.
- SimulationListener - Interface in com.tonic.analysis.simulation.listener
-
Listener interface for simulation events.
- SimulationMode - Enum in com.tonic.analysis.simulation.core
-
Defines the granularity of simulation state tracking.
- SimulationResult - Class in com.tonic.analysis.simulation.core
-
Immutable result of a simulation run.
- SimulationResult.Builder - Class in com.tonic.analysis.simulation.core
-
Mutable builder for SimulationResult instances.
- SimulationState - Class in com.tonic.analysis.simulation.core
-
Immutable snapshot of stack, locals, heap and position at one point during simulation.
- simulationTime(long) - Method in class com.tonic.analysis.simulation.core.SimulationResult.Builder
-
Sets the simulation wall time.
- SimValue - Class in com.tonic.analysis.simulation.state
-
Immutable simulated value carrying its type, defining instruction and, for references, a points-to set and null state; usable as a map key.
- SimValue.NullState - Enum in com.tonic.analysis.simulation.state
-
What is known about a reference value's nullness.
- SimValueBuilder - Class in com.tonic.analysis.simulation.heap
-
Builder API for constructing simulated values with field initialization.
- SingleUseInliner - Class in com.tonic.analysis.source.ast.transform
-
Inlines single-use temporary variables into their usage site.
- SingleUseInliner() - Constructor for class com.tonic.analysis.source.ast.transform.SingleUseInliner
- sink(TaintSink) - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Sets the sink definition the flow terminates at.
- sinkNode(CPGNode) - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Sets the CPG node where the taint is consumed.
- sipush(int) - Method in class com.tonic.builder.CodeBuilder
-
Appends
sipush, pushing a signed short widened to int. - SIPUSH - com.tonic.util.Opcode
-
Sign-extends the two-byte operand to an int and pushes it onto the operand stack.
- SipushInstruction - Class in com.tonic.analysis.instruction
-
Represents the SIPUSH instruction (0x11).
- SipushInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.SipushInstruction
-
Constructs a SipushInstruction.
- site() - Method in class com.tonic.analysis.query.eval.Subject.DynamicSubject
- size() - Method in class com.tonic.analysis.absexec.Variables
- size() - Method in class com.tonic.analysis.callgraph.CallGraph
-
Returns the number of methods in the call graph.
- size() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
- size() - Method in class com.tonic.analysis.execution.debug.LocalsSnapshot
- size() - Method in class com.tonic.analysis.execution.heap.StringPool
- size() - Method in class com.tonic.analysis.execution.listener.CompositeBytecodeListener
- size() - Method in class com.tonic.analysis.execution.resolve.ResolutionCache
- size() - Method in class com.tonic.analysis.execution.state.ConcreteLocals
- size() - Method in class com.tonic.analysis.fingerprint.FingerprintDatabase
- size() - Method in class com.tonic.analysis.simulation.state.LocalState
- size() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- size() - Method in class com.tonic.analysis.source.ast.NodeList
- size() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- size() - Method in class com.tonic.analysis.typeinference.TypeSet
- size() - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
- size() - Method in class com.tonic.renamer.mapping.MappingStore
- skip(int) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Drops the first n nodes.
- skipAbstract(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether abstract methods are skipped.
- skipAbstract(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether abstract methods are left alone.
- skipBridge(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether bridge methods are skipped.
- skipBridge(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether bridge methods are left alone.
- skipConstructors(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether constructors are skipped.
- skipConstructors(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether constructors are left alone.
- skipNative(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether native methods are skipped.
- skipNative(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether native methods are left alone.
- skipStaticInitializers(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether static initializers are skipped.
- skipStaticInitializers(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether static initializers are left alone.
- skipSynthetic(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether synthetic methods are skipped.
- skipSynthetic(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether synthetic methods are left alone.
- SLASH - com.tonic.analysis.source.parser.TokenType
-
Division.
- SLASH_EQ - com.tonic.analysis.source.parser.TokenType
-
Divides the target in place.
- SliceResult - Class in com.tonic.analysis.pdg.slice
-
The nodes and edges reached by a program slice, together with the criterion it was taken from.
- SliceResult(SliceResult.SliceType, PDGNode) - Constructor for class com.tonic.analysis.pdg.slice.SliceResult
-
Creates an empty slice over a single criterion node.
- SliceResult(SliceResult.SliceType, Set<PDGNode>) - Constructor for class com.tonic.analysis.pdg.slice.SliceResult
-
Creates an empty slice over a copy of the given criterion set.
- SliceResult.SliceType - Enum in com.tonic.analysis.pdg.slice
-
Direction a slice was taken in.
- sliceWithCallingContext(PDGNode, List<SDGCallNode>) - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Slices backward from a criterion reached through a known chain of call sites, so only parameter flows matching that chain are followed.
- slotOfParameter(SSAValue) - Method in class com.tonic.analysis.source.recovery.MethodLocals
- SlotVariablePartition - Class in com.tonic.analysis.source.recovery
-
Partitions each JVM local slot into one or more source variables using a reaching-definition analysis.
- SlotVariablePartition(IRMethod, IntFunction<String>, SlotVariablePartition.ScopeNameResolver) - Constructor for class com.tonic.analysis.source.recovery.SlotVariablePartition
-
Partitions the method's slots immediately, using one resolver for both load and store offsets.
- SlotVariablePartition(IRMethod, IntFunction<String>, SlotVariablePartition.ScopeNameResolver, SlotVariablePartition.ScopeNameResolver) - Constructor for class com.tonic.analysis.source.recovery.SlotVariablePartition
-
As the three-argument form, with a dedicated resolver for STORE offsets.
- SlotVariablePartition(IRMethod, IntFunction<String>, SlotVariablePartition.ScopeNameResolver, SlotVariablePartition.ScopeNameResolver, SlotVariablePartition.ScopeNameResolver) - Constructor for class com.tonic.analysis.source.recovery.SlotVariablePartition
-
As the four-argument form, with a resolver for the declared descriptor in scope, so two components cannot share a debug name unless they share a type.
- SlotVariablePartition.ScopeNameResolver - Interface in com.tonic.analysis.source.recovery
-
Resolves the source name in scope for a
(slot, bytecode offset), or null when unknown. - snapshot() - Method in class com.tonic.analysis.execution.frame.CallStack
-
Copies the current frames into an immutable list.
- snapshot() - Method in class com.tonic.analysis.execution.state.ConcreteLocals
-
Captures the defined slots as an unmodifiable map.
- snapshot() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Captures the stack bottom-to-top as an unmodifiable list.
- snapshot() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Create a snapshot of this state for storage.
- snapshotVariables() - Method in class com.tonic.analysis.source.lower.LoweringContext
-
Copies the current variable bindings so a branch can be lowered and then rolled back.
- source(TaintSource) - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Sets the source definition the flow originates from.
- sourceClass(String) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the class the reference occurs in.
- SourceDebugExtensionAttribute - Class in com.tonic.parser.attribute
-
The SourceDebugExtension attribute: opaque extended debugging data as raw bytes.
- SourceDebugExtensionAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.SourceDebugExtensionAttribute
-
Creates the attribute shell for parsing, attached to a class.
- SourceDebugExtensionAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.SourceDebugExtensionAttribute
-
Creates the attribute shell for parsing, attached to a member.
- SourceEmitter - Class in com.tonic.analysis.source.emit
-
Visitor that renders recovered AST nodes back to Java source text.
- SourceEmitter(IndentingWriter) - Constructor for class com.tonic.analysis.source.emit.SourceEmitter
-
Creates an emitter with the default configuration.
- SourceEmitter(IndentingWriter, SourceEmitterConfig) - Constructor for class com.tonic.analysis.source.emit.SourceEmitter
-
Creates an emitter with the given configuration.
- SourceEmitter.LineMapSink - Interface in com.tonic.analysis.source.emit
-
Receives each provenance-carrying statement's (owning method key, statement, 1-based line).
- SourceEmitterConfig - Class in com.tonic.analysis.source.emit
-
Configuration options for source code emission.
- SourceEmitterConfig.Builder - Class in com.tonic.analysis.source.emit
-
Fluent builder for emitter settings; every setting has a default.
- SourceFileAttribute - Class in com.tonic.parser.attribute
-
The SourceFile attribute: the constant-pool index of the source file name Utf8.
- SourceFileAttribute(ClassFile, String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.SourceFileAttribute
-
Creates the attribute shell for parsing.
- SourceLocal(String, IRType, boolean) - Constructor for class com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
- sourceLocalOf(SSAValue) - Method in class com.tonic.analysis.ssa.cfg.IRMethod
-
Finds the source local a value was lowered from.
- SourceLocation - Class in com.tonic.analysis.source.ast
-
Position of an AST node as a bytecode offset and source line number, either of which may be absent (-1).
- SourceLocation(int, int) - Constructor for class com.tonic.analysis.source.ast.SourceLocation
-
Creates a location; pass -1 for a missing component.
- sourceMethod(String, String) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the method the reference occurs in.
- sourceNode(CPGNode) - Method in class com.tonic.analysis.cpg.taint.TaintPath.Builder
-
Sets the CPG node where the taint enters.
- SourcePosition - Class in com.tonic.analysis.source.parser
-
Immutable line/column position in a source file, with an optional character offset.
- SourcePosition(int, int, int) - Constructor for class com.tonic.analysis.source.parser.SourcePosition
-
Creates a position.
- SourceType - Interface in com.tonic.analysis.source.ast.type
-
Sealed interface representing source-level types.
- SourceVisitor<T> - Interface in com.tonic.analysis.source.visitor
-
Visitor interface for traversing source AST nodes.
- SPECIAL - com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
- SPECIAL - com.tonic.analysis.ssa.ir.InvokeType
-
Special method invocation (invokespecial).
- specific(String, String) - Static method in class com.tonic.analysis.instrumentation.filter.FieldFilter
-
Creates a filter matching a specific field.
- SQL_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data reaches a JDBC statement that is executed or prepared as query text.
- sqlInjection() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- SSA - Class in com.tonic.analysis.ssa
-
Main entry point for SSA-form IR operations.
- SSA(ConstPool) - Constructor for class com.tonic.analysis.ssa.SSA
-
Creates a new SSA processor.
- SSABridge - Class in com.tonic.analysis.ssa
-
Bridges
CodeWriter(the bytecode layer) and the SSA IR pipeline. - ssaValue(SSAValue) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
-
Sets the SSA value this node stands for, defaulting the name to the value's name.
- SSAValue - Class in com.tonic.analysis.ssa.value
-
Represents a value defined by an SSA instruction.
- SSAValue(IRType) - Constructor for class com.tonic.analysis.ssa.value.SSAValue
-
Creates an SSA value with the given type.
- SSAValue(IRType, String) - Constructor for class com.tonic.analysis.ssa.value.SSAValue
-
Creates an SSA value with the given type and name.
- ssrf() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- SSRF - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data chooses the target of an outbound request, letting a caller reach hosts the server can see but the caller cannot.
- STABLE - com.tonic.analysis.fingerprint.FingerprintLevel
-
Control-flow shape - loop counts and nesting, bucketed block count, and branch, arithmetic and invoke histograms.
- Stack - Class in com.tonic.analysis.absexec
-
The abstract operand stack: a growable array of
StackCtx(one logical entry per value; a long/double is a single wide entry). - Stack(int) - Constructor for class com.tonic.analysis.absexec.Stack
-
Creates an empty stack sized for the method's declared max stack.
- Stack(Stack) - Constructor for class com.tonic.analysis.absexec.Stack
-
Copies another stack for a forked frame.
- STACK - com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch.Location
-
An operand stack slot or the stack depth disagrees; always reported as critical.
- STACK_OPERATIONS - com.tonic.analysis.execution.listener.ListenerCapability
-
Stack push/pop notifications (very high frequency).
- STACK_OVERFLOW - com.tonic.analysis.verifier.VerificationErrorType
-
The operand stack grows past the max_stack the Code attribute declares.
- STACK_POP - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A value was popped off the operand stack.
- STACK_PUSH - com.tonic.analysis.execution.listener.TraceEvent.Type
-
A value was pushed onto the operand stack.
- STACK_UNDERFLOW - com.tonic.analysis.verifier.VerificationErrorType
-
An instruction pops more operands than the stack holds at that point.
- StackCtx - Class in com.tonic.analysis.absexec
-
One operand-stack slot during abstract execution.
- StackCtx(InsnContext, boolean) - Constructor for class com.tonic.analysis.absexec.StackCtx
-
Creates a slot for a pushed value.
- stackDepth() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Get the current stack depth.
- StackFrame - Class in com.tonic.analysis.execution.frame
-
One interpreter activation: a method's operand stack, locals, program counter, and completion state.
- StackFrame(MethodEntry, ConcreteValue[]) - Constructor for class com.tonic.analysis.execution.frame.StackFrame
-
Creates a frame for a method invocation with the given arguments bound to locals.
- StackFrameInfo - Class in com.tonic.analysis.execution.debug
-
Immutable snapshot of one execution frame's position, used to build stack traces after the frame itself is gone.
- StackFrameInfo(StackFrame) - Constructor for class com.tonic.analysis.execution.debug.StackFrameInfo
-
Snapshots the signature, program counter and line number of a live frame.
- StackMapFrame - Class in com.tonic.parser.attribute.stack
-
Base class for stack map frames in the StackMapTable attribute.
- StackMapFrame(int) - Constructor for class com.tonic.parser.attribute.stack.StackMapFrame
-
Constructs a StackMapFrame with the specified frame type.
- StackMapTableAttribute - Class in com.tonic.parser.attribute
-
The StackMapTable attribute: verification frames describing local and stack types at branch targets.
- StackMapTableAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.StackMapTableAttribute
-
Creates the attribute shell for parsing, attached to a class.
- StackMapTableAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.StackMapTableAttribute
-
Creates the attribute shell for parsing, attached to a member.
- StackMapVerifier - Class in com.tonic.analysis.verifier.stackmap
-
Verification pass that validates a method's StackMapTable against frames recomputed by dataflow.
- StackMapVerifier(ClassFile) - Constructor for class com.tonic.analysis.verifier.stackmap.StackMapVerifier
-
Creates the pass for one class.
- StackMetrics - Class in com.tonic.analysis.simulation.metrics
-
Immutable operand stack operation counts collected during simulation.
- StackOperationListener - Class in com.tonic.analysis.simulation.listener
-
A simulation listener that counts operand stack pushes and pops and tracks current and peak depth, resetting its tallies at each simulation start.
- StackOperationListener() - Constructor for class com.tonic.analysis.simulation.listener.StackOperationListener
-
Creates a listener that records counts only, without the per-operation depth history.
- StackOperationListener(boolean) - Constructor for class com.tonic.analysis.simulation.listener.StackOperationListener
-
Creates a listener with optional recording of the per-operation depth history.
- StackOperationListener.DepthChange - Class in com.tonic.analysis.simulation.listener
-
Represents a change in stack depth.
- StackOperationListener.DepthChange.Type - Enum in com.tonic.analysis.simulation.listener
-
The kind of stack operation that produced a depth change.
- stackPhiCopiesOnEdge(IRBlock, IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Copies for the operand-stack merge phis of
succwhose incoming on this edge is produced by no instruction inpred. - stackPhiCopiesOnEdge(IRBlock, IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
-
Copies for
succ's operand-stack merge phis whose incoming on this edge no instruction inpredproduces. - stackPop(int, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a stack-pop event.
- stackPush(int, String) - Static method in class com.tonic.analysis.execution.listener.TraceEvent
-
Creates a stack-push event.
- StackScheduler - Class in com.tonic.analysis.ssa.lower
-
A linearizer that walks the IR blocks in order and produces a flat schedule of loads, stores and executions, tracking the peak operand stack depth as it goes.
- StackScheduler(IRMethod, RegisterAllocator) - Constructor for class com.tonic.analysis.ssa.lower.StackScheduler
-
Creates a scheduler over one method and its register allocation.
- StackScheduler.ScheduledInstruction - Class in com.tonic.analysis.ssa.lower
-
One entry of the schedule - an instruction paired with the role it plays.
- StackScheduler.ScheduleType - Enum in com.tonic.analysis.ssa.lower
-
The role a scheduled entry plays - a synthesized local load or store, or the IR instruction itself.
- stackSlots() - Method in class com.tonic.analysis.frame.TypeState
-
The operand-stack depth in slots (category-2
long/doublecount as 2, since they are stored with aTOPfiller) - i.e. - StackSnapshot - Class in com.tonic.analysis.execution.debug
-
An immutable view of a frame's operand stack, taken at one point in execution.
- StackSnapshot(ConcreteStack) - Constructor for class com.tonic.analysis.execution.debug.StackSnapshot
-
Copies every stack entry into an unmodifiable list of value descriptions.
- StackState - Class in com.tonic.analysis.simulation.state
-
Immutable operand stack snapshot used during simulation.
- stackToVerificationTypeInfo() - Method in class com.tonic.analysis.frame.TypeState
-
Converts stack to VerificationTypeInfo list for writing to class file.
- STANDARD - com.tonic.analysis.source.decompile.TransformPreset
-
Standard optimization - balanced cleanup for better readability.
- STAR - com.tonic.analysis.query.parser.Token.TokenType
-
The character
*, repeating a sequence element zero or more times. - STAR - com.tonic.analysis.source.parser.TokenType
-
Multiplication, and the on-demand wildcard of an import.
- STAR_EQ - com.tonic.analysis.source.parser.TokenType
-
Multiplies the target in place.
- start(MethodEntry, ConcreteValue...) - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Initializes the engine with the method's initial frame and pauses before the first instruction.
- startingWith(String) - Static method in class com.tonic.analysis.instrumentation.filter.MethodFilter
-
Creates a filter matching methods starting with a prefix.
- STARTS_WITH - com.tonic.analysis.query.value.Operator
-
String prefix test; false unless both operands are strings.
- startsUnprocessedHandler(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
True when
blockstarts the protected range of an exception handler no recovery has consumed. - startsUnprocessedHandler(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- Statement - Interface in com.tonic.analysis.source.ast.stmt
-
Sealed interface representing all statement types in the source AST.
- StatementEditor - Class in com.tonic.analysis.source.editor
-
Statement-only facade over
ASTEditor. - StatementEditor(BlockStmt, String, String, String) - Constructor for class com.tonic.analysis.source.editor.StatementEditor
-
Creates a statement editor for a method body.
- StatementHandler - Interface in com.tonic.analysis.source.editor.handler
-
Base interface for handling statements during AST editing.
- StatementLowerer - Class in com.tonic.analysis.source.lower
-
Lowers AST Statement nodes to IR instructions and blocks.
- StatementLowerer(LoweringContext, ExpressionLowerer) - Constructor for class com.tonic.analysis.source.lower.StatementLowerer
-
Creates a new statement lowerer.
- StatementRecoverer - Class in com.tonic.analysis.source.recovery
-
Recovers Statement AST nodes from IR blocks, offering each region to the reaching-condition structurer first and falling back to the legacy walk for shapes it declines.
- StatementRecoverer(ControlFlowContext, StructuralAnalyzer, ExpressionRecoverer) - Constructor for class com.tonic.analysis.source.recovery.StatementRecoverer
-
Creates a recoverer and pre-declares the method parameters so stores to them recover as assignments rather than declarations.
- StatementRecoverer.RetiredSchemaRecoveryException - Exception in com.tonic.analysis.source.recovery
-
Signals a region classification whose schema recoverer is retired and which no engine route owned.
- statements() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- StateSnapshot - Class in com.tonic.analysis.simulation.core
-
An immutable snapshot of simulation state at one instruction.
- StateTransitions - Class in com.tonic.analysis.simulation.util
-
Computes state transitions for IR instructions.
- STATIC - com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
- STATIC - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0008, bound to the class rather than an instance. - STATIC - com.tonic.analysis.source.ast.expr.MethodRefKind
-
Static method reference: ClassName::staticMethod
- STATIC - com.tonic.analysis.source.parser.TokenType
-
Modifier binding a member to the type rather than to an instance; also appears in static imports and in initializer blocks.
- STATIC - com.tonic.analysis.ssa.ir.InvokeType
-
Static method invocation (invokestatic).
- STATIC - Static variable in class com.tonic.util.Modifiers
- staticCall(String, String, SourceType, Expression...) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a static method call node.
- staticCall(String, String, SourceType, Expression...) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a static method call.
- staticCall(String, String, List<Expression>, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Creates a static method call with no receiver.
- staticField(String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a static field access node.
- staticField(String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Creates a static field access with no receiver.
- staticField(String, String, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a static field access.
- staticFilter() - Method in class com.tonic.analysis.query.planner.ProbePlan
- staticFilter(StaticFilter) - Method in class com.tonic.analysis.query.planner.ProbePlan.Builder
-
Sets the scope prefilter applied before conditions are evaluated.
- StaticFilter - Interface in com.tonic.analysis.query.planner.filter
-
Static prefilter that narrows candidate methods/classes without execution.
- StaticFilter.AllFilter - Class in com.tonic.analysis.query.planner.filter
- StaticFilter.CompositeFilter - Class in com.tonic.analysis.query.planner.filter
- StaticFilter.CompositeFilter.Op - Enum in com.tonic.analysis.query.planner.filter
-
How two filters' results are combined - intersection or union.
- staticHook(String, String, String) - Static method in class com.tonic.analysis.instrumentation.HookDescriptor
-
Creates a descriptor for a static hook method.
- staticImport(String) - Static method in class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates a single static member import.
- staticMethodCall() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches static method calls.
- staticOnly() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Instruments static field reads only.
- staticOnly() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Instruments static field writes only.
- staticRef(String, String, SourceType) - Static method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Creates a static method reference, ClassName::staticMethod.
- staticWildcard(String) - Static method in class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates a static on-demand import.
- StatisticsListener - Class in com.tonic.analysis.execution.listener
-
Listener that aggregates execution counters such as opcode frequency, call depth, allocations, and branch outcomes.
- StatisticsListener() - Constructor for class com.tonic.analysis.execution.listener.StatisticsListener
-
Creates a listener with all counters at zero.
- status(DebugState.Status) - Method in class com.tonic.analysis.execution.debug.DebugState.Builder
- step() - Method in class com.tonic.analysis.execution.core.BytecodeEngine
-
Executes a single instruction (or completes the top frame) of an in-progress execution.
- step(SimulationState, IRInstruction) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Executes one instruction without recording it in a result.
- Step - Class in com.tonic.analysis.query.ast
-
One segment of an
Accessorpath: a keyword atom optionally indexed (e.g. - STEP_INTO - com.tonic.analysis.execution.debug.StepMode
-
Pause after every instruction, including the first instruction of any method that gets called.
- STEP_OUT - com.tonic.analysis.execution.debug.StepMode
-
Run until the call stack becomes shallower than it was when the step began, that is, until the current frame returns.
- STEP_OVER - com.tonic.analysis.execution.debug.StepMode
-
Execute one instruction of the current frame, running any call it makes to completion rather than pausing inside the callee.
- stepBlock(SimulationState, IRBlock) - Method in class com.tonic.analysis.simulation.core.SimulationEngine
-
Executes a block's phis and instructions, firing the block entry and exit events.
- stepInto() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Executes a single instruction, pausing inside any invoked method.
- StepMode - Enum in com.tonic.analysis.execution.debug
-
How far the debugger runs before pausing again.
- stepOut() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Runs until the current frame returns to its caller.
- stepOver() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Executes one instruction without pausing inside deeper frames.
- STEPPING - com.tonic.analysis.execution.debug.DebugState.Status
-
Advancing one instruction or line at a time under debugger control; counts as running.
- steps() - Method in class com.tonic.analysis.query.ast.Accessor
- StmtMatcher - Class in com.tonic.analysis.source.editor.matcher
-
Predicate-based matcher for filtering statements during AST editing.
- stop() - Method in class com.tonic.analysis.execution.debug.DebugSession
-
Terminates the session, interrupting the engine and notifying listeners.
- stopOnFirstError(boolean) - Method in class com.tonic.analysis.source.ast.validation.ASTValidator
-
Stops validating after the first strategy that reports an error-severity issue.
- STOPPED - com.tonic.analysis.execution.debug.DebugSessionState
-
Finished, terminated, or failed to start; the session cannot be resumed.
- STORE - com.tonic.analysis.source.editor.handler.ArrayAccessHandler.ArrayAccessType
-
Storing to an array element: array[index] = value
- STORE - com.tonic.analysis.ssa.ir.AccessMode
-
A write, which consumes a value and produces no result.
- STORE - com.tonic.analysis.ssa.lower.StackScheduler.ScheduleType
-
A synthesized store that parks a produced value in the register the allocator assigned it.
- StoreLocalInstruction - Class in com.tonic.analysis.ssa.ir
-
A store to a local variable slot, used during lifting before SSA conversion.
- StoreLocalInstruction(int, Value) - Constructor for class com.tonic.analysis.ssa.ir.StoreLocalInstruction
-
Creates a local store and registers a use of an SSA value.
- stream() - Method in class com.tonic.analysis.query.ast.Condition.Count
- stream() - Method in class com.tonic.analysis.query.ast.Condition.Quantifier
- stream() - Method in class com.tonic.analysis.query.eval.AttributeRegistry.Entry
- stream() - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Returns a stream of all nodes in this subtree (including this node).
- stream(Class<T>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Returns a stream of all nodes of the specified type in this subtree.
- StrengthReduction - Class in com.tonic.analysis.ssa.transform
-
Strength Reduction optimization transform.
- StrengthReduction() - Constructor for class com.tonic.analysis.ssa.transform.StrengthReduction
- STRICT - Static variable in class com.tonic.util.Modifiers
- STRICTFP - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0800, pinning floating point to strict IEEE 754 semantics. - STRICTFP - com.tonic.analysis.source.parser.TokenType
-
Modifier pinning floating point evaluation to strict IEEE 754 semantics.
- strictlyDominates(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.analysis.DominatorTree
-
Checks if block a strictly dominates block b.
- strictlyPostDominates(IRBlock, IRBlock) - Method in class com.tonic.analysis.ssa.analysis.PostDominatorTree
-
Checks if block A strictly post-dominates block B.
- strictTypeChecking(boolean) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Enables or disables the type-checking pass.
- STRING - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
A
CONSTANT_Stringentry, loaded as an interned string reference. - STRING - com.tonic.analysis.query.parser.Token.TokenType
-
A quoted literal; the value carries the text with escapes already resolved and quotes stripped.
- STRING - com.tonic.analysis.query.value.ValueKind
-
A text literal.
- STRING - Static variable in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- STRING - Static variable in class com.tonic.analysis.ssa.type.ReferenceType
- STRING - Static variable in class com.tonic.util.CommonTypes
- STRING_ARRAY_DESC - Static variable in class com.tonic.util.CommonTypes
- STRING_BUFFER - Static variable in class com.tonic.util.CommonTypes
- STRING_BUILDER - Static variable in class com.tonic.util.CommonTypes
- STRING_CONCAT_FACTORY - Static variable in class com.tonic.analysis.BootstrapFamilies
-
Internal name of
StringConcatFactory, the string-concatenation bootstrap owner. - STRING_DESC - Static variable in class com.tonic.util.CommonTypes
- STRING_LITERAL - com.tonic.analysis.source.parser.TokenType
-
A quoted string or text block; the token also carries the decoded contents, with escapes resolved and text-block indentation stripped.
- stringArray(String, String...) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a String-array element.
- StringConcatHandler - Class in com.tonic.analysis.execution.invoke
-
Interpreter-side implementation of StringConcatFactory call sites, expanding recipe strings into concatenated results.
- StringConcatHandler() - Constructor for class com.tonic.analysis.execution.invoke.StringConcatHandler
- StringConstant - Class in com.tonic.analysis.ssa.value
-
Represents a string constant.
- StringConstant(String) - Constructor for class com.tonic.analysis.ssa.value.StringConstant
-
Creates a string constant with the given value.
- StringHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for String, Base64, and the JDK-internal string coding classes, evaluated on the real host JDK and written back into the simulated heap.
- StringHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.StringHandlers
- stringLit(String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a String literal node.
- stringLiteral(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a string literal.
- StringPool - Class in com.tonic.analysis.execution.heap
-
Interning pool that materializes java/lang/String heap objects in char-array or compact byte-array layout.
- StringPool(AtomicInteger) - Constructor for class com.tonic.analysis.execution.heap.StringPool
-
Creates an empty pool.
- StringRefItem - Class in com.tonic.parser.constpool
-
A CONSTANT_String constant pool entry, holding the pool index of its UTF-8 value.
- StringRefItem() - Constructor for class com.tonic.parser.constpool.StringRefItem
- STRINGS - com.tonic.analysis.query.ast.Target
-
Each row is a string value observed in the program, written
strings. - STRINGS - com.tonic.analysis.query.parser.Token.TokenType
-
The target word
strings, making string values the result rows. - StringSwitchDesugar - Class in com.tonic.analysis.source.ast.transform
-
Rewrites a
switchoverStringlabels into the two-switch dispatch the JVM can execute. - StringSwitchDesugar() - Constructor for class com.tonic.analysis.source.ast.transform.StringSwitchDesugar
- stringValue() - Method in class com.tonic.analysis.source.parser.Token
-
Reads the literal value as a string.
- stringValue(String, String) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a String element.
- stripStackMapTables() - Method in class com.tonic.parser.ClassFile
-
Removes the StackMapTable attribute from every method, so the class serializes "frameless".
- structural(String, ASTNode) - Static method in class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates a STRUCTURAL error.
- STRUCTURAL - com.tonic.analysis.similarity.SimilarityMetric
-
Compares coarse shape measures such as size, complexity, and loop count; the loosest signal, weighted 0.5.
- STRUCTURAL - com.tonic.analysis.source.ast.validation.ValidationError.Category
-
The shape of the tree itself is wrong, independent of what the code means.
- StructuralAnalyzer - Class in com.tonic.analysis.source.recovery
-
CFG structural analysis identifying if-then-else, while, do-while, for and switch regions.
- StructuralAnalyzer(IRMethod, DominatorTree, LoopAnalysis) - Constructor for class com.tonic.analysis.source.recovery.StructuralAnalyzer
-
Creates an analyzer; the post-dominator tree is built by analyze().
- StructuralAnalyzer.RegionInfo - Class in com.tonic.analysis.source.recovery
-
Information about a structured region.
- StructuralValidator - Class in com.tonic.analysis.source.ast.validation
-
Validator of AST structural integrity, chiefly parent-child link consistency.
- StructuralValidator() - Constructor for class com.tonic.analysis.source.ast.validation.StructuralValidator
- StructuralVerifier - Class in com.tonic.analysis.verifier.structural
-
Bytecode checker for the structure of a method body - code length, opcode validity, wide prefixes, operands, branch targets landing on instruction boundaries, and the last instruction not falling off the end.
- StructuralVerifier(ClassFile) - Constructor for class com.tonic.analysis.verifier.structural.StructuralVerifier
-
Creates a verifier whose operand checks resolve pool references against a class.
- StrValue(String) - Constructor for class com.tonic.analysis.query.value.Value.StrValue
- style(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.EdgeStyle.Builder
-
Sets the DOT style attribute, such as "solid" or "dotted".
- style(String) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.NodeStyle.Builder
-
Sets the DOT style attribute, such as "filled" or "dashed".
- sub(Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a subtraction node typed from the left operand.
- SUB - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Subtraction,
-. - SUB - com.tonic.analysis.ssa.ir.BinaryOp
-
Subtraction.
- SUB_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Subtract and assign,
-=. - Subject - Interface in com.tonic.analysis.query.eval
-
The polymorphic evaluation cursor.
- Subject.ArgSubject - Class in com.tonic.analysis.query.eval
- Subject.BootstrapArgSubject - Class in com.tonic.analysis.query.eval
-
A non-dynamic static bootstrap argument, identified by its constant-pool index.
- Subject.CallSubject - Class in com.tonic.analysis.query.eval
-
An invocation site;
invokeimplementsInvokeInsn. - Subject.ClassSubject - Class in com.tonic.analysis.query.eval
- Subject.DynamicSubject - Class in com.tonic.analysis.query.eval
-
A dynamic site: an invokedynamic call site (
site == "indy"), aCONSTANT_Dynamicload, or a nested condy bootstrap argument. - Subject.FieldAccessSubject - Class in com.tonic.analysis.query.eval
-
A field read/write site;
instructionis a GetField/PutField instruction. - Subject.InstructionSubject - Class in com.tonic.analysis.query.eval
- Subject.MethodSubject - Class in com.tonic.analysis.query.eval
- Subject.ParamSubject - Class in com.tonic.analysis.query.eval
-
A declared method parameter, identified by position;
typeis its descriptor from the method signature. - SubjectKind - Enum in com.tonic.analysis.query.eval
-
The type of entity an evaluation is currently bound to.
- subtract(Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a subtraction expression.
- SUBTYPE_OF - com.tonic.analysis.query.value.Operator
-
Subtype relation between two types, resolved by the query engine rather than by
Operator.test(com.tonic.analysis.query.value.Value, com.tonic.analysis.query.value.Value), which always returns false for it. - success() - Static method in class com.tonic.analysis.verifier.VerificationResult
-
Creates an unlocated passing result.
- success(ConcreteValue) - Static method in class com.tonic.analysis.execution.result.BytecodeResult
-
Creates a completed result carrying a return value.
- success(String) - Static method in class com.tonic.analysis.verifier.VerificationResult
-
Creates a passing result for a class.
- success(String, String) - Static method in class com.tonic.analysis.verifier.VerificationResult
-
Creates a passing result for a method.
- SUMMARY - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Condenses a callee's input-to-output effect so a flow can cross the call without descending into the body.
- SUMMARY - com.tonic.analysis.pdg.edge.PDGDependenceType
-
Condenses a callee's parameter-to-return effect so a slice can cross the call without descending into the body.
- SUMMARY - com.tonic.analysis.pdg.node.PDGNodeType
-
A precomputed argument-to-result dependence for a callee, letting slices cross a call without descending into it.
- SUPER - com.tonic.analysis.source.ast.type.WildcardSourceType.BoundKind
-
A lower bound, printed
? super T. - SUPER - com.tonic.analysis.source.parser.TokenType
-
Refers to the superclass - as a qualifier, as a constructor call, or as the lower bound of a wildcard.
- superClass(String) - Method in class com.tonic.builder.ClassBuilder
-
Sets the superclass.
- SuperExpr - Class in com.tonic.analysis.source.ast.expr
-
Represents the 'super' expression.
- SuperExpr(SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.SuperExpr
-
Creates a super reference with an unknown source position.
- SuperExpr(SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.SuperExpr
-
Creates a super reference of the given type.
- superType(SourceType) - Static method in class com.tonic.analysis.source.ast.type.WildcardSourceType
-
Creates a lower-bounded wildcard.
- swap() - Method in class com.tonic.analysis.execution.state.ConcreteStack
-
Swaps the top two values.
- swap() - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Swap top two values.
- swap() - Method in class com.tonic.analysis.simulation.state.StackState
-
Exchanges the top two slots (swap).
- swap() - Method in class com.tonic.builder.CodeBuilder
-
Appends
swap, exchanging the top two one-slot values. - SWAP - com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange.Type
- SWAP - com.tonic.util.Opcode
-
Exchanges the top two values on the operand stack; neither may be a long or double.
- SwapInstruction - Class in com.tonic.analysis.instruction
-
Represents the SWAP instruction (0x5F).
- SwapInstruction(int, int) - Constructor for class com.tonic.analysis.instruction.SwapInstruction
-
Constructs a SwapInstruction.
- swapOperands() - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
-
Swaps the two operands in place.
- SWITCH - com.tonic.analysis.source.parser.TokenType
-
Introduces a switch statement or switch expression.
- SWITCH - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A multi-way dispatch on one value, with an arm per case label and a default.
- SWITCH_BOOTSTRAPS - Static variable in class com.tonic.analysis.BootstrapFamilies
-
Internal name of
SwitchBootstraps, the pattern-switch bootstrap owner (Java 21+). - switchBoundaries() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext
-
The boundaries - case headers and merge - of every currently enclosing
switch. - SwitchCase - Class in com.tonic.analysis.source.ast.stmt
-
A case clause of a switch statement, keyed by integer labels or expression labels.
- SwitchCase(List<Integer>, boolean, List<Statement>) - Constructor for class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Creates a case with integer labels; the statement list stays mutable for AST transforms.
- SwitchCase(List<Integer>, List<Expression>, boolean, List<Statement>) - Constructor for class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Creates a case with integer and expression labels.
- SwitchDescriptor - Class in com.tonic.analysis.source.recovery.rcs
-
A decoded, structuring-ready view of a native int/enum
switch. - SwitchDescriptor(IRBlock, Expression, IRBlock, List<SwitchDescriptor.CaseSpec>, Set<IRBlock>) - Constructor for class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
-
Creates a descriptor whose header successors are the case bodies.
- SwitchDescriptor(IRBlock, Expression, IRBlock, List<SwitchDescriptor.CaseSpec>, Set<IRBlock>, boolean) - Constructor for class com.tonic.analysis.source.recovery.rcs.SwitchDescriptor
-
Creates a descriptor, stating whether the header's successors are dispatch scaffolding rather than case bodies.
- SwitchDescriptor.CaseSpec - Class in com.tonic.analysis.source.recovery.rcs
-
One case of a decoded switch.
- SwitchExpr - Class in com.tonic.analysis.source.ast.expr
-
A switch expression (Java 14, JEP 361):
switch (sel) { case L -> result; default -> r; }. - SwitchExpr(Expression, List<SwitchExpr.Arm>, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr
-
Creates a switch expression with no source position.
- SwitchExpr(Expression, List<SwitchExpr.Arm>, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.SwitchExpr
-
Creates a switch expression and adopts the selector, every label, and every arm result as children.
- SwitchExpr.Arm - Class in com.tonic.analysis.source.ast.expr
-
One arm.
- SwitchExpr.Component - Class in com.tonic.analysis.source.ast.expr
-
One component of a record-deconstruction pattern:
type binding. - SwitchExpressionDesugar - Class in com.tonic.analysis.source.ast.transform
-
Desugars switch expressions (Java 14) for the source-to-bytecode front end - the inverse of
SwitchExpressionReconstructor. - SwitchExpressionDesugar() - Constructor for class com.tonic.analysis.source.ast.transform.SwitchExpressionDesugar
- SwitchExpressionReconstructor - Class in com.tonic.analysis.source.ast.transform
-
Reconstructs switch expressions (Java 14) from the classic statement form javac lowers them to.
- SwitchExpressionReconstructor() - Constructor for class com.tonic.analysis.source.ast.transform.SwitchExpressionReconstructor
- SwitchInstruction - Class in com.tonic.analysis.ssa.ir
-
A multi-way branch on an int key, covering both tableswitch and lookupswitch.
- SwitchInstruction(Value, IRBlock) - Constructor for class com.tonic.analysis.ssa.ir.SwitchInstruction
-
Creates a switch with no cases yet and registers a use of an SSA key.
- SwitchMapAnalyzer - Class in com.tonic.analysis.source.recovery
-
Recovers the enum constant behind each ordinal in a javac $SwitchMap holder class by reading its static initializer.
- SwitchMapAnalyzer() - Constructor for class com.tonic.analysis.source.recovery.SwitchMapAnalyzer
- switchStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches switch statements.
- switchStmt(Expression, List<SwitchCase>) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a switch statement node.
- SwitchStmt - Class in com.tonic.analysis.source.ast.stmt
-
A switch statement over a selector expression and a list of cases.
- SwitchStmt(Expression) - Constructor for class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Creates a switch statement with no cases.
- SwitchStmt(Expression, List<SwitchCase>) - Constructor for class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Creates a switch statement with an unknown location.
- SwitchStmt(Expression, List<SwitchCase>, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Creates a switch statement and parents the selector to it.
- SYNCHRONIZED - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0020on a method, taking the receiver's monitor for the duration of the call. - SYNCHRONIZED - com.tonic.analysis.source.parser.TokenType
-
Introduces a monitor-guarded block, or marks a method as guarded by its receiver's monitor.
- SYNCHRONIZED - Static variable in class com.tonic.util.Modifiers
- synchronizedStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches synchronized statements.
- synchronizedStmt(Expression, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a synchronized block node.
- SynchronizedStmt - Class in com.tonic.analysis.source.ast.stmt
-
A synchronized block guarding its body with a lock expression.
- SynchronizedStmt(Expression, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Creates a synchronized block with an unknown location.
- SynchronizedStmt(Expression, Statement, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Creates a synchronized block and parents the lock and body to it.
- synthetic() - Method in class com.tonic.builder.FieldBuilder
-
Adds ACC_SYNTHETIC to the field's access flags.
- synthetic(String, String) - Static method in class com.tonic.analysis.simulation.heap.AllocationSite
-
Creates a site for an object the analysis invents rather than one the program allocates.
- SYNTHETIC - Static variable in class com.tonic.util.Modifiers
- SyntheticArrayConstructor - Class in com.tonic.analysis.source.lower
-
A synthetic array-allocating method pending materialization; its descriptor takes a single int length and returns the array type.
- SyntheticArrayConstructor(String, SourceType, int) - Constructor for class com.tonic.analysis.source.lower.SyntheticArrayConstructor
-
Creates the synthetic array-constructor description and derives its descriptor.
- SyntheticAttribute - Class in com.tonic.parser.attribute
-
The Synthetic attribute: a zero-length marker that the element was compiler-generated.
- SyntheticAttribute(String, ClassFile, int, int) - Constructor for class com.tonic.parser.attribute.SyntheticAttribute
-
Creates the attribute shell for parsing, attached to a class.
- SyntheticAttribute(String, MemberEntry, int, int) - Constructor for class com.tonic.parser.attribute.SyntheticAttribute
-
Creates the attribute shell for parsing, attached to a member.
- SyntheticLambdaMethod - Class in com.tonic.analysis.source.lower
-
A lambda body pending materialization as a synthetic class method, with its captured variables and declared parameters.
- SyntheticLambdaMethod(String, String, boolean, List<SyntheticLambdaMethod.CapturedVariable>, ASTNode, List<LambdaParameter>, SourceType) - Constructor for class com.tonic.analysis.source.lower.SyntheticLambdaMethod
-
Creates the synthetic lambda method description.
- SyntheticLambdaMethod.CapturedVariable - Class in com.tonic.analysis.source.lower
-
A variable captured from the enclosing scope, by name and type.
- SyntheticLocalVariableTable - Class in com.tonic.analysis.source.recovery
-
Builds a
LocalVariableTablefor a STRIPPED method from the decompiler's recovered slot model, keyed to the method's ORIGINAL bytecode offsets. - SYSTEM - Static variable in class com.tonic.util.CommonTypes
- SystemHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the JDK core natives on Object, Class, System and Thread.
- SystemHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.SystemHandlers
T
- T_BOOLEAN - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Boolean elements, atype 4; the JVM stores them one byte apiece.
- T_BOOLEAN - Static variable in interface com.tonic.type.AccessFlags
- T_BYTE - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Signed 8-bit elements, atype 8; boolean arrays share this storage width.
- T_BYTE - Static variable in interface com.tonic.type.AccessFlags
- T_CHAR - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Unsigned 16-bit character elements, atype 5.
- T_CHAR - Static variable in interface com.tonic.type.AccessFlags
- T_DOUBLE - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
64-bit floating point elements, atype 7.
- T_DOUBLE - Static variable in interface com.tonic.type.AccessFlags
- T_FLOAT - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
32-bit floating point elements, atype 6.
- T_FLOAT - Static variable in interface com.tonic.type.AccessFlags
- T_INT - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Signed 32-bit elements, atype 10.
- T_INT - Static variable in interface com.tonic.type.AccessFlags
- T_LONG - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Signed 64-bit elements, atype 11.
- T_LONG - Static variable in interface com.tonic.type.AccessFlags
- T_SHORT - com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Signed 16-bit elements, atype 9.
- T_SHORT - Static variable in interface com.tonic.type.AccessFlags
- tableswitch(int, int, String, String...) - Method in class com.tonic.builder.CodeBuilder
-
Emits a
tableswitchover the contiguous keyslow..high. - TABLESWITCH - com.tonic.util.Opcode
-
Pops an int and branches through a table of offsets covering a contiguous key range, or to the default offset.
- TableSwitchInstruction - Class in com.tonic.analysis.instruction
-
Represents the TABLESWITCH instruction (0xAA).
- TableSwitchInstruction(int, int, int, int, int, int, Map<Integer, Integer>) - Constructor for class com.tonic.analysis.instruction.TableSwitchInstruction
-
Constructs a TableSwitchInstruction.
- TAG_ARG - Static variable in class com.tonic.analysis.execution.invoke.StringConcatHandler
- TAG_CONST - Static variable in class com.tonic.analysis.execution.invoke.StringConcatHandler
- TAG_DOUBLE - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_FLOAT - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_INTEGER - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_LONG - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_NULL - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_OBJECT - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_TOP - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_UNINITIALIZED - Static variable in class com.tonic.analysis.frame.VerificationType
- TAG_UNINITIALIZED_THIS - Static variable in class com.tonic.analysis.frame.VerificationType
- TAINT - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Untyped taint edge for flows that fit none of the source, sink, or propagation roles.
- TAINT_PROPAGATE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Carries taint one step further, from a tainted node to one it contaminates.
- TAINT_SINK - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Marks a node where untrusted data arriving would be a vulnerability.
- TAINT_SOURCE - com.tonic.analysis.cpg.edge.CPGEdgeType
-
Marks a node that introduces untrusted data into the graph.
- TaintAnalysisResult - Class in com.tonic.analysis.cpg.taint
-
Collected taint paths from one analysis run, indexed by vulnerability type and severity.
- TaintAnalysisResult() - Constructor for class com.tonic.analysis.cpg.taint.TaintAnalysisResult
-
Creates an empty result.
- taintedArgumentIndex(int) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- TaintPath - Class in com.tonic.analysis.cpg.taint
-
A single tainted data flow from a source to a sink, with the CPG nodes traversed and any sanitizers seen along the way.
- TaintPath.Builder - Class in com.tonic.analysis.cpg.taint
-
Accumulator for the endpoints and hop list of a TaintPath.
- TaintQuery - Class in com.tonic.analysis.cpg.taint
-
A source-to-sink taint search over a code property graph, configured with source, sink, and sanitizer definitions.
- TaintQuery(CodePropertyGraph) - Constructor for class com.tonic.analysis.cpg.taint.TaintQuery
-
Creates an empty query over a graph, defaulting to a 50 node path cap and interprocedural traversal.
- TaintQuery.Sanitizer - Class in com.tonic.analysis.cpg.taint
-
A regex pair matching call targets that neutralize taint on a path.
- TaintSink - Class in com.tonic.analysis.cpg.taint
-
A regex-matched method call site where tainted data causes a vulnerability, carrying the argument index that must stay untainted.
- TaintSink.Builder - Class in com.tonic.analysis.cpg.taint
-
Mutable accumulator for the fields of a
TaintSink. - TaintSource - Class in com.tonic.analysis.cpg.taint
-
A regex-matched method call site that introduces tainted data, either through its return value or through one argument.
- TaintSource.Builder - Class in com.tonic.analysis.cpg.taint
-
Mutable accumulator for the fields of a
TaintSource. - taintsReturnValue(boolean) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- taintType(TaintType) - Method in class com.tonic.analysis.cpg.taint.TaintSource.Builder
- TaintType - Enum in com.tonic.analysis.cpg.taint
-
Origin categories for tainted data.
- target() - Method in class com.tonic.analysis.query.ast.FindQuery
- target() - Method in interface com.tonic.analysis.query.ast.Query
- target() - Method in class com.tonic.analysis.query.ast.ShowQuery
- Target - Enum in com.tonic.analysis.query.ast
-
Query target type - what kind of entities the query returns.
- targetClass(String) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Restricts interception to calls on one class.
- targetClass(String) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the referenced class.
- targetDescriptor(String) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Restricts interception to one overload.
- targetField(String, String, String) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the target class and member from a field reference.
- targeting(String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Restricts this hook to calls of one method, whatever its descriptor.
- targeting(String, String, String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Restricts this hook to calls of one exact method signature.
- targetMember(String, String) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the referenced member, leaving the target class untouched.
- targetMethod(String) - Method in class com.tonic.analysis.instrumentation.hook.MethodCallHook.Builder
-
Restricts interception to one method name.
- targetMethod(String, String, String) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the target class and member from a method reference.
- targetTriple(String) - Method in class com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.Builder
-
Sets the target triple emitted as a module header.
- TEMPLATE_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data is evaluated as template markup rather than treated as inert content.
- terms() - Method in class com.tonic.analysis.query.ast.Condition.And
- terms() - Method in class com.tonic.analysis.query.ast.Condition.Or
- ternary(Expression, Expression, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a ternary conditional node typed from the then branch.
- ternary(Expression, Expression, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a ternary expression.
- TERNARY - com.tonic.analysis.source.parser.Precedence
-
The conditional
?:level, reached from the?token and right-associative like assignment. - TernaryExpr - Class in com.tonic.analysis.source.ast.expr
-
A conditional expression - condition ? thenExpr : elseExpr - whose three operands are children of this node.
- TernaryExpr(Expression, Expression, Expression, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Creates a conditional expression with an unknown source position.
- TernaryExpr(Expression, Expression, Expression, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Creates a conditional expression and adopts the three operands as children.
- terse() - Static method in class com.tonic.analysis.DisassemblyOptions
-
Creates options with every enrichment disabled.
- test(Value, Value) - Method in enum com.tonic.analysis.query.value.Operator
-
Applies this operator, dispatching on
ValueKind. - THIS - com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
The 'this' reference (null for static methods)
- THIS - com.tonic.analysis.source.parser.TokenType
-
Refers to the current instance, and heads a delegating constructor call to the same class.
- thisExpr(SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a this reference node.
- ThisExpr - Class in com.tonic.analysis.source.ast.expr
-
A reference to the enclosing instance - the 'this' expression.
- ThisExpr(SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.ThisExpr
-
Creates a this expression at an unknown source location.
- ThisExpr(SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.ThisExpr
-
Creates a this expression.
- THREAD - Static variable in class com.tonic.util.CommonTypes
- ThreadHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for java.lang.Thread, StackWalker and stack trace natives, stubbed as no-ops or empty results since the interpreter is single-threaded.
- ThreadHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.ThreadHandlers
- THROW - com.tonic.analysis.execution.dispatch.DispatchResult
-
The interpreter must raise an exception it detected itself, such as a division by zero, rather than one the code threw explicitly.
- THROW - com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
The interpreter must raise an exception it detected itself, such as a division by zero, rather than one the code threw explicitly.
- THROW - com.tonic.analysis.source.parser.TokenType
-
Raises an exception, unwinding until a handler matches.
- THROWABLE - Static variable in class com.tonic.analysis.ssa.type.ReferenceType
- THROWABLE - Static variable in class com.tonic.util.CommonTypes
- THROWABLE_DESC - Static variable in class com.tonic.util.CommonTypes
- ThrowHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for throw statements.
- throwing() - Static method in interface com.tonic.analysis.source.parser.ParseErrorListener
- THROWS - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
throws, naming the exceptions an entity can raise. - THROWS - com.tonic.analysis.source.parser.TokenType
-
Introduces the checked exception list of a method or constructor.
- throwStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches throw statements.
- throwStmt(Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a throw statement node.
- throwStmt(Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a throw statement.
- ThrowStmt - Class in com.tonic.analysis.source.ast.stmt
-
A throw statement, owning the thrown expression as its only child.
- ThrowStmt(Expression) - Constructor for class com.tonic.analysis.source.ast.stmt.ThrowStmt
-
Creates a throw statement with an unknown source position.
- ThrowStmt(Expression, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.ThrowStmt
-
Creates a throw statement and adopts the thrown expression.
- TILDE - com.tonic.analysis.source.parser.TokenType
-
Bitwise complement.
- timeBudget(int) - Method in class com.tonic.analysis.query.ast.RunSpec.Builder
-
Sets the wall-clock budget.
- timeBudgetMs() - Method in class com.tonic.analysis.query.ast.RunSpec
- timeBudgetMs() - Method in class com.tonic.analysis.query.exec.QueryService.QueryConfig
- timeBudgetMs(long) - Method in class com.tonic.analysis.query.exec.QueryService.QueryConfig.Builder
-
Sets the wall-clock budget for a run.
- TimeHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for java.time factories, backing clocks and instants with the host system time.
- TimeHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.TimeHandlers
- toByteArray() - Method in class com.tonic.builder.ClassBuilder
-
Serializes the class to class-file bytes, building it first if needed.
- toClonedRange() - Method in class com.tonic.analysis.CodeWriter
-
Snapshots this writer's full instruction list and its by-identity branch/switch targets into a
CodeWriter.ClonedRange. - toClonedRange(List<ExceptionTableEntry>) - Method in class com.tonic.analysis.CodeWriter
-
As
CodeWriter.toClonedRange()but also carries exception regions. - toClonedRange(List<ExceptionTableEntry>, Map<String, List<Integer>>, List<Integer>) - Method in class com.tonic.analysis.CodeWriter
-
As
CodeWriter.toClonedRange(List)but also records branches whose targets lie outside the snippet. - toCompareOp(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Maps AST comparison operator to IR compare op for integer comparisons.
- toInternalName(String) - Static method in class com.tonic.util.ClassNameUtil
-
Converts a source name to an internal name (slashes instead of dots).
- toIRBinaryOp(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Maps AST binary operator to IR binary op, treating a compound assignment as its base operator.
- toIRType() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- toIRType() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- toIRType() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- toIRType() - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- toIRType() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- toIRType() - Method in interface com.tonic.analysis.source.ast.type.SourceType
-
Converts this source type to the equivalent IR type.
- toIRType() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- toIRType() - Method in class com.tonic.analysis.source.ast.type.VoidSourceType
- toIRType() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- toIRUnaryOp(UnaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Maps AST unary operator to IR unary op.
- toJavaSource() - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- toJavaSource() - Method in interface com.tonic.analysis.source.ast.type.SourceType
-
Converts this source type to Java source code representation.
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.VoidSourceType
- toJavaSource() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- Token - Class in com.tonic.analysis.query.parser
-
Token produced by QueryLexer.
- Token - Class in com.tonic.analysis.source.parser
-
An immutable lexer token - its type, source text, decoded literal value and position.
- Token(Token.TokenType, String, int) - Constructor for class com.tonic.analysis.query.parser.Token
-
Creates a token.
- Token(TokenType, String, SourcePosition) - Constructor for class com.tonic.analysis.source.parser.Token
-
Creates a token with no decoded literal value.
- Token(TokenType, String, Object, SourcePosition) - Constructor for class com.tonic.analysis.source.parser.Token
-
Creates a token carrying a decoded literal value.
- Token.TokenType - Enum in com.tonic.analysis.query.parser
-
The lexical kinds of the query language.
- tokenize() - Method in class com.tonic.analysis.query.parser.QueryLexer
-
Scans the input from the start, discarding any tokens from a previous call.
- TokenType - Enum in com.tonic.analysis.source.parser
-
The lexical token kinds of Java 11, declared in category order so the classification predicates can test ordinal ranges.
- toList() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query into a list.
- toLlvm(IRMethod) - Method in class com.tonic.analysis.ssa.SSA
-
Lowers an SSA-form IR method to textual LLVM IR (computational subset).
- toObjectDescriptor(String) - Static method in class com.tonic.util.DescriptorUtil
-
Creates an object type descriptor from an internal class name.
- TOP - Static variable in class com.tonic.analysis.frame.VerificationType
- topToBottom() - Method in class com.tonic.analysis.execution.frame.CallStack
- toSet() - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Terminates the query into an insertion-ordered set.
- toShortString() - Method in class com.tonic.analysis.cpg.taint.TaintPath
-
Builds a one-line summary of the flow, its severity, hop count, and sanitization state.
- toSingleOperandCompareOp(BinaryOperator) - Static method in class com.tonic.analysis.source.lower.ReverseOperatorMapper
-
Gets the single-operand compare op for checking against zero.
- toSourceName(String) - Static method in class com.tonic.util.ClassNameUtil
-
Converts an internal name to a source name (dots instead of slashes).
- toSourceNameWithInnerClasses(String) - Static method in class com.tonic.util.ClassNameUtil
-
Like
ClassNameUtil.toSourceName(java.lang.String)but also renders a$that separates a named nested class as.. - toSourceString(Set<Modifier>) - Static method in enum com.tonic.analysis.source.ast.decl.Modifier
-
Joins modifiers with spaces in declaration order, regardless of the set's own order.
- toSSA(CodeWriter) - Static method in class com.tonic.analysis.ssa.SSABridge
-
Lifts the given writer's method bytecode to SSA-form IR.
- toState() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
-
Rebuilds a simulation state from the captured stack, locals and position.
- toStream() - Method in class com.tonic.analysis.cpg.query.CPGQuery
- toString() - Method in class com.tonic.analysis.callgraph.CallGraph
- toString() - Method in class com.tonic.analysis.callgraph.CallGraphNode
- toString() - Method in class com.tonic.analysis.callgraph.CallSite
- toString() - Method in class com.tonic.analysis.common.MethodReference
- toString() - Method in class com.tonic.analysis.cpg.CodePropertyGraph
- toString() - Method in class com.tonic.analysis.cpg.edge.CPGEdge
- toString() - Method in class com.tonic.analysis.cpg.node.BlockNode
- toString() - Method in class com.tonic.analysis.cpg.node.CallSiteNode
- toString() - Method in class com.tonic.analysis.cpg.node.CPGNode
- toString() - Method in class com.tonic.analysis.cpg.node.InstructionNode
- toString() - Method in class com.tonic.analysis.cpg.node.MethodNode
- toString() - Method in class com.tonic.analysis.cpg.taint.TaintAnalysisResult
- toString() - Method in class com.tonic.analysis.cpg.taint.TaintPath
- toString() - Method in class com.tonic.analysis.cpg.taint.TaintSink
- toString() - Method in class com.tonic.analysis.cpg.taint.TaintSource
- toString() - Method in class com.tonic.analysis.dataflow.DataFlowEdge
- toString() - Method in class com.tonic.analysis.dataflow.DataFlowGraph
- toString() - Method in class com.tonic.analysis.dataflow.DataFlowNode
- toString() - Method in class com.tonic.analysis.dependency.Dependency
- toString() - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
- toString() - Method in class com.tonic.analysis.dependency.DependencyNode
- toString() - Method in class com.tonic.analysis.execution.core.BytecodeResult
- toString() - Method in class com.tonic.analysis.execution.debug.Breakpoint
- toString() - Method in class com.tonic.analysis.execution.debug.DebugState
- toString() - Method in class com.tonic.analysis.execution.debug.LocalsSnapshot
- toString() - Method in class com.tonic.analysis.execution.debug.StackFrameInfo
- toString() - Method in class com.tonic.analysis.execution.debug.StackSnapshot
- toString() - Method in class com.tonic.analysis.execution.debug.ValueInfo
- toString() - Method in class com.tonic.analysis.execution.dispatch.ConstantDynamicInfo
- toString() - Method in class com.tonic.analysis.execution.dispatch.FieldInfo
- toString() - Method in class com.tonic.analysis.execution.dispatch.InvokeDynamicInfo
- toString() - Method in class com.tonic.analysis.execution.dispatch.MethodHandleInfo
- toString() - Method in class com.tonic.analysis.execution.dispatch.MethodInfo
- toString() - Method in class com.tonic.analysis.execution.dispatch.MethodTypeInfo
- toString() - Method in class com.tonic.analysis.execution.frame.CallStack
- toString() - Method in class com.tonic.analysis.execution.frame.StackFrame
- toString() - Method in class com.tonic.analysis.execution.heap.ArrayInstance
- toString() - Method in class com.tonic.analysis.execution.heap.ObjectInstance
- toString() - Method in class com.tonic.analysis.execution.invoke.InvocationResult
- toString() - Method in exception com.tonic.analysis.execution.invoke.NativeException
- toString() - Method in class com.tonic.analysis.execution.listener.TraceEvent
- toString() - Method in class com.tonic.analysis.execution.resolve.ResolvedField
- toString() - Method in class com.tonic.analysis.execution.resolve.ResolvedMethod
- toString() - Method in class com.tonic.analysis.execution.result.BytecodeResult
- toString() - Method in class com.tonic.analysis.execution.state.ConcreteLocals
- toString() - Method in class com.tonic.analysis.execution.state.ConcreteStack
- toString() - Method in class com.tonic.analysis.execution.state.ConcreteValue
- toString() - Method in class com.tonic.analysis.fingerprint.FingerprintMatch
- toString() - Method in class com.tonic.analysis.fingerprint.MethodFingerprint
- toString() - Method in class com.tonic.analysis.frame.TypeState
- toString() - Method in class com.tonic.analysis.frame.VerificationType.ObjectType
- toString() - Method in class com.tonic.analysis.frame.VerificationType.PrimitiveType
- toString() - Method in class com.tonic.analysis.frame.VerificationType.UninitializedType
- toString() - Method in class com.tonic.analysis.instruction.AALoadInstruction
- toString() - Method in class com.tonic.analysis.instruction.AAStoreInstruction
- toString() - Method in class com.tonic.analysis.instruction.AConstNullInstruction
- toString() - Method in class com.tonic.analysis.instruction.ALoadInstruction
- toString() - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.ArithmeticInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.ArithmeticShiftInstruction
- toString() - Method in class com.tonic.analysis.instruction.ArrayLengthInstruction
- toString() - Method in class com.tonic.analysis.instruction.AStoreInstruction
- toString() - Method in class com.tonic.analysis.instruction.ATHROWInstruction
- toString() - Method in class com.tonic.analysis.instruction.BALOADInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.BAStoreInstruction
- toString() - Method in class com.tonic.analysis.instruction.BipushInstruction
- toString() - Method in class com.tonic.analysis.instruction.CALoadInstruction
- toString() - Method in class com.tonic.analysis.instruction.CAStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.CheckCastInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.CompareInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.ConversionInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DALoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DAStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DConstInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DLoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DNegInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.DupInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.FALoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.FAStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.FConstInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.FLoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.FNegInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.FStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.GotoInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.I2LInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IALoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IAndInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IAStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IConstInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IIncInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.ILoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.INegInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.Instruction
- toString() - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IOrInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.IXorInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.JsrInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LALoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LandInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LAStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LConstInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LdcInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LdcWInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LLoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LNegInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LorInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.LXorInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.MethodReturnInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.MonitorEnterInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.MonitorExitInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.NarrowingConversionInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.NewObjectInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.NopInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.Pop2Instruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.PopInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.RetInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.SALoadInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.SAStoreInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.SipushInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.SwapInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.UnknownInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.WideIIncInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instruction.WideInstruction
-
Returns a string representation of the instruction.
- toString() - Method in class com.tonic.analysis.instrumentation.filter.ClassFilter
- toString() - Method in class com.tonic.analysis.instrumentation.filter.FieldFilter
- toString() - Method in class com.tonic.analysis.instrumentation.filter.MethodFilter
- toString() - Method in class com.tonic.analysis.instrumentation.filter.PackageFilter
- toString() - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport
- toString() - Method in class com.tonic.analysis.pattern.SearchResult
- toString() - Method in class com.tonic.analysis.pdg.edge.PDGEdge
- toString() - Method in class com.tonic.analysis.pdg.node.PDGInstructionNode
- toString() - Method in class com.tonic.analysis.pdg.node.PDGNode
- toString() - Method in class com.tonic.analysis.pdg.node.PDGRegionNode
- toString() - Method in class com.tonic.analysis.pdg.PDG
- toString() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualInNode
- toString() - Method in class com.tonic.analysis.pdg.sdg.node.SDGActualOutNode
- toString() - Method in class com.tonic.analysis.pdg.sdg.node.SDGCallNode
- toString() - Method in class com.tonic.analysis.pdg.sdg.node.SDGEntryNode
- toString() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalInNode
- toString() - Method in class com.tonic.analysis.pdg.sdg.node.SDGFormalOutNode
- toString() - Method in class com.tonic.analysis.pdg.sdg.SDG
- toString() - Method in class com.tonic.analysis.pdg.slice.SliceResult
- toString() - Method in class com.tonic.analysis.query.ast.Accessor
- toString() - Method in class com.tonic.analysis.query.ast.AllScope
- toString() - Method in class com.tonic.analysis.query.ast.ClassScope
- toString() - Method in class com.tonic.analysis.query.ast.Condition.And
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Comparison
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Count
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Group
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Not
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Or
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Quantifier
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Sequence.Element
- toString() - Method in class com.tonic.analysis.query.ast.Condition.Sequence
- toString() - Method in class com.tonic.analysis.query.ast.Condition.True
- toString() - Method in class com.tonic.analysis.query.ast.DuringScope
- toString() - Method in class com.tonic.analysis.query.ast.FindQuery
- toString() - Method in class com.tonic.analysis.query.ast.MethodScope
- toString() - Method in class com.tonic.analysis.query.ast.Operand.Literal
- toString() - Method in class com.tonic.analysis.query.ast.Operand.Ref
- toString() - Method in class com.tonic.analysis.query.ast.OrderBy
- toString() - Method in class com.tonic.analysis.query.ast.RunSpec
- toString() - Method in class com.tonic.analysis.query.ast.ShowQuery
- toString() - Method in class com.tonic.analysis.query.ast.Step
- toString() - Method in class com.tonic.analysis.query.parser.Token
- toString() - Method in class com.tonic.analysis.query.planner.ProbePlan
- toString() - Method in class com.tonic.analysis.query.planner.QueryTarget.ClassTarget
- toString() - Method in class com.tonic.analysis.query.planner.QueryTarget.MethodTarget
- toString() - Method in class com.tonic.analysis.query.planner.QueryTarget.PCTarget
- toString() - Method in class com.tonic.analysis.query.value.Value.Absent
- toString() - Method in class com.tonic.analysis.query.value.Value.BoolValue
- toString() - Method in class com.tonic.analysis.query.value.Value.IntValue
- toString() - Method in class com.tonic.analysis.query.value.Value.NullValue
- toString() - Method in class com.tonic.analysis.query.value.Value.RealValue
- toString() - Method in class com.tonic.analysis.query.value.Value.RegexValue
- toString() - Method in class com.tonic.analysis.query.value.Value.SetValue
- toString() - Method in class com.tonic.analysis.query.value.Value.StrValue
- toString() - Method in class com.tonic.analysis.query.value.Value.TypeValue
- toString() - Method in class com.tonic.analysis.similarity.MethodSignature
- toString() - Method in class com.tonic.analysis.similarity.SimilarityResult
- toString() - Method in class com.tonic.analysis.simulation.core.SimulationContext
- toString() - Method in class com.tonic.analysis.simulation.core.SimulationResult
- toString() - Method in class com.tonic.analysis.simulation.core.SimulationState
- toString() - Method in class com.tonic.analysis.simulation.core.StateSnapshot
- toString() - Method in class com.tonic.analysis.simulation.heap.AllocationSite
- toString() - Method in class com.tonic.analysis.simulation.heap.EscapeAnalyzer
- toString() - Method in class com.tonic.analysis.simulation.heap.FieldKey
- toString() - Method in class com.tonic.analysis.simulation.heap.PointsToQuery
- toString() - Method in class com.tonic.analysis.simulation.heap.SimArray
- toString() - Method in class com.tonic.analysis.simulation.heap.SimHeap
- toString() - Method in class com.tonic.analysis.simulation.heap.SimObject
- toString() - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
- toString() - Method in class com.tonic.analysis.simulation.listener.AllocationListener.AllocationSite
- toString() - Method in class com.tonic.analysis.simulation.listener.AllocationListener
- toString() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener.BlockTransition
- toString() - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- toString() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.AccessStats
- toString() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener.FieldReference
- toString() - Method in class com.tonic.analysis.simulation.listener.FieldAccessListener
- toString() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.CallSite
- toString() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener.MethodReference
- toString() - Method in class com.tonic.analysis.simulation.listener.MethodCallListener
- toString() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange
- toString() - Method in class com.tonic.analysis.simulation.listener.StackOperationListener
- toString() - Method in class com.tonic.analysis.simulation.metrics.AccessMetrics
- toString() - Method in class com.tonic.analysis.simulation.metrics.AllocationMetrics
- toString() - Method in class com.tonic.analysis.simulation.metrics.CallMetrics
- toString() - Method in class com.tonic.analysis.simulation.metrics.PathMetrics
- toString() - Method in class com.tonic.analysis.simulation.metrics.StackMetrics
- toString() - Method in class com.tonic.analysis.simulation.query.PathQuery
- toString() - Method in class com.tonic.analysis.simulation.query.ValueFlowQuery
- toString() - Method in class com.tonic.analysis.simulation.state.CallStackState.CallFrame
- toString() - Method in class com.tonic.analysis.simulation.state.CallStackState
- toString() - Method in class com.tonic.analysis.simulation.state.LocalState
- toString() - Method in class com.tonic.analysis.simulation.state.SimValue
- toString() - Method in class com.tonic.analysis.simulation.state.StackState
- toString() - Method in class com.tonic.analysis.source.ast.ASTPrinter
- toString() - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
- toString() - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
- toString() - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
- toString() - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.ImportDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
- toString() - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
- toString() - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.ArrayInitExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
- toString() - Method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
- toString() - Method in class com.tonic.analysis.source.ast.expr.CastExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.ClassExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.DynamicConstantExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.InvokeDynamicExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- toString() - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.NewExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.SuperExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.SwitchExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.ThisExpr
- toString() - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
- toString() - Method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
- toString() - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
- toString() - Method in class com.tonic.analysis.source.ast.SourceLocation
- toString() - Method in class com.tonic.analysis.source.ast.stmt.BlockStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.BreakStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- toString() - Method in class com.tonic.analysis.source.ast.stmt.ContinueStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.IRRegionStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
- toString() - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
- toString() - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
- toString() - Method in class com.tonic.analysis.source.ast.type.ArraySourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.GenericSourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.IntersectionSourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.PrimitiveSourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.UnionSourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.VoidSourceType
- toString() - Method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- toString() - Method in class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- toString() - Method in class com.tonic.analysis.source.ast.validation.ValidationError
- toString() - Method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
- toString() - Method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
- toString() - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Flushes and returns the accumulated output.
- toString() - Method in exception com.tonic.analysis.source.parser.ParseException
- toString() - Method in class com.tonic.analysis.source.parser.SourcePosition
- toString() - Method in class com.tonic.analysis.source.parser.Token
- toString() - Method in class com.tonic.analysis.source.recovery.ControlFlowContext.FieldKey
- toString() - Method in class com.tonic.analysis.ssa.cfg.ExceptionHandler
- toString() - Method in class com.tonic.analysis.ssa.cfg.IRBlock
- toString() - Method in class com.tonic.analysis.ssa.cfg.IRMethod
- toString() - Method in class com.tonic.analysis.ssa.ir.ArrayAccessInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.BinaryOpInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.BootstrapMethodInfo
- toString() - Method in class com.tonic.analysis.ssa.ir.BranchInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.ConstantInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.CopyInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.FieldAccessInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.InvokeInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.LoadLocalInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.NewArrayInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.NewInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.PhiInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.ReturnInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.SimpleInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.StoreLocalInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.SwitchInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.TypeCheckInstruction
- toString() - Method in class com.tonic.analysis.ssa.ir.UnaryOpInstruction
- toString() - Method in class com.tonic.analysis.ssa.lift.AbstractState
- toString() - Method in class com.tonic.analysis.ssa.transform.ValueRange
- toString() - Method in class com.tonic.analysis.ssa.type.ArrayType
- toString() - Method in class com.tonic.analysis.ssa.type.ReferenceType
- toString() - Method in class com.tonic.analysis.ssa.type.VoidType
- toString() - Method in class com.tonic.analysis.ssa.value.ClassConstant
- toString() - Method in class com.tonic.analysis.ssa.value.DoubleConstant
- toString() - Method in class com.tonic.analysis.ssa.value.DynamicConstant
- toString() - Method in class com.tonic.analysis.ssa.value.FloatConstant
- toString() - Method in class com.tonic.analysis.ssa.value.IntConstant
- toString() - Method in class com.tonic.analysis.ssa.value.LongConstant
- toString() - Method in class com.tonic.analysis.ssa.value.MethodHandleConstant
- toString() - Method in class com.tonic.analysis.ssa.value.MethodTypeConstant
- toString() - Method in class com.tonic.analysis.ssa.value.NullConstant
- toString() - Method in class com.tonic.analysis.ssa.value.SSAValue
- toString() - Method in class com.tonic.analysis.ssa.value.StringConstant
- toString() - Method in class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
- toString() - Method in class com.tonic.analysis.typeinference.TypeSet
- toString() - Method in class com.tonic.analysis.typeinference.TypeState
- toString() - Method in class com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
- toString() - Method in class com.tonic.analysis.verifier.VerificationError
- toString() - Method in class com.tonic.analysis.verifier.VerificationResult
- toString() - Method in class com.tonic.analysis.verifier.VerifierConfig
- toString() - Method in class com.tonic.analysis.xref.FieldReference
- toString() - Method in class com.tonic.analysis.xref.Xref
- toString() - Method in class com.tonic.parser.attribute.annotation.Annotation
- toString() - Method in class com.tonic.parser.attribute.annotation.ElementValue
- toString() - Method in class com.tonic.parser.attribute.annotation.ElementValuePair
- toString() - Method in class com.tonic.parser.attribute.annotation.EnumConst
- toString() - Method in class com.tonic.parser.attribute.AnnotationDefaultAttribute
- toString() - Method in class com.tonic.parser.attribute.Attribute
- toString() - Method in class com.tonic.parser.attribute.BootstrapMethodsAttribute
- toString() - Method in class com.tonic.parser.attribute.CodeAttribute
- toString() - Method in class com.tonic.parser.attribute.ConstantValueAttribute
- toString() - Method in class com.tonic.parser.attribute.DeprecatedAttribute
- toString() - Method in class com.tonic.parser.attribute.EnclosingMethodAttribute
- toString() - Method in class com.tonic.parser.attribute.ExceptionsAttribute
- toString() - Method in class com.tonic.parser.attribute.GenericAttribute
- toString() - Method in class com.tonic.parser.attribute.InnerClassesAttribute
- toString() - Method in class com.tonic.parser.attribute.LineNumberTableAttribute
- toString() - Method in class com.tonic.parser.attribute.LocalVariableTableAttribute
- toString() - Method in class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
- toString() - Method in class com.tonic.parser.attribute.MethodParametersAttribute
- toString() - Method in class com.tonic.parser.attribute.module.Exports
- toString() - Method in class com.tonic.parser.attribute.module.Opens
- toString() - Method in class com.tonic.parser.attribute.module.Provides
- toString() - Method in class com.tonic.parser.attribute.module.Requires
- toString() - Method in class com.tonic.parser.attribute.module.Uses
- toString() - Method in class com.tonic.parser.attribute.ModuleAttribute
- toString() - Method in class com.tonic.parser.attribute.NestHostAttribute
- toString() - Method in class com.tonic.parser.attribute.NestMembersAttribute
- toString() - Method in class com.tonic.parser.attribute.PermittedSubclassesAttribute
- toString() - Method in class com.tonic.parser.attribute.RecordAttribute
- toString() - Method in class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
- toString() - Method in class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
- toString() - Method in class com.tonic.parser.attribute.SignatureAttribute
- toString() - Method in class com.tonic.parser.attribute.SourceDebugExtensionAttribute
- toString() - Method in class com.tonic.parser.attribute.SourceFileAttribute
- toString() - Method in class com.tonic.parser.attribute.stack.AppendFrame
- toString() - Method in class com.tonic.parser.attribute.stack.ChopFrame
- toString() - Method in class com.tonic.parser.attribute.stack.FullFrame
- toString() - Method in class com.tonic.parser.attribute.stack.SameFrame
- toString() - Method in class com.tonic.parser.attribute.stack.SameFrameExtended
- toString() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrame
- toString() - Method in class com.tonic.parser.attribute.stack.SameLocals1StackItemFrameExtended
- toString() - Method in class com.tonic.parser.attribute.stack.StackMapFrame
- toString() - Method in class com.tonic.parser.attribute.stack.VerificationTypeInfo
- toString() - Method in class com.tonic.parser.attribute.StackMapTableAttribute
- toString() - Method in class com.tonic.parser.attribute.SyntheticAttribute
- toString() - Method in class com.tonic.parser.attribute.table.BootstrapMethod
- toString() - Method in class com.tonic.parser.attribute.table.ExceptionTableEntry
- toString() - Method in class com.tonic.parser.attribute.table.InnerClassEntry
- toString() - Method in class com.tonic.parser.attribute.table.LineNumberTableEntry
- toString() - Method in class com.tonic.parser.attribute.table.LocalVariableTableEntry
- toString() - Method in class com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
- toString() - Method in class com.tonic.parser.attribute.table.MethodParameter
- toString() - Method in class com.tonic.parser.ClassFile
- toString() - Method in class com.tonic.parser.constpool.FieldRefItem
- toString() - Method in class com.tonic.parser.constpool.MethodRefItem
- toString() - Method in class com.tonic.parser.constpool.structure.ConstantDynamic
- toString() - Method in class com.tonic.parser.constpool.structure.FieldRef
- toString() - Method in class com.tonic.parser.constpool.structure.InterfaceRef
- toString() - Method in class com.tonic.parser.constpool.structure.InvokeDynamic
- toString() - Method in class com.tonic.parser.constpool.structure.MethodHandle
- toString() - Method in class com.tonic.parser.constpool.structure.MethodRef
- toString() - Method in class com.tonic.parser.constpool.structure.NameAndType
- toString() - Method in class com.tonic.parser.ConstPool
- toString() - Method in class com.tonic.parser.FieldEntry
- toString() - Method in class com.tonic.parser.MethodEntry
- toString() - Method in class com.tonic.parser.util.TypeInfo
- toString() - Method in class com.tonic.renamer.hierarchy.ClassHierarchy
- toString() - Method in class com.tonic.renamer.hierarchy.ClassNode
- toString() - Method in class com.tonic.renamer.mapping.ClassMapping
- toString() - Method in class com.tonic.renamer.mapping.FieldMapping
- toString() - Method in class com.tonic.renamer.mapping.MappingStore
- toString() - Method in class com.tonic.renamer.mapping.MethodMapping
- toString() - Method in class com.tonic.renamer.validation.ValidationResult
- toString() - Method in class com.tonic.type.MethodHandle
- toString() - Method in class com.tonic.type.TypeDescriptor
- toString(int) - Static method in class com.tonic.util.Modifiers
-
Returns a string describing the access modifier flags in the specified modifier.
- toStringWriter() - Static method in class com.tonic.analysis.source.emit.IndentingWriter
-
Creates a writer accumulating into a StringWriter, readable via toString().
- totalInstructions(int) - Method in class com.tonic.analysis.simulation.core.SimulationResult.Builder
-
Sets the total number of instructions simulated.
- totalInstrumentationPoints(int) - Method in class com.tonic.analysis.instrumentation.Instrumenter.InstrumentationReport.Builder
-
Sets the number of instrumentation points applied.
- toVerificationTypeInfo() - Method in class com.tonic.analysis.frame.VerificationType.ObjectType
- toVerificationTypeInfo() - Method in class com.tonic.analysis.frame.VerificationType.PrimitiveType
- toVerificationTypeInfo() - Method in class com.tonic.analysis.frame.VerificationType
-
Converts this VerificationType to a VerificationTypeInfo for writing to class files.
- toVerificationTypeInfo() - Method in class com.tonic.analysis.frame.VerificationType.UninitializedType
- TraceEvent - Class in com.tonic.analysis.execution.listener
-
Immutable record of a single interpreter event, timestamped at creation and built via static factories.
- TraceEvent.Type - Enum in com.tonic.analysis.execution.listener
-
Categories of interpreter events a trace can record.
- traceMode() - Method in class com.tonic.analysis.query.ast.RunSpec
- traceMode(RunSpec.TraceMode) - Method in class com.tonic.analysis.query.ast.RunSpec.Builder
-
Sets the trace retention mode.
- TracingListener - Class in com.tonic.analysis.execution.listener
-
Listener that records interpreter events as TraceEvent entries, optionally with stack snapshots and an event cap.
- TracingListener() - Constructor for class com.tonic.analysis.execution.listener.TracingListener
-
Creates a tracer without stack snapshots and with no event cap.
- TracingListener(boolean) - Constructor for class com.tonic.analysis.execution.listener.TracingListener
-
Creates a tracer with no event cap.
- TracingListener(boolean, int) - Constructor for class com.tonic.analysis.execution.listener.TracingListener
-
Creates a tracer that stops recording once the event cap is reached.
- trackHeap(boolean) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets whether heap allocations are tracked.
- trackStackOperations(boolean) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets whether stack operations are tracked.
- trackStatistics(boolean) - Method in class com.tonic.analysis.execution.core.BytecodeContext.Builder
-
Controls whether execution statistics are tracked.
- trackValues(boolean) - Method in class com.tonic.analysis.simulation.core.SimulationContext.Builder
-
Sets whether value flow is tracked.
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.ArrayInitializerReconstructor
- transform(BlockStmt) - Method in interface com.tonic.analysis.source.ast.transform.ASTTransform
-
Transforms the given block statement in place.
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.ComparisonChainToSwitch
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.ControlFlowSimplifier
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.DeadStoreEliminator
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.DeadVariableEliminator
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.DeclarationHoister
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.ForLoopCounterFolder
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.PatternInstanceOfDesugar
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.PatternInstanceOfReconstructor
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.PatternSwitchDesugar
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.PatternSwitchReconstructor
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.RedundantAssignmentEliminator
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.ScopeEscapeHoister
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.SingleUseInliner
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.StringSwitchDesugar
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.SwitchExpressionDesugar
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.SwitchExpressionReconstructor
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.VarargsReconstructor
- transform(BlockStmt) - Method in class com.tonic.analysis.source.ast.transform.WhileToForCanonicalizer
- transform(MethodEntry) - Method in class com.tonic.analysis.ssa.SSA
-
Performs a complete transformation: lift, optimize, and lower.
- transformClass(ClassFile) - Method in class com.tonic.analysis.ssa.SSA
-
Transforms an entire class file with all registered transforms.
- TransformPreset - Enum in com.tonic.analysis.source.decompile
-
Preset configurations for IR transform pipelines during decompilation.
- TRANSIENT - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0080on a field, excluding it from default serialization. - TRANSIENT - com.tonic.analysis.source.parser.TokenType
-
Modifier excluding a field from default serialization.
- TRANSIENT - Static variable in class com.tonic.util.Modifiers
- transitivelyDependsOn(String, String) - Method in class com.tonic.analysis.dependency.DependencyAnalyzer
-
Checks for a dependency reachable through any chain of intermediate classes.
- translate(Instruction, AbstractState, IRBlock) - Method in class com.tonic.analysis.ssa.lift.InstructionTranslator
-
Translates a bytecode instruction to IR.
- treatWarningsAsErrors(boolean) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Controls whether warnings should be treated as verification errors.
- TREE_MAP - Static variable in class com.tonic.util.CommonTypes
- TRUE - com.tonic.analysis.source.parser.TokenType
-
The true boolean literal, grouped with the literals rather than the keywords, so isLiteral accepts it and isKeyword does not.
- TRUE - Static variable in class com.tonic.analysis.query.value.Value.BoolValue
- truncateLabels(boolean) - Method in class com.tonic.analysis.graph.export.DOTExporterConfig.Builder
-
Controls whether over-long labels are cut down to the maximum length.
- truncateLongLabels(boolean) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets whether labels longer than the maximum length are cut short.
- truth - Variable in class com.tonic.analysis.source.recovery.rcs.BoolFormulaFactory
-
The constant true formula.
- TRY - com.tonic.analysis.source.parser.TokenType
-
Introduces a try statement, with or without a resource list.
- TRY_CATCH - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A protected body with its handlers, whose edges come from the exception table rather than from branches.
- trycatch(String, String, String, String) - Method in class com.tonic.builder.CodeBuilder
-
Records an exception-table region, resolved to offsets when the body is built or assembled.
- tryCatch(Statement, List<CatchClause>) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a try-catch statement node.
- tryCatchFinally(Statement, List<CatchClause>, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a try-catch-finally statement node.
- TryCatchHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for try-catch-finally statements.
- tryCatchStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches try-catch statements.
- TryCatchStmt - Class in com.tonic.analysis.source.ast.stmt
-
Represents a try-catch statement with optional finally block and resources (try-with-resources).
- TryCatchStmt(Statement, List<CatchClause>) - Constructor for class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Creates a try statement with no finally block, no resources and an unknown location.
- TryCatchStmt(Statement, List<CatchClause>, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Creates a try statement with no resources and an unknown location.
- TryCatchStmt(Statement, List<CatchClause>, Statement, List<Expression>, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Creates a try statement, adopting the try block, catch bodies, finally block and resources as children.
- tryCollapseTernaryDiamond(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Collapses a value-producing ternary diamond headed by
branchto a cached ternary expression, returning true when it applies. - tryCollapseTernaryDiamond(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- TryNodeDescriptor - Class in com.tonic.analysis.source.recovery.rcs
-
A statically decoded try region treated as one opaque composite node by the reaching-condition engine.
- TryNodeDescriptor(ExceptionHandler, Set<IRBlock>, IRBlock) - Constructor for class com.tonic.analysis.source.recovery.rcs.TryNodeDescriptor
-
Creates a descriptor over an unmodifiable view of the consumed set.
- tryStructureRegion(IRBlock, Set<IRBlock>) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
Structures the single-entry region rooted at
entryand bounded bystopBlocks, or returnsnullwhen the region is outside this stage's scope so the caller falls back to legacy recovery. - tryStructureRegion(IRBlock, Set<IRBlock>, boolean) - Method in class com.tonic.analysis.source.recovery.rcs.ReachingConditionStructurer
-
As
ReachingConditionStructurer.tryStructureRegion(IRBlock, Set); withallowTryNodeseach try in the region becomes an opaque composite node. - TWO - Static variable in class com.tonic.analysis.ssa.value.FloatConstant
- type - Variable in class com.tonic.parser.util.DescriptorParser.ParseResult
- type() - Method in class com.tonic.analysis.query.eval.Subject.ParamSubject
- type() - Method in class com.tonic.analysis.query.parser.Token
- type() - Method in class com.tonic.analysis.source.ast.expr.LambdaParameter
- type(DataFlowNodeType) - Method in class com.tonic.analysis.dataflow.DataFlowNode.Builder
- type(XrefType) - Method in class com.tonic.analysis.xref.Xref.Builder
-
Sets the kind of reference; defaults to METHOD_CALL.
- TYPE - com.tonic.analysis.cpg.node.CPGNodeType
-
A named class or descriptor type mentioned by the code, not a value of that type.
- TYPE - com.tonic.analysis.query.value.ValueKind
-
A type reference, either an internal name or a descriptor; compared as text against STRING.
- TYPE - com.tonic.analysis.source.ast.validation.ValidationError.Category
-
The types an expression combines do not fit, such as comparing two operands that are not comparable.
- TYPE_CHECK - com.tonic.analysis.dependency.DependencyType
-
Type cast or instanceof
- TYPE_LOCAL_VAR - com.tonic.analysis.xref.XrefType
-
A class named as the declared type of a local variable, recorded from the local variable table rather than from an instruction.
- TYPE_MISMATCH - com.tonic.analysis.verifier.VerificationErrorType
-
An instruction is handed an operand of the wrong type, such as a reference where an int is due.
- TYPE_PARAMETER - com.tonic.analysis.dependency.DependencyType
-
Generic type parameter
- TYPE_PARAMETER - com.tonic.analysis.xref.XrefType
-
A class named as a generic type argument or type-parameter bound in a signature.
- TypeCheckInstruction - Class in com.tonic.analysis.ssa.ir
-
A checkcast or instanceof test, distinguished by its
TypeCheckOp. - TypeCheckOp - Enum in com.tonic.analysis.ssa.ir
-
Whether a
TypeCheckInstructionis a checkcast or an instanceof test. - TypeConstraint - Class in com.tonic.analysis.verifier.type
-
Assignability and category rules over verification types.
- TypeConstraint(ClassPool) - Constructor for class com.tonic.analysis.verifier.type.TypeConstraint
-
Creates a constraint checker.
- TypeDecl - Interface in com.tonic.analysis.source.ast.decl
-
A declared type in the source AST - class, interface, enum or annotation - exposing its modifiers, annotations and members.
- TypeDescriptor - Class in com.tonic.type
-
An immutable JVM field or method descriptor, classified by a sort constant.
- typeError(String, ASTNode) - Static method in class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates a TYPE error.
- TypeInference - Class in com.tonic.analysis.frame
-
Type inference engine for bytecode analysis.
- TypeInference(ConstPool) - Constructor for class com.tonic.analysis.frame.TypeInference
-
Constructs a TypeInference engine for the given constant pool.
- TypeInferenceAnalyzer - Class in com.tonic.analysis.typeinference
-
Dataflow analyzer that infers types and nullability for SSA values, narrowing them at instanceof checks and null comparisons.
- TypeInferenceAnalyzer(IRMethod) - Constructor for class com.tonic.analysis.typeinference.TypeInferenceAnalyzer
-
Creates an analyzer with no state computed; call analyze() to populate it.
- TypeInfo - Class in com.tonic.parser.util
-
A JVM field descriptor with its slot size and primitive/array classification, compared by descriptor.
- TypeNames - Class in com.tonic.analysis.query.value
-
Normalizes the many spellings of a Java type to one canonical descriptor form.
- TypeRecoverer - Class in com.tonic.analysis.source.recovery
-
Recovers source types from IR types.
- TypeRecoverer() - Constructor for class com.tonic.analysis.source.recovery.TypeRecoverer
- TypeResolver - Class in com.tonic.analysis.source.lower
-
Resolves source-level type, field and method references to JVM names and descriptors, consulting the class being lowered, the class pool and the running JVM in that order.
- TypeResolver(ClassPool, String) - Constructor for class com.tonic.analysis.source.lower.TypeResolver
-
Creates a resolver over a class pool and installs its superclass lookup as the frame-generation merge resolver.
- TypeSet - Class in com.tonic.analysis.typeinference
-
A union of the types a value may hold, flagged complete when the members are exact and incomplete when subtypes may also occur.
- TypeSet() - Constructor for class com.tonic.analysis.typeinference.TypeSet
-
Creates an empty, complete type set.
- TypeSet(IRType) - Constructor for class com.tonic.analysis.typeinference.TypeSet
-
Creates a set holding one type, or an empty set if it is null.
- TypeSet(Collection<? extends IRType>) - Constructor for class com.tonic.analysis.typeinference.TypeSet
-
Creates a set holding the given types.
- TypeState - Class in com.tonic.analysis.frame
-
Immutable representation of the type state at a specific point in bytecode execution.
- TypeState - Class in com.tonic.analysis.typeinference
-
A value's inferred type set paired with its nullability lattice element.
- TypeState(IRType) - Constructor for class com.tonic.analysis.typeinference.TypeState
-
Creates a single-type state with unknown nullability.
- TypeState(IRType, Nullability) - Constructor for class com.tonic.analysis.typeinference.TypeState
-
Creates a single-type state.
- TypeState(TypeSet, Nullability) - Constructor for class com.tonic.analysis.typeinference.TypeState
-
Creates a state from an explicit type set.
- TypeState(List<VerificationType>, List<VerificationType>) - Constructor for class com.tonic.analysis.frame.TypeState
-
Constructs a TypeState with the given locals and stack.
- TypeUtil - Class in com.tonic.util
-
Utility class for type descriptor validation and string manipulation.
- TypeUtil() - Constructor for class com.tonic.util.TypeUtil
- TypeUtils - Class in com.tonic.analysis.source.ast.type
-
Utility methods for type operations including boxing, unboxing, type checking, and common supertype computation.
- TypeValue(String) - Constructor for class com.tonic.analysis.query.value.Value.TypeValue
- TypeVerifier - Class in com.tonic.analysis.verifier.type
-
Abstract-interpretation type checker for a method body, walking the bytecode to a fixpoint and reporting stack, local and return type errors to a collector.
- TypeVerifier(ClassFile, ClassPool) - Constructor for class com.tonic.analysis.verifier.type.TypeVerifier
-
Creates a verifier for one class.
U
- ULTRA_STABLE - com.tonic.analysis.fingerprint.FingerprintLevel
-
Signature shape plus the called, accessed and instantiated targets.
- unambiguousDebugName(int) - Method in class com.tonic.analysis.source.recovery.NameRecoverer
-
The LVT name for
slotwhen every entry for that slot agrees on a single name, else null. - unary(UnaryOperator, Expression, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a unary expression node.
- unary(UnaryOperator, Expression, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a unary expression.
- UNARY - com.tonic.analysis.source.parser.Precedence
-
The prefix operator level, covering negation, complement, prefix increment and decrement, and casts.
- UNARY_OP - com.tonic.analysis.dataflow.DataFlowNodeType
-
A value computed from one operand, such as a negation or a width conversion.
- UnaryExpr - Class in com.tonic.analysis.source.ast.expr
-
Represents a unary expression: op operand (prefix) or operand op (postfix)
- UnaryExpr(UnaryOperator, Expression, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Creates a unary expression with an unknown source location.
- UnaryExpr(UnaryOperator, Expression, SourceType, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Creates a unary expression and adopts the operand as a child.
- UnaryExprHandler - Interface in com.tonic.analysis.source.editor.handler
-
Handler for unary expressions (negation, increment, etc.).
- unaryOp(UnaryOperator) - Static method in class com.tonic.analysis.source.editor.matcher.ExprMatcher
-
Matches unary expressions with a specific operator.
- UnaryOp - Enum in com.tonic.analysis.ssa.ir
-
Unary operation types.
- UnaryOperator - Enum in com.tonic.analysis.source.ast.expr
-
Unary operators for expressions.
- UnaryOpInstruction - Class in com.tonic.analysis.ssa.ir
-
A unary operation such as negation or a primitive type conversion.
- UnaryOpInstruction(SSAValue, UnaryOp, Value) - Constructor for class com.tonic.analysis.ssa.ir.UnaryOpInstruction
-
Creates a unary operation and registers a use of an SSA operand.
- unbounded() - Static method in class com.tonic.analysis.source.ast.type.WildcardSourceType
- UNBOUNDED - com.tonic.analysis.source.ast.type.WildcardSourceType.BoundKind
-
A bare
?, the only form that carries no bound type. - UNBOUNDED - Static variable in class com.tonic.analysis.query.ast.Condition.Sequence.Element
- unbox(SourceType) - Static method in class com.tonic.analysis.source.ast.type.TypeUtils
-
Maps a wrapper class to its primitive.
- UNICODE_ESCAPE - com.tonic.analysis.source.emit.IdentifierMode
-
Escape non-standard characters to \\uXXXX format.
- uninitialized(int) - Static method in class com.tonic.analysis.frame.VerificationType
-
Creates an Uninitialized verification type for a NEW instruction.
- UNINITIALIZED_ACCESS - com.tonic.analysis.verifier.VerificationErrorType
-
A freshly allocated object is used before its constructor has run.
- UNINITIALIZED_LOCAL - com.tonic.analysis.verifier.VerificationErrorType
-
A local is read on a path that never wrote it, so it holds no defined value there.
- UNINITIALIZED_THIS - Static variable in class com.tonic.analysis.frame.VerificationType
- UninitializedType(int) - Constructor for class com.tonic.analysis.frame.VerificationType.UninitializedType
- union(SliceResult) - Method in class com.tonic.analysis.pdg.slice.SliceResult
-
Merges two slices, keeping this slice's type and the union of both criteria, nodes and edges.
- UnionSourceType - Class in com.tonic.analysis.source.ast.type
-
Represents a union type, e.g., catch (IOException | SQLException e).
- UnionSourceType(SourceType...) - Constructor for class com.tonic.analysis.source.ast.type.UnionSourceType
-
Creates a union type from a varargs list.
- UnionSourceType(List<SourceType>) - Constructor for class com.tonic.analysis.source.ast.type.UnionSourceType
-
Creates a union type from a list, copied defensively.
- unknown(IRInstruction) - Static method in class com.tonic.analysis.simulation.state.SimValue
-
Creates an untyped value about which nothing is known.
- UNKNOWN - com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
The index is out of range or names an entry kind the ldc family cannot load.
- UNKNOWN - com.tonic.analysis.typeinference.Nullability
-
Value may be null or not null
- UNKNOWN - com.tonic.util.Opcode
-
Sentinel returned by
Opcode.fromCode(int)for a byte value that matches no defined opcode. - UNKNOWN - Static variable in class com.tonic.analysis.source.ast.SourceLocation
- UNKNOWN - Static variable in class com.tonic.analysis.source.parser.SourcePosition
- UNKNOWN_METHOD - Static variable in class com.tonic.analysis.simulation.heap.AllocationSite
- UnknownInstruction - Class in com.tonic.analysis.instruction
-
Represents an unknown or unhandled instruction.
- UnknownInstruction(int, int, int) - Constructor for class com.tonic.analysis.instruction.UnknownInstruction
-
Constructs an UnknownInstruction with zero-filled operands.
- UnknownInstruction(int, int, int, byte[]) - Constructor for class com.tonic.analysis.instruction.UnknownInstruction
-
Constructs an UnknownInstruction, copying the real operand bytes from the source bytecode so the instruction round-trips through
UnknownInstruction.write(java.io.DataOutputStream)and its operands can be inspected. - unmarkMaterialized(SSAValue) - Method in class com.tonic.analysis.source.recovery.RecoveryContext
-
Unmarks an SSA value as materialized, allowing it to be inlined again.
- UNREACHABLE_CODE - com.tonic.analysis.verifier.VerificationErrorType
-
Instructions no path from entry can arrive at, leaving them unverifiable dead weight.
- unrecoveredTryNode(IRBlock) - Method in interface com.tonic.analysis.source.recovery.rcs.RegionRecoveryBridge
-
Signals that the host's try recovery produced nothing for a try node the engine had decoded - a routing gap, since every region structures through the engine.
- unrecoveredTryNode(IRBlock) - Method in class com.tonic.analysis.source.recovery.StatementRecoverer
- UNSAFE_REFLECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data names the class, method, or constructor a reflective call resolves.
- UNSUPPORTED_OPERATION - Static variable in class com.tonic.util.CommonTypes
- updateLength() - Method in class com.tonic.parser.attribute.AnnotationDefaultAttribute
- updateLength() - Method in class com.tonic.parser.attribute.Attribute
-
Recomputes the attribute length field from the current in-memory content.
- updateLength() - Method in class com.tonic.parser.attribute.BootstrapMethodsAttribute
- updateLength() - Method in class com.tonic.parser.attribute.CodeAttribute
- updateLength() - Method in class com.tonic.parser.attribute.ConstantValueAttribute
- updateLength() - Method in class com.tonic.parser.attribute.DeprecatedAttribute
- updateLength() - Method in class com.tonic.parser.attribute.EnclosingMethodAttribute
- updateLength() - Method in class com.tonic.parser.attribute.ExceptionsAttribute
- updateLength() - Method in class com.tonic.parser.attribute.GenericAttribute
- updateLength() - Method in class com.tonic.parser.attribute.InnerClassesAttribute
- updateLength() - Method in class com.tonic.parser.attribute.LineNumberTableAttribute
- updateLength() - Method in class com.tonic.parser.attribute.LocalVariableTableAttribute
- updateLength() - Method in class com.tonic.parser.attribute.LocalVariableTypeTableAttribute
- updateLength() - Method in class com.tonic.parser.attribute.MethodParametersAttribute
- updateLength() - Method in class com.tonic.parser.attribute.ModuleAttribute
- updateLength() - Method in class com.tonic.parser.attribute.NestHostAttribute
- updateLength() - Method in class com.tonic.parser.attribute.NestMembersAttribute
- updateLength() - Method in class com.tonic.parser.attribute.PermittedSubclassesAttribute
- updateLength() - Method in class com.tonic.parser.attribute.RecordAttribute
- updateLength() - Method in class com.tonic.parser.attribute.RuntimeVisibleAnnotationsAttribute
- updateLength() - Method in class com.tonic.parser.attribute.RuntimeVisibleParameterAnnotationsAttribute
- updateLength() - Method in class com.tonic.parser.attribute.SignatureAttribute
- updateLength() - Method in class com.tonic.parser.attribute.SourceDebugExtensionAttribute
- updateLength() - Method in class com.tonic.parser.attribute.SourceFileAttribute
- updateLength() - Method in class com.tonic.parser.attribute.StackMapTableAttribute
- updateLength() - Method in class com.tonic.parser.attribute.SyntheticAttribute
- updateNameAndTypeName(ConstPool, int, String) - Method in class com.tonic.renamer.RenamerContext
-
Updates a specific NameAndType to use a new name.
- updateStackMapTable(MethodEntry) - Method in class com.tonic.analysis.frame.FrameGenerator
-
Convenience method to compute and update the StackMapTable for a method.
- useFullyQualifiedNames(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether type names are emitted fully qualified instead of imported; defaults to false.
- USER_INPUT - com.tonic.analysis.cpg.taint.TaintType
-
Data supplied by a person at the boundary - request parameters, headers, cookies, console reads.
- Uses - Class in com.tonic.parser.attribute.module
-
A uses entry of the Module attribute, naming a service interface the module consumes.
- Uses(ConstPool, int) - Constructor for class com.tonic.parser.attribute.module.Uses
-
Creates a uses entry.
- usesCompactStrings() - Method in class com.tonic.analysis.execution.resolve.ClassResolver
-
Detects compact strings by probing the pooled String class for its coder field.
- useVarKeyword(boolean) - Method in class com.tonic.analysis.source.emit.SourceEmitterConfig.Builder
-
Sets whether local declarations use var instead of the declared type; defaults to false.
- USHR - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Unsigned right shift,
>>>, which fills the vacated high bits with zeroes regardless of sign. - USHR - com.tonic.analysis.ssa.ir.BinaryOp
-
Logical shift right (unsigned).
- USHR_ASSIGN - com.tonic.analysis.source.ast.expr.BinaryOperator
-
Unsigned right shift and assign,
>>>=. - utf8Index(String) - Method in class com.tonic.parser.ConstPool
-
Finds or adds a Utf8Item for the value and returns its constant-pool index.
- Utf8Item - Class in com.tonic.parser.constpool
-
A CONSTANT_Utf8 entry in the constant pool, stored in JVMS modified UTF-8.
- Utf8Item() - Constructor for class com.tonic.parser.constpool.Utf8Item
V
- V1_1 - Static variable in interface com.tonic.type.AccessFlags
- V1_2 - Static variable in interface com.tonic.type.AccessFlags
- V1_3 - Static variable in interface com.tonic.type.AccessFlags
- V1_4 - Static variable in interface com.tonic.type.AccessFlags
- V1_5 - Static variable in interface com.tonic.type.AccessFlags
- V1_6 - Static variable in interface com.tonic.type.AccessFlags
- V1_7 - Static variable in interface com.tonic.type.AccessFlags
- V1_8 - Static variable in interface com.tonic.type.AccessFlags
- V10 - Static variable in interface com.tonic.type.AccessFlags
- V11 - Static variable in interface com.tonic.type.AccessFlags
- V12 - Static variable in interface com.tonic.type.AccessFlags
- V13 - Static variable in interface com.tonic.type.AccessFlags
- V14 - Static variable in interface com.tonic.type.AccessFlags
- V15 - Static variable in interface com.tonic.type.AccessFlags
- V16 - Static variable in interface com.tonic.type.AccessFlags
- V17 - Static variable in interface com.tonic.type.AccessFlags
- V18 - Static variable in interface com.tonic.type.AccessFlags
- V19 - Static variable in interface com.tonic.type.AccessFlags
- V20 - Static variable in interface com.tonic.type.AccessFlags
- V21 - Static variable in interface com.tonic.type.AccessFlags
- V22 - Static variable in interface com.tonic.type.AccessFlags
- V23 - Static variable in interface com.tonic.type.AccessFlags
- V24 - Static variable in interface com.tonic.type.AccessFlags
- V25 - Static variable in interface com.tonic.type.AccessFlags
- V9 - Static variable in interface com.tonic.type.AccessFlags
- valid(int, int, int, int, int) - Static method in class com.tonic.parser.attribute.table.LvtSupport
-
True when an entry is well-formed: slot in range and scope wholly within the code.
- validate() - Method in class com.tonic.renamer.Renamer
-
Validates all mappings without applying them.
- validate() - Method in class com.tonic.renamer.validation.RenameValidator
-
Validates all mappings in the store.
- validate(int, int, byte[], ErrorCollector) - Method in class com.tonic.analysis.verifier.structural.OperandValidator
-
Checks the constant pool operand of one instruction, reporting any mismatch to the collector.
- validate(ASTNode) - Method in class com.tonic.analysis.source.ast.validation.ASTValidator
-
Runs the enabled validation strategies over a tree.
- validate(ASTNode) - Method in class com.tonic.analysis.source.ast.validation.StructuralValidator
-
Checks a tree for parent-link mismatches and missing required children.
- validateDescriptorFormat(String) - Static method in class com.tonic.util.TypeUtil
-
Validates and normalizes a JVM type descriptor.
- ValidationError - Class in com.tonic.analysis.source.ast.validation
-
A single issue reported by AST validation, with severity, category, and offending node.
- ValidationError(ValidationError.Severity, ValidationError.Category, String, ASTNode) - Constructor for class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates an issue, taking its location from the node when one is given.
- ValidationError.Category - Enum in com.tonic.analysis.source.ast.validation
-
The aspect of the AST a validation issue concerns.
- ValidationError.Severity - Enum in com.tonic.analysis.source.ast.validation
-
How serious a validation issue is.
- ValidationResult - Class in com.tonic.renamer.validation
-
Contains the results of validating rename mappings.
- ValidationResult() - Constructor for class com.tonic.renamer.validation.ValidationResult
- ValidationResult(List<ValidationError>) - Constructor for class com.tonic.analysis.source.ast.validation.ASTValidator.ValidationResult
- value() - Method in class com.tonic.analysis.query.ast.Operand.Literal
- value() - Method in class com.tonic.analysis.query.parser.Token
- value(Subject.CallSubject, int) - Static method in class com.tonic.analysis.query.eval.ArgValueResolver
-
Reads the constant feeding the argument.
- value(String, boolean) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a boolean element.
- value(String, double) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a double element.
- value(String, float) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a float element.
- value(String, int) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds an int element.
- value(String, long) - Method in class com.tonic.builder.AnnotationBuilder
-
Adds a long element.
- Value - Interface in com.tonic.analysis.query.value
-
The universal scalar produced by attribute resolution and carried by query literals, as a closed set of nested variants discriminated by
Value.kind(). - Value - Interface in com.tonic.analysis.ssa.value
-
Base interface for all values in SSA form.
- Value.Absent - Class in com.tonic.analysis.query.value
- Value.BoolValue - Class in com.tonic.analysis.query.value
- Value.IntValue - Class in com.tonic.analysis.query.value
- Value.NullValue - Class in com.tonic.analysis.query.value
- Value.RealValue - Class in com.tonic.analysis.query.value
- Value.RegexValue - Class in com.tonic.analysis.query.value
- Value.SetValue - Class in com.tonic.analysis.query.value
- Value.StrValue - Class in com.tonic.analysis.query.value
- Value.TypeValue - Class in com.tonic.analysis.query.value
-
A type reference: either an internal name (
java/lang/String) or a descriptor (I). - ValueFlowQuery - Class in com.tonic.analysis.simulation.query
-
Def-use query over the values observed by a simulation run.
- ValueInfo - Class in com.tonic.analysis.execution.debug
-
A debugger-facing description of one interpreter value: its tag, a printable rendering, and the underlying object.
- ValueInfo(ConcreteValue) - Constructor for class com.tonic.analysis.execution.debug.ValueInfo
-
Captures the tag, display text, and boxed contents of a value.
- ValueKind - Enum in com.tonic.analysis.query.value
-
Discriminator for
Valuevariants, used by the comparator to dispatch without instanceof chains. - valueOf(String) - Static method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.cpg.node.CPGNodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.cpg.taint.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.cpg.taint.TaintType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.cpg.taint.VulnerabilityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.dataflow.DataFlowEdgeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.dataflow.DataFlowNodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.dependency.DependencyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.core.BytecodeResult.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.core.ExecutionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.debug.DebugSessionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.debug.DebugState.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.debug.InterceptorAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.debug.StepMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.dispatch.DispatchResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.invoke.InvocationResult.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.listener.ListenerCapability
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.listener.TraceEvent.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.execution.state.ValueTag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.fingerprint.FingerprintLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.graph.print.Verbosity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.DupInstruction.DupType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.GetFieldInstruction.FieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.GotoInstruction.GotoType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instruction.PutFieldInstruction.FieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.instrumentation.InstrumentationTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.pdg.node.PDGNodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.pdg.slice.SliceResult.SliceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.ast.ArgumentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.ast.Condition.Quant
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.ast.RunSpec.TraceMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.ast.Target
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.eval.SubjectKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.parser.Token.TokenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter.Op
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.value.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.query.value.ValueKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.similarity.SimilarityMetric
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.simulation.core.SimulationMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.simulation.heap.EscapeAnalyzer.EscapeState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.simulation.heap.HeapMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.simulation.state.SimValue.NullState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.decl.Modifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.expr.MethodRefKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.type.WildcardSourceType.BoundKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.validation.ValidationError.Category
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.ast.validation.ValidationError.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.decompile.TransformPreset
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.editor.handler.ArrayAccessHandler.ArrayAccessType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.editor.Replacement.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.emit.IdentifierMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.parser.Precedence
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.parser.TokenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.recovery.ControlFlowContext.JumpKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJumpKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.source.recovery.NameRecoveryStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.cfg.EdgeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.AccessMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.BinaryOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.CompareOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.InvokeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.SimpleOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.TypeCheckOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.ir.UnaryOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.ObjectModel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.lower.StackScheduler.ScheduleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.ssa.type.PrimitiveType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.typeinference.Nullability
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch.Location
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.verifier.VerificationError.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.verifier.VerificationErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.verifier.VerifierConfig.ErrorMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.analysis.xref.XrefType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.util.DescriptorUtil.DescriptorCategory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.util.Opcode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tonic.util.ReturnType
-
Returns the enum constant of this type with the specified name.
- ValueRange - Class in com.tonic.analysis.ssa.transform
-
An inclusive range of integer values used to track value constraints.
- ValueRange(long, long) - Constructor for class com.tonic.analysis.ssa.transform.ValueRange
-
Creates an inclusive range; a min above max denotes the empty range.
- values() - Static method in enum com.tonic.analysis.cpg.edge.CPGEdgeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.cpg.node.CPGNodeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.cpg.taint.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.cpg.taint.TaintType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.cpg.taint.VulnerabilityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.dataflow.DataFlowEdgeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.dataflow.DataFlowNodeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.dependency.DependencyType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.core.BytecodeResult.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.core.ExecutionMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.debug.DebugSessionState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.debug.DebugState.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.debug.InterceptorAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.debug.StepMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.dispatch.DispatchResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.dispatch.OpcodeDispatcher.DispatchResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.invoke.InvocationResult.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.listener.ListenerCapability
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.listener.TraceEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.execution.state.ValueTag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.fingerprint.FingerprintLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.graph.print.Verbosity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.ArithmeticInstruction.ArithmeticType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.ArithmeticShiftInstruction.ShiftType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.CompareInstruction.CompareType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.ConditionalBranchInstruction.BranchType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.ConversionInstruction.ConversionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.DupInstruction.DupType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.GetFieldInstruction.FieldType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.GotoInstruction.GotoType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.LdcInstruction.ConstantType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.NarrowingConversionInstruction.NarrowingType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.NewPrimitiveArrayInstruction.ArrayType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instruction.PutFieldInstruction.FieldType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instrumentation.HookDescriptor.HookParameter
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.instrumentation.InstrumentationTarget
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.pdg.edge.PDGDependenceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.pdg.node.PDGNodeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.pdg.slice.SliceResult.SliceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.ast.ArgumentType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.ast.Condition.Quant
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.ast.RunSpec.TraceMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.ast.Target
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.eval.SubjectKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.parser.Token.TokenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.planner.filter.StaticFilter.CompositeFilter.Op
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.value.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.query.value.ValueKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.similarity.SimilarityMetric
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.simulation.core.SimulationMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.simulation.heap.EscapeAnalyzer.EscapeState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.simulation.heap.HeapMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.simulation.listener.StackOperationListener.DepthChange.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.simulation.state.SimValue.NullState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.decl.Modifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.expr.BinaryOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.expr.MethodRefKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.expr.UnaryOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.type.PrimitiveSourceType.PrimitiveKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.type.WildcardSourceType.BoundKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.validation.ValidationError.Category
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.ast.validation.ValidationError.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.decompile.TransformPreset
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.editor.handler.ArrayAccessHandler.ArrayAccessType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.editor.Replacement.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.emit.IdentifierMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.parser.Precedence
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.parser.TokenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.recovery.ControlFlowContext.JumpKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.recovery.ControlFlowContext.SwitchJumpKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.source.recovery.NameRecoveryStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.cfg.EdgeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.AccessMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.BinaryOp
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.CompareOp
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.InvokeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.SimpleOp
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.TypeCheckOp
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.ir.UnaryOp
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.llvm.LlvmLoweringConfig.ObjectModel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.lower.StackScheduler.ScheduleType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.ssa.type.PrimitiveType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.typeinference.Nullability
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch.Location
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.verifier.VerificationError.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.verifier.VerificationErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.verifier.VerifierConfig.ErrorMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.analysis.xref.XrefType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.util.DescriptorUtil.DescriptorCategory
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.util.Opcode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tonic.util.ReturnType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueTag - Enum in com.tonic.analysis.execution.state
-
Runtime type of an interpreted value, carrying its JVM slot category.
- VAR - com.tonic.analysis.source.parser.TokenType
-
Requests an inferred local variable type; the lexer treats it as a reserved word even though the language allows it as an identifier.
- VARARGS - Static variable in class com.tonic.util.Modifiers
- VarargsReconstructor - Class in com.tonic.analysis.source.ast.transform
-
Reconstructs varargs calls by collapsing an explicit trailing array argument back into individual arguments.
- VarargsReconstructor(ClassFile) - Constructor for class com.tonic.analysis.source.ast.transform.VarargsReconstructor
-
Creates the transform.
- VarCtx - Class in com.tonic.analysis.absexec
-
One local-variable slot's contents during abstract execution.
- VarCtx(boolean) - Constructor for class com.tonic.analysis.absexec.VarCtx
-
An entry parameter (no storing instruction).
- VarCtx(InsnContext, boolean) - Constructor for class com.tonic.analysis.absexec.VarCtx
-
A value stored into a local by
storedBy. - varDecl(SourceType, String) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an uninitialized local variable declaration node.
- varDecl(SourceType, String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an uninitialized local variable declaration.
- varDecl(SourceType, String, Expression) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds an initialized local variable declaration node.
- varDecl(SourceType, String, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an initialized local variable declaration.
- varDecl(String, String, Expression) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates an initialized local variable declaration, parsing the type from its name.
- varDeclStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches variable declaration statements.
- VarDeclStmt - Class in com.tonic.analysis.source.ast.stmt
-
Represents a local variable declaration: Type name [= initializer] Also supports Java 10+ var keyword.
- VarDeclStmt(SourceType, String) - Constructor for class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Creates a non-final declaration with no initializer and an unknown location.
- VarDeclStmt(SourceType, String, Expression) - Constructor for class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Creates a non-final declaration with an explicit type and an unknown location.
- VarDeclStmt(SourceType, String, Expression, boolean, boolean, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Creates a declaration, adopting the initializer as a child.
- variable(String) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a variable reference typed as java.lang.Object.
- variable(String, SourceType) - Method in class com.tonic.analysis.source.editor.util.ASTFactory
-
Creates a variable reference.
- VARIABLE - com.tonic.analysis.source.emit.IdentifierNormalizer.IdentifierType
-
Local variable names; an invalid one is renamed to
var_N. - variableName() - Method in class com.tonic.analysis.source.ast.stmt.CatchClause
- VariableRenamer - Class in com.tonic.analysis.ssa.lift
-
Renames variables to complete SSA conversion by walking the dominator tree.
- VariableRenamer(DominatorTree) - Constructor for class com.tonic.analysis.ssa.lift.VariableRenamer
-
Creates a new variable renamer.
- Variables - Class in com.tonic.analysis.absexec
-
The abstract local-variable table: an array of
VarCtxindexed by slot. - Variables(int) - Constructor for class com.tonic.analysis.absexec.Variables
-
Creates a table sized for the method's declared max locals.
- Variables(Variables) - Constructor for class com.tonic.analysis.absexec.Variables
-
Copies another table for a forked frame.
- varRef(String, SourceType) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a variable reference node.
- VarRefExpr - Class in com.tonic.analysis.source.ast.expr
-
Represents a local variable reference.
- VarRefExpr(String, SourceType) - Constructor for class com.tonic.analysis.source.ast.expr.VarRefExpr
-
Creates a variable reference with no backing IR value and an unknown source position.
- VarRefExpr(String, SourceType, SSAValue) - Constructor for class com.tonic.analysis.source.ast.expr.VarRefExpr
-
Creates a variable reference with an unknown source position.
- VarRefExpr(String, SourceType, SSAValue, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.expr.VarRefExpr
-
Creates a variable reference.
- verbose() - Static method in class com.tonic.analysis.DisassemblyOptions
-
Creates options with every enrichment enabled.
- verbose() - Static method in class com.tonic.analysis.graph.print.GraphPrinterConfig
-
Builds a config at verbose verbosity with node properties printed.
- verbose(boolean) - Method in class com.tonic.analysis.instrumentation.InstrumentationConfig.Builder
-
Sets whether instrumentation progress is logged.
- verbose(boolean) - Method in class com.tonic.analysis.instrumentation.Instrumenter
-
Sets whether instrumentation failures are printed to stderr.
- VERBOSE - com.tonic.analysis.graph.print.Verbosity
-
Adds the whole-graph edge dump, call sites, node properties and per-edge variable names.
- verbosity(Verbosity) - Method in class com.tonic.analysis.graph.print.GraphPrinterConfig.Builder
-
Sets the detail level printers compare against when deciding what to emit.
- Verbosity - Enum in com.tonic.analysis.graph.print
-
Detail level for graph printing, from MINIMAL to DEBUG.
- VerificationError - Class in com.tonic.analysis.verifier
-
One immutable verification finding: a typed error or warning with an optional bytecode offset and location.
- VerificationError(VerificationErrorType, int, String) - Constructor for class com.tonic.analysis.verifier.VerificationError
-
Creates an ERROR-severity finding with no location.
- VerificationError(VerificationErrorType, int, String, VerificationError.Severity) - Constructor for class com.tonic.analysis.verifier.VerificationError
-
Creates a finding with an explicit severity and no location.
- VerificationError(VerificationErrorType, int, String, VerificationError.Severity, String, String) - Constructor for class com.tonic.analysis.verifier.VerificationError
-
Creates a finding with an explicit severity and location; null message and severity fall back to the type's description and ERROR.
- VerificationError.Severity - Enum in com.tonic.analysis.verifier
-
Severity of a finding: ERROR fails verification, WARNING does not.
- VerificationErrorType - Enum in com.tonic.analysis.verifier
-
Category of a verification finding, spanning structural, type, control-flow, and stack-map checks.
- VerificationResult - Class in com.tonic.analysis.verifier
-
Immutable outcome of a verification run: validity plus the collected errors and warnings.
- VerificationType - Class in com.tonic.analysis.frame
-
A verification type in a StackMapTable frame, as a sealed hierarchy.
- VerificationType.ObjectType - Class in com.tonic.analysis.frame
-
Object verification type implementation.
- VerificationType.PrimitiveType - Class in com.tonic.analysis.frame
-
Primitive verification type implementation.
- VerificationType.UninitializedType - Class in com.tonic.analysis.frame
-
Uninitialized verification type implementation.
- VerificationTypeInfo - Class in com.tonic.parser.attribute.stack
-
Represents verification type information used in stack map frames.
- VerificationTypeInfo(int, Object) - Constructor for class com.tonic.parser.attribute.stack.VerificationTypeInfo
-
Constructs a VerificationTypeInfo.
- Verifier - Class in com.tonic.analysis.verifier
-
Bytecode verifier that runs the configured structural, type, control-flow, and stack-map passes over methods, classes, or whole pools.
- Verifier.Builder - Class in com.tonic.analysis.verifier
-
Builder for a
Verifier. - VerifierConfig - Class in com.tonic.analysis.verifier
-
Immutable settings for the
Verifier: which passes run, the error mode, and the error cap. - VerifierConfig.Builder - Class in com.tonic.analysis.verifier
-
Builder for a
VerifierConfig; all passes default to enabled with COLLECT_ALL and 100 errors. - VerifierConfig.ErrorMode - Enum in com.tonic.analysis.verifier
-
How the verifier reacts to errors: stop at the first or collect up to the cap.
- verify(ClassFile) - Method in class com.tonic.analysis.verifier.Verifier
-
Verifies every method of a class, honoring the configured error mode.
- verify(MethodEntry) - Method in class com.tonic.analysis.verifier.Verifier
-
Verifies a single method without an enclosing class file.
- verify(MethodEntry, ErrorCollector) - Method in class com.tonic.analysis.verifier.controlflow.ControlFlowVerifier
-
Checks a method's control flow, warning on unreachable instructions and erroring where execution can fall off the end of the code.
- verify(MethodEntry, ErrorCollector) - Method in class com.tonic.analysis.verifier.controlflow.ExceptionTableVerifier
-
Checks each exception-table entry's ranges, handler target, catch type, and overlap with other handlers.
- verify(MethodEntry, ErrorCollector) - Method in class com.tonic.analysis.verifier.stackmap.StackMapVerifier
-
Checks that every branch target has a StackMapTable frame and that declared frames match the computed type states.
- verify(MethodEntry, ErrorCollector) - Method in class com.tonic.analysis.verifier.structural.StructuralVerifier
-
Walks a method body and reports every structural fault to the collector, stopping early once the collector says to.
- verify(MethodEntry, ErrorCollector) - Method in class com.tonic.analysis.verifier.type.TypeVerifier
-
Type checks a method body, doing nothing if it has no code, no constant pool or no bytecode, or if the code cannot be decoded.
- verifyAll(ClassPool) - Method in class com.tonic.analysis.verifier.Verifier
-
Verifies every class in a pool, stopping early on the first invalid class in fail-fast mode.
- verifyControlFlow(boolean) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Enables or disables the control-flow and exception-table pass.
- verifyStackMapTable(boolean) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Enables or disables the StackMapTable comparison pass.
- verifyStructure(boolean) - Method in class com.tonic.analysis.verifier.VerifierConfig.Builder
-
Enables or disables the structural (opcode/operand) pass.
- version(int, int) - Method in class com.tonic.builder.ClassBuilder
-
Sets the class-file version.
- VIRTUAL - com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
- VIRTUAL - com.tonic.analysis.ssa.ir.InvokeType
-
Virtual method invocation (invokevirtual).
- virtualMethodCall() - Static method in class com.tonic.analysis.pattern.Patterns
-
Matches virtual and interface method calls.
- visible(boolean) - Method in class com.tonic.builder.AnnotationBuilder
-
Marks this annotation runtime-visible (default) or invisible.
- visit(AALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an aaload instruction.
- visit(AAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an aastore instruction.
- visit(AConstNullInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an aconst_null instruction.
- visit(ALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an aload instruction.
- visit(ANewArrayInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an anewarray instruction.
- visit(ArithmeticInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an arithmetic instruction (add/sub/mul/div/rem).
- visit(ArithmeticShiftInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a shift instruction (ishl/ishr/iushr and long forms).
- visit(ArrayLengthInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an arraylength instruction.
- visit(AStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an astore instruction.
- visit(ATHROWInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an athrow instruction.
- visit(BALOADInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a baload instruction.
- visit(BAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a bastore instruction.
- visit(BipushInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a bipush instruction.
- visit(CALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a caload instruction.
- visit(CAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a castore instruction.
- visit(CheckCastInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a checkcast instruction.
- visit(CompareInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a compare instruction (lcmp/fcmpl/fcmpg/dcmpl/dcmpg).
- visit(ConditionalBranchInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a conditional branch instruction (if_*).
- visit(ConversionInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a primitive conversion instruction (i2f, l2d, ...).
- visit(DALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a daload instruction.
- visit(DAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a dastore instruction.
- visit(DConstInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a dconst instruction.
- visit(DLoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a dload instruction.
- visit(DNegInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a dneg instruction.
- visit(DStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a dstore instruction.
- visit(DupInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a dup-family stack duplication instruction.
- visit(FALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an faload instruction.
- visit(FAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an fastore instruction.
- visit(FConstInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an fconst instruction.
- visit(FLoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an fload instruction.
- visit(FNegInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an fneg instruction.
- visit(FStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an fstore instruction.
- visit(GetFieldInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a getfield or getstatic instruction.
- visit(GotoInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a goto or goto_w instruction.
- visit(I2LInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an i2l instruction.
- visit(IALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an iaload instruction.
- visit(IAndInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an iand instruction.
- visit(IAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an iastore instruction.
- visit(IConstInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an iconst instruction.
- visit(IIncInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an iinc instruction.
- visit(ILoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an iload instruction.
- visit(INegInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an ineg instruction.
- visit(InstanceOfInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an instanceof instruction.
- visit(InvokeDynamicInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an invokedynamic instruction.
- visit(InvokeInterfaceInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an invokeinterface instruction.
- visit(InvokeSpecialInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an invokespecial instruction.
- visit(InvokeStaticInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an invokestatic instruction.
- visit(InvokeVirtualInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an invokevirtual instruction.
- visit(IOrInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an ior instruction.
- visit(IStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an istore instruction.
- visit(IXorInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an ixor instruction.
- visit(JsrInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a jsr instruction.
- visit(LALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an laload instruction.
- visit(LAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lastore instruction.
- visit(LConstInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lconst instruction.
- visit(Ldc2WInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an ldc2_w instruction.
- visit(LdcInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an ldc instruction.
- visit(LdcWInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an ldc_w instruction.
- visit(LLoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lload instruction.
- visit(LNegInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lneg instruction.
- visit(LookupSwitchInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a lookupswitch instruction.
- visit(LorInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lor instruction.
- visit(LStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lstore instruction.
- visit(LXorInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an lxor instruction.
- visit(MethodReturnInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a return instruction (ireturn/lreturn/freturn/dreturn/areturn/return).
- visit(MonitorEnterInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a monitorenter instruction.
- visit(MonitorExitInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a monitorexit instruction.
- visit(MultiANewArrayInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a multianewarray instruction.
- visit(NarrowingConversionInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a narrowing conversion instruction (i2b/i2c/i2s).
- visit(NewObjectInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a new instruction.
- visit(NewPrimitiveArrayInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a newarray instruction.
- visit(NopInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a nop instruction.
- visit(Pop2Instruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a pop2 instruction.
- visit(PopInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a pop instruction.
- visit(PutFieldInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a putfield or putstatic instruction.
- visit(RetInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a ret instruction.
- visit(SALoadInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a saload instruction.
- visit(SAStoreInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a sastore instruction.
- visit(SipushInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a sipush instruction.
- visit(SwapInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a swap instruction.
- visit(TableSwitchInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a tableswitch instruction.
- visit(UnknownInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits an unrecognized or truncated instruction.
- visit(WideIIncInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a wide iinc instruction.
- visit(WideInstruction) - Method in class com.tonic.analysis.visitor.AbstractBytecodeVisitor
-
Visits a wide-prefixed instruction.
- visit(CodeAttribute) - Method in class com.tonic.parser.visitor.AbstractMethodVisitor
-
Visits a code attribute.
- visit(MethodEntry) - Method in class com.tonic.parser.visitor.AbstractMethodVisitor
-
Visits a method entry.
- visitAll(AllScope) - Method in interface com.tonic.analysis.query.ast.ScopeVisitor
-
Visits the unrestricted whole-project scope.
- visitAll(AllScope) - Method in class com.tonic.analysis.query.planner.visitor.ScopeFilterVisitor
- visitAnd(Condition.And) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a conjunction.
- visitAnd(Condition.And) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitAnnotationExpr(AnnotationExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitAnnotationExpr(AnnotationExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an annotation use.
- visitArrayAccess(ArrayAccessExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitArrayAccess(ArrayAccessExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitArrayAccess(ArrayAccessExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitArrayAccess(ArrayAccessExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitArrayAccess(ArrayAccessExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an array element access.
- visitArrayAccess(ArrayAccessInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitArrayAccess(ArrayAccessInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits an array element read or write.
- visitArrayInit(ArrayInitExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitArrayInit(ArrayInitExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitArrayInit(ArrayInitExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitArrayInit(ArrayInitExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitArrayInit(ArrayInitExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a braced array initializer.
- visitArrayType(ArraySourceType) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitArrayType(ArraySourceType) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitArrayType(ArraySourceType) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitArrayType(ArraySourceType) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an array type.
- visitBinary(BinaryExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitBinary(BinaryExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitBinary(BinaryExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitBinary(BinaryExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitBinary(BinaryExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a binary operation.
- visitBinaryOp(BinaryOpInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitBinaryOp(BinaryOpInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a two-operand arithmetic, logical, or comparison instruction.
- visitBlock(BlockStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitBlock(BlockStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitBlock(BlockStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitBlock(BlockStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a braced block.
- visitBlock(IRBlock) - Method in class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
-
Visits an IR block.
- visitBranch(BranchInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitBranch(BranchInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a conditional branch and its two targets.
- visitBreak(BreakStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitBreak(BreakStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitBreak(BreakStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitBreak(BreakStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a break statement.
- visitCast(CastExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitCast(CastExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitCast(CastExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitCast(CastExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitCast(CastExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a cast.
- visitClass(ClassScope) - Method in interface com.tonic.analysis.query.ast.ScopeVisitor
-
Visits a scope restricted to matching classes.
- visitClass(ClassScope) - Method in class com.tonic.analysis.query.planner.visitor.ScopeFilterVisitor
- visitClass(ClassExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitClass(ClassExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitClass(ClassExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitClass(ClassExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitClass(ClassExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a class literal.
- visitClassAttribute(Attribute) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Visits a class-level attribute.
- visitClassDecl(ClassDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitClassDecl(ClassDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a class declaration.
- visitComparison(Condition.Comparison) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a comparison leaf.
- visitComparison(Condition.Comparison) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitCompilationUnit(CompilationUnit) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitCompilationUnit(CompilationUnit) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a compilation unit.
- visitConstant(ConstantInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitConstant(ConstantInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a constant load.
- visitConstPoolItem(Item<?>) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Visits a constant pool item.
- visitConstructorDecl(ConstructorDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitConstructorDecl(ConstructorDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a constructor declaration.
- visitContinue(ContinueStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitContinue(ContinueStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitContinue(ContinueStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitContinue(ContinueStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a continue statement.
- visitCopy(CopyInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitCopy(CopyInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a copy of one SSA value into another.
- visitCount(Condition.Count) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a stream cardinality test.
- visitCount(Condition.Count) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitDoWhile(DoWhileStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitDoWhile(DoWhileStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitDoWhile(DoWhileStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitDoWhile(DoWhileStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a do-while loop.
- visitDuring(DuringScope) - Method in interface com.tonic.analysis.query.ast.ScopeVisitor
-
Visits a scope restricted to events observed while matching methods execute.
- visitDuring(DuringScope) - Method in class com.tonic.analysis.query.planner.visitor.ScopeFilterVisitor
- visitDynamicConstant(DynamicConstantExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitDynamicConstant(DynamicConstantExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitDynamicConstant(DynamicConstantExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitDynamicConstant(DynamicConstantExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a dynamically computed constant.
- visitEnumConstantDecl(EnumConstantDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitEnumConstantDecl(EnumConstantDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits one enum constant.
- visitEnumDecl(EnumDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitEnumDecl(EnumDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an enum declaration.
- visitExprStmt(ExprStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitExprStmt(ExprStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitExprStmt(ExprStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitExprStmt(ExprStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an expression used as a statement.
- visitField(FieldEntry) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Visits a field entry and its attributes.
- visitFieldAccess(FieldAccessExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitFieldAccess(FieldAccessExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitFieldAccess(FieldAccessExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitFieldAccess(FieldAccessExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitFieldAccess(FieldAccessExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a field access.
- visitFieldAccess(FieldAccessInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitFieldAccess(FieldAccessInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a field read or write.
- visitFieldAttributes(FieldEntry, Attribute) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Visits a field-level attribute.
- visitFieldDecl(FieldDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitFieldDecl(FieldDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a field declaration.
- visitFor(ForStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitFor(ForStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitFor(ForStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitFor(ForStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a counted for loop.
- visitForEach(ForEachStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitForEach(ForEachStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitForEach(ForEachStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitForEach(ForEachStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an enhanced for loop.
- visitGroup(Condition.Group) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a parenthesized group.
- visitGroup(Condition.Group) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitIf(IfStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitIf(IfStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitIf(IfStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitIf(IfStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an if statement.
- visitImportDecl(ImportDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitImportDecl(ImportDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an import declaration.
- visitInstanceOf(InstanceOfExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitInstanceOf(InstanceOfExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitInstanceOf(InstanceOfExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitInstanceOf(InstanceOfExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitInstanceOf(InstanceOfExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an
instanceoftest. - visitInstruction(IRInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
-
Visits an IR instruction.
- visitInterfaceDecl(InterfaceDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitInterfaceDecl(InterfaceDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an interface declaration.
- visitInvoke(InvokeInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitInvoke(InvokeInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a method invocation.
- visitInvokeDynamic(InvokeDynamicExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitInvokeDynamic(InvokeDynamicExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitInvokeDynamic(InvokeDynamicExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitInvokeDynamic(InvokeDynamicExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an invokedynamic call site.
- visitIRRegion(IRRegionStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitIRRegion(IRRegionStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitIRRegion(IRRegionStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitIRRegion(IRRegionStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a region of control flow that stayed in IR form because it could not be structured.
- visitLabeled(LabeledStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitLabeled(LabeledStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitLabeled(LabeledStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitLabeled(LabeledStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a labeled statement.
- visitLambda(LambdaExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitLambda(LambdaExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitLambda(LambdaExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitLambda(LambdaExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitLambda(LambdaExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a lambda expression.
- visitLiteral(LiteralExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitLiteral(LiteralExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitLiteral(LiteralExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitLiteral(LiteralExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitLiteral(LiteralExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a literal.
- visitLoadLocal(LoadLocalInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitLoadLocal(LoadLocalInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a read of a local variable slot.
- visitMethod(MethodScope) - Method in interface com.tonic.analysis.query.ast.ScopeVisitor
-
Visits a scope restricted to matching methods.
- visitMethod(MethodScope) - Method in class com.tonic.analysis.query.planner.visitor.ScopeFilterVisitor
- visitMethod(MethodEntry) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Visits a method entry and its attributes.
- visitMethodAttributes(MethodEntry, Attribute) - Method in class com.tonic.parser.visitor.AbstractClassVisitor
-
Visits a method-level attribute.
- visitMethodCall(MethodCallExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitMethodCall(MethodCallExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitMethodCall(MethodCallExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitMethodCall(MethodCallExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitMethodCall(MethodCallExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a method call.
- visitMethodDecl(MethodDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitMethodDecl(MethodDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a method declaration.
- visitMethodRef(MethodRefExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitMethodRef(MethodRefExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitMethodRef(MethodRefExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitMethodRef(MethodRefExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitMethodRef(MethodRefExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a method reference.
- visitNew(NewExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitNew(NewExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitNew(NewExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitNew(NewExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitNew(NewExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an object allocation.
- visitNew(NewInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitNew(NewInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits an uninitialized object allocation, before its constructor call.
- visitNewArray(NewArrayExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitNewArray(NewArrayExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitNewArray(NewArrayExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitNewArray(NewArrayExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitNewArray(NewArrayExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits an array allocation.
- visitNewArray(NewArrayInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitNewArray(NewArrayInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits an array allocation.
- visitNot(Condition.Not) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a negation.
- visitNot(Condition.Not) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitOr(Condition.Or) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a disjunction.
- visitOr(Condition.Or) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- Visitor<T> - Interface in com.tonic.parser.visitor
-
Base visitor interface for processing various bytecode elements.
- visitParameterDecl(ParameterDecl) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitParameterDecl(ParameterDecl) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a method or constructor parameter.
- visitPhi(PhiInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractBlockVisitor
-
Visits a phi instruction.
- visitPhi(PhiInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitPhi(PhiInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a phi that merges values arriving from several predecessors.
- visitPrimitiveType(PrimitiveSourceType) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitPrimitiveType(PrimitiveSourceType) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitPrimitiveType(PrimitiveSourceType) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitPrimitiveType(PrimitiveSourceType) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a primitive type.
- visitQuantifier(Condition.Quantifier) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits a quantification over a sub-subject stream.
- visitQuantifier(Condition.Quantifier) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitReferenceType(ReferenceSourceType) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitReferenceType(ReferenceSourceType) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitReferenceType(ReferenceSourceType) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitReferenceType(ReferenceSourceType) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a class or interface type.
- visitReturn(ReturnStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitReturn(ReturnStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitReturn(ReturnStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitReturn(ReturnStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a return statement.
- visitReturn(ReturnInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitReturn(ReturnInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a return, with or without a value.
- visitSequence(Condition.Sequence) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits an instruction-sequence pattern.
- visitSequence(Condition.Sequence) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitSimple(SimpleInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitSimple(SimpleInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a single-operand instruction: arraylength, a monitor op, throw, goto, or catch.
- visitStoreLocal(StoreLocalInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitStoreLocal(StoreLocalInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a write to a local variable slot.
- visitSuper(SuperExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitSuper(SuperExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitSuper(SuperExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitSuper(SuperExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitSuper(SuperExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a
superreference. - visitSwitch(SwitchStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitSwitch(SwitchStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitSwitch(SwitchStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitSwitch(SwitchStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a switch statement.
- visitSwitch(SwitchInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitSwitch(SwitchInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a multi-way branch on an int key.
- visitSwitchExpr(SwitchExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitSwitchExpr(SwitchExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Default so existing visitors need no change; only the source emitter overrides it.
- visitSynchronized(SynchronizedStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitSynchronized(SynchronizedStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitSynchronized(SynchronizedStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitSynchronized(SynchronizedStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a synchronized block.
- visitTernary(TernaryExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitTernary(TernaryExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitTernary(TernaryExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitTernary(TernaryExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitTernary(TernaryExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a ternary conditional.
- visitThis(ThisExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitThis(ThisExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitThis(ThisExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitThis(ThisExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitThis(ThisExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a
thisreference. - visitThrow(ThrowStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitThrow(ThrowStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitThrow(ThrowStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitThrow(ThrowStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a throw statement.
- visitTrue(Condition.True) - Method in interface com.tonic.analysis.query.ast.Condition.Visitor
-
Visits the constant-true leaf.
- visitTrue(Condition.True) - Method in class com.tonic.analysis.query.eval.ConditionEvaluator
- visitTryCatch(TryCatchStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitTryCatch(TryCatchStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitTryCatch(TryCatchStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitTryCatch(TryCatchStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a try statement, with its catch clauses and finally block.
- visitTypeCheck(TypeCheckInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitTypeCheck(TypeCheckInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits an instanceof test or a checkcast.
- visitUnary(UnaryExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitUnary(UnaryExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitUnary(UnaryExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitUnary(UnaryExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitUnary(UnaryExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a unary operation.
- visitUnaryOp(UnaryOpInstruction) - Method in class com.tonic.analysis.ssa.visitor.AbstractIRVisitor
- visitUnaryOp(UnaryOpInstruction) - Method in interface com.tonic.analysis.ssa.visitor.IRVisitor
-
Visits a one-operand instruction such as a negation or a numeric conversion.
- visitVarDecl(VarDeclStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitVarDecl(VarDeclStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitVarDecl(VarDeclStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitVarDecl(VarDeclStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a local variable declaration.
- visitVarRef(VarRefExpr) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitVarRef(VarRefExpr) - Method in class com.tonic.analysis.source.ast.transform.SideEffectDetector
- visitVarRef(VarRefExpr) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitVarRef(VarRefExpr) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitVarRef(VarRefExpr) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a variable reference.
- visitVoidType(VoidSourceType) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitVoidType(VoidSourceType) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitVoidType(VoidSourceType) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitVoidType(VoidSourceType) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits the void type.
- visitWhile(WhileStmt) - Method in class com.tonic.analysis.source.ast.ASTPrinter
- visitWhile(WhileStmt) - Method in class com.tonic.analysis.source.emit.SourceEmitter
- visitWhile(WhileStmt) - Method in class com.tonic.analysis.source.visitor.AbstractSourceVisitor
- visitWhile(WhileStmt) - Method in interface com.tonic.analysis.source.visitor.SourceVisitor
-
Visits a while loop.
- VMHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the JDK internal VM, boot loader, perf, signal, and CDS natives.
- VMHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.VMHandlers
- VOID - com.tonic.analysis.source.parser.TokenType
-
Marks a method as producing no value, and names the void pseudo-type in a class literal.
- VOID - com.tonic.util.DescriptorUtil.DescriptorCategory
-
Descriptor
V, a return type only, occupying no slot. - VOID - Static variable in class com.tonic.parser.util.TypeInfo
- VOID - Static variable in class com.tonic.type.TypeDescriptor
- VOID_NO_ARGS - Static variable in class com.tonic.util.CommonTypes
- VOID_TYPE - Static variable in class com.tonic.type.TypeDescriptor
- voidReturn() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches void return statements.
- VoidSourceType - Class in com.tonic.analysis.source.ast.type
-
The void type in the source AST, held as a singleton.
- VoidType - Class in com.tonic.analysis.ssa.type
-
Represents the void type (for method returns).
- VOLATILE - com.tonic.analysis.source.ast.decl.Modifier
-
Access flag
0x0040on a field, forcing every access to reach main memory. - VOLATILE - com.tonic.analysis.source.parser.TokenType
-
Modifier making a field's reads and writes immediately visible across threads.
- VOLATILE - Static variable in class com.tonic.util.Modifiers
- vreturn() - Method in class com.tonic.builder.CodeBuilder
-
Appends
return, returning from a void method. - vulnerabilityType(VulnerabilityType) - Method in class com.tonic.analysis.cpg.taint.TaintSink.Builder
- VulnerabilityType - Enum in com.tonic.analysis.cpg.taint
-
Vulnerability classes a taint sink can represent.
W
- walk(Consumer<ASTNode>) - Method in interface com.tonic.analysis.source.ast.ASTNode
-
Walks the entire subtree rooted at this node in pre-order (parent first), calling the visitor on each node.
- warning(ValidationError.Category, String, ASTNode) - Static method in class com.tonic.analysis.source.ast.validation.ValidationError
-
Creates a warning-severity issue.
- WARNING - com.tonic.analysis.source.ast.validation.ValidationError.Severity
-
The tree is questionable but still usable, so validation does not reject it.
- WARNING - com.tonic.analysis.verifier.VerificationError.Severity
-
A suspicious but tolerable finding; verification still succeeds and the class is usable.
- wasCancelled() - Method in class com.tonic.analysis.query.exec.QueryBatchRunner.QueryBatchResult
- wasExecuted(Instruction) - Method in class com.tonic.analysis.absexec.Execution
-
Reports whether the interpreter reached the given instruction on any explored path.
- wasVisited(IRBlock) - Method in class com.tonic.analysis.simulation.listener.ControlFlowListener
- wasVisited(IRBlock) - Method in class com.tonic.analysis.simulation.query.PathQuery
-
Checks if a block was visited during simulation.
- where(CPGQuery) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only the nodes the sub-query also yields.
- WHERE - com.tonic.analysis.query.parser.Token.TokenType
-
The word
where, introducing the condition expression, and also the body of a quantifier or count. - whereNot(CPGQuery) - Method in class com.tonic.analysis.cpg.query.CPGQuery
-
Keeps only the nodes the sub-query does not yield.
- WHILE - com.tonic.analysis.source.parser.TokenType
-
Introduces a while loop, and closes a do-while.
- WHILE_LOOP - com.tonic.analysis.source.recovery.ControlFlowContext.StructuredRegion
-
A loop tested at its header, with no induction variable recognized to make it a for.
- whileLoop(Expression, Statement) - Static method in class com.tonic.analysis.source.ast.ASTFactory
-
Builds a while loop node.
- whileStmt() - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches while statements.
- WhileStmt - Class in com.tonic.analysis.source.ast.stmt
-
A while loop with an optional label.
- WhileStmt(Expression, Statement) - Constructor for class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Creates an unlabeled while loop with an unknown location.
- WhileStmt(Expression, Statement, String) - Constructor for class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Creates a labeled while loop with an unknown location.
- WhileStmt(Expression, Statement, String, SourceLocation) - Constructor for class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Creates a while loop, adopting the condition and body as children.
- WhileToForCanonicalizer - Class in com.tonic.analysis.source.ast.transform
-
Canonicalizes a counted
whileback into afor: - WhileToForCanonicalizer() - Constructor for class com.tonic.analysis.source.ast.transform.WhileToForCanonicalizer
- WIDE - com.tonic.util.Opcode
-
Prefix that widens the following local variable instruction to a two-byte variable index, or an IINC to a two-byte index and a two-byte signed increment.
- WideIIncInstruction - Class in com.tonic.analysis.instruction
-
Represents the JVM WIDE IINC instruction.
- WideIIncInstruction(int, int, int, int) - Constructor for class com.tonic.analysis.instruction.WideIIncInstruction
-
Constructs a WideIIncInstruction.
- WideInstruction - Class in com.tonic.analysis.instruction
-
Represents the WIDE instruction (0xC4).
- WideInstruction(int, int, Opcode, int) - Constructor for class com.tonic.analysis.instruction.WideInstruction
-
Constructs a WideInstruction for variable instructions.
- WideInstruction(int, int, Opcode, int, int) - Constructor for class com.tonic.analysis.instruction.WideInstruction
-
Constructs a WideInstruction for IINC.
- wideSecondSlot() - Static method in class com.tonic.analysis.simulation.state.SimValue
- wildcard(String) - Static method in class com.tonic.analysis.source.ast.decl.ImportDecl
-
Creates an on-demand import.
- WildcardSourceType - Class in com.tonic.analysis.source.ast.type
-
A wildcard type argument such as "?", "? extends Number" or "? super Integer"; erases to java/lang/Object.
- WildcardSourceType(WildcardSourceType.BoundKind, SourceType) - Constructor for class com.tonic.analysis.source.ast.type.WildcardSourceType
-
Creates a wildcard type.
- WildcardSourceType.BoundKind - Enum in com.tonic.analysis.source.ast.type
-
Which bound form a wildcard carries.
- with(Expression) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that substitutes a new expression for the visited one.
- with(Statement) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that substitutes a new statement for the visited one.
- WITH - com.tonic.analysis.query.parser.Token.TokenType
-
The word
with, introducing the run spec key/value settings that configure execution. - withAdditionalPointsTo(AllocationSite) - Method in class com.tonic.analysis.simulation.state.SimValue
-
Copies this value with one more allocation site in its points-to set.
- withAlgebraicSimplification() - Method in class com.tonic.analysis.ssa.SSA
-
Enables algebraic simplification optimization.
- withAll() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Passes the array, index, and value as hook arguments.
- withAllocationSite(AllocationSite) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Pins the value to an allocation site, which also makes it non-null.
- withAllOptimizations() - Method in class com.tonic.analysis.ssa.SSA
-
Enables all available optimizations.
- withAllParameters() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Passes every parameter of the instrumented method as hook arguments.
- withAnnotation(String) - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Restricts this hook to methods carrying an annotation.
- withAnnotationType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.AnnotationExpr
-
Sets the annotation type.
- withArgs(Expression...) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Appends arguments to the call.
- withArgs(Expression...) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.NewExprBuilder
-
Appends constructor arguments.
- withArgs(List<Expression>) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.MethodCallBuilder
-
Appends arguments to the call.
- withArgs(List<Expression>) - Method in class com.tonic.analysis.source.editor.util.ASTFactory.NewExprBuilder
-
Appends constructor arguments.
- withArguments() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Passes the call arguments as hook arguments.
- withArray() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Passes the source array as a hook argument.
- withArray() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Passes the target array as a hook argument.
- withArray(Expression) - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
-
Replaces the array operand, reparenting the new child and releasing the former one.
- withArrayElement(SimValue) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Appends one element at the next index.
- withArrayLength(int) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the array length independently of the elements supplied.
- withBitTrackingDCE() - Method in class com.tonic.analysis.ssa.SSA
-
Enables bit-tracking dead code elimination.
- withBlock(Statement...) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that substitutes multiple statements for the visited one.
- withBlock(List<Statement>) - Static method in class com.tonic.analysis.source.editor.Replacement
-
Creates a replacement that substitutes multiple statements for the visited one.
- withBlockMerging() - Method in class com.tonic.analysis.ssa.SSA
-
Enables block merging optimization.
- withBody(ASTNode) - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Replaces the body, reparenting the new child and releasing the former one.
- withBody(BlockStmt) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Replaces the body, adopting the new block and releasing the old one.
- withBody(BlockStmt) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the body, reparenting the new block and releasing the old one.
- withBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Replaces the loop body, reparenting old and new nodes.
- withBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Replaces the loop body, reparenting old and new nodes.
- withBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Replaces the loop body, reparenting old and new nodes.
- withBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Replaces the guarded body, reparenting old and new nodes.
- withBody(Statement) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Replaces the loop body in place, reparenting it and releasing the previous one.
- withBooleanValue(boolean) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the constant this value carries, stored as the int 0 or 1.
- withCallGraph() - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Builds a call graph from the class pool and enables call edges.
- withCallGraph() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Builds a call graph over the pool and attaches it.
- withCallGraph(CallGraph) - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Reuses a prebuilt call graph and enables call edges.
- withCallGraph(CallGraph) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Attaches an already-built call graph for the caller and callee queries.
- withCallGraph(CallGraph) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Sets the call graph for inter-procedural resolution.
- withClassName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Passes the enclosing class name as a hook argument.
- withClassName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Passes the enclosing class name as a hook argument.
- withClassName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Passes the enclosing class name as a hook argument.
- withClassPool(ClassPool) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Sets the class pool used to resolve classes and callees.
- withCommonSubexpressionElimination() - Method in class com.tonic.analysis.ssa.SSA
-
Enables common subexpression elimination.
- withCondition(Expression) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Replaces the test, reparenting it and releasing the old one.
- withCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Replaces the loop condition, reparenting old and new nodes.
- withCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Replaces the loop condition, reparenting old and new nodes.
- withCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Replaces the branch condition, reparenting old and new nodes.
- withCondition(Expression) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Replaces the loop condition in place, reparenting it and releasing the previous one.
- withConditionalConstantPropagation() - Method in class com.tonic.analysis.ssa.SSA
-
Enables conditional constant propagation optimization.
- withConstantFolding() - Method in class com.tonic.analysis.ssa.SSA
-
Enables constant folding optimization.
- withContextSensitivity(boolean) - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Toggles matching calls to returns instead of walking all interprocedural edges.
- withControlDependencies(boolean) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Sets whether control dependence edges are traversed.
- withControlFlowReducibility() - Method in class com.tonic.analysis.ssa.SSA
-
Enables control flow reducibility transformation.
- withCopyPropagation() - Method in class com.tonic.analysis.ssa.SSA
-
Enables copy propagation optimization.
- withCorrelatedValuePropagation() - Method in class com.tonic.analysis.ssa.SSA
-
Enables correlated value propagation optimization.
- withDataDependencies(boolean) - Method in class com.tonic.analysis.pdg.slice.PDGSlicer
-
Sets whether data dependence edges are traversed.
- withDeadCodeElimination() - Method in class com.tonic.analysis.ssa.SSA
-
Enables dead code elimination optimization.
- withDeadMethodElimination() - Method in class com.tonic.analysis.ssa.SSA
-
Enables dead method elimination.
- withDefaultSanitizers() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Adds the built-in sanitizers for URL encoding, OWASP and commons-text escaping, and prepared statements.
- withDefaultSinks() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Adds the built-in injection, traversal, SSRF, deserialization, and reflection sinks.
- withDefaultSources() - Method in class com.tonic.analysis.cpg.taint.TaintQuery
-
Adds the built-in sources for HTTP input, console input, file reads, environment, and database reads.
- withDependencies() - Method in class com.tonic.analysis.pattern.PatternSearch
-
Builds a dependency analyzer over the pool and attaches it.
- withDependencies(DependencyAnalyzer) - Method in class com.tonic.analysis.pattern.PatternSearch
-
Attaches an already-built dependency analyzer for the dependency queries.
- withDescriptor(String) - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Records the JVM field descriptor recovered from bytecode.
- withDescriptor(String) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Records the JVM method descriptor recovered from bytecode.
- withDescriptor(String) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Attaches the JVM descriptor recovered for the referenced method.
- withDescriptor(String) - Method in class com.tonic.analysis.source.ast.expr.NewExpr
-
Records the JVM constructor descriptor recovered from bytecode.
- withDoubleValue(double) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the constant this value carries.
- withDuplicateBlockMerging() - Method in class com.tonic.analysis.ssa.SSA
-
Enables duplicate block merging optimization.
- withDuplicateBlockMerging(boolean) - Method in class com.tonic.analysis.ssa.SSA
-
Enables duplicate block merging optimization with configurable aggression.
- withElement(SimValue, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimArray
-
Records a store, tracking it index-sensitively only when the index is a constant int.
- withElementAt(int, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimArray
-
Records a store at a known index, adding to both the index-sensitive and the index-insensitive element sets.
- withElseBranch(Statement) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Replaces the else branch, reparenting old and new nodes.
- withElseExpr(Expression) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Replaces the else-value, reparenting it and releasing the old one.
- withEnclosingInstance(Expression) - Method in class com.tonic.analysis.source.ast.expr.NewExpr
-
Replaces the enclosing instance, reparenting the new one and releasing the old.
- withErrorListener(ParseErrorListener) - Static method in class com.tonic.analysis.source.parser.JavaParser
-
Creates a parser that routes errors to a listener.
- withException() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Passes the caught exception as a hook argument.
- withExceptionLocalResolution() - Method in class com.tonic.analysis.ssa.SSA
-
Enables exception-local resolution during lifting.
- withExceptionTable(boolean) - Method in class com.tonic.analysis.DisassemblyOptions
-
Derives a copy with the exception-table flag replaced.
- withExpression(Expression) - Method in class com.tonic.analysis.source.ast.expr.CastExpr
-
Replaces the cast operand, reparenting the new child and releasing the former one.
- withExpression(Expression) - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
-
Replaces the tested expression, reparenting the new child and releasing the former one.
- withExpression(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ExprStmt
-
Replaces the wrapped expression, reparenting old and new nodes.
- withExpression(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ThrowStmt
-
Replaces the thrown expression in place, for chaining.
- withFallsThrough(boolean) - Method in class com.tonic.analysis.source.ast.stmt.SwitchCase
-
Marks whether this case falls through to the next.
- withField(FieldKey, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimObject
-
Adds one value to a field's set - a weak update, keeping whatever is already there.
- withField(String, boolean) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets a field to a boolean constant.
- withField(String, int) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets a field to an int constant.
- withField(String, long) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets a field to a long constant.
- withField(String, SimValueBuilder) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets a field to a nested builder, built against the same heap at build time.
- withField(String, SimValue) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets a field to an already built value.
- withField(String, String) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets a field to a java.lang.String constant.
- withFieldName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Passes the field name as a hook argument.
- withFieldName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Passes the field name as a hook argument.
- withFieldSet(FieldKey, Set<SimValue>) - Method in class com.tonic.analysis.simulation.heap.SimObject
-
Adds several values to a field's set - a weak update, keeping whatever is already there.
- withFinal(boolean) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Marks the parameter final or not.
- withFinallyBlock(Statement) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Replaces the finally block in place, reparenting it and releasing the previous one.
- withFloatValue(float) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the constant this value carries.
- withFrame(CallStackState.CallFrame) - Static method in class com.tonic.analysis.simulation.state.CallStackState
-
Creates a stack holding a single frame.
- withHeader(boolean) - Method in class com.tonic.analysis.DisassemblyOptions
-
Derives a copy with the header flag replaced.
- withHeap(SimHeap) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Create a new state with a different heap.
- withHeapTracking(boolean) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Enables or disables heap allocation tracking.
- withImplMethodKey(String) - Method in class com.tonic.analysis.source.ast.expr.LambdaExpr
-
Records the synthetic implementation method key this lambda was built from.
- withIndex() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Passes the load index as a hook argument.
- withIndex() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Passes the store index as a hook argument.
- withIndex(Expression) - Method in class com.tonic.analysis.source.ast.expr.ArrayAccessExpr
-
Replaces the index operand, reparenting the new child and releasing the former one.
- withInit(SourceType, ArrayInitExpr) - Static method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Creates an allocation whose length comes from an initializer.
- withInitializer(ArrayInitExpr) - Method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Replaces the initializer in place, reparenting the new one and releasing the old one.
- withInitializer(Expression) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Replaces the initializer, adopting the new expression and releasing the old one.
- withInitializer(Expression) - Method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Replaces the initializer, reparenting the new one and releasing the old child link.
- withIntValue(int) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the constant this value carries.
- withIterable(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Replaces the iterated expression, reparenting old and new nodes.
- withJumpThreading() - Method in class com.tonic.analysis.ssa.SSA
-
Enables jump threading optimization.
- withLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.DoWhileStmt
-
Sets the loop label.
- withLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Sets the loop label.
- withLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.ForStmt
-
Sets the loop label.
- withLabel(String) - Method in class com.tonic.analysis.source.ast.stmt.WhileStmt
-
Sets the label in place.
- withLabel(String) - Static method in class com.tonic.analysis.source.editor.matcher.StmtMatcher
-
Matches statements with a specific label.
- withLeft(Expression) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Replaces the left operand, reparenting the new child and releasing the former one.
- withLineNumbers(boolean) - Method in class com.tonic.analysis.DisassemblyOptions
-
Derives a copy with the line-number flag replaced.
- withListener(ParseErrorListener) - Method in class com.tonic.analysis.source.parser.JavaParser
-
Derives a parser using a different error sink.
- withLocals(LocalState) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Create a new state with different locals.
- withLocals(List<VerificationType>) - Method in class com.tonic.analysis.frame.TypeState
-
Creates a copy of this state with the given locals replaced.
- withLocalVariables(boolean) - Method in class com.tonic.analysis.DisassemblyOptions
-
Derives a copy with the local-variable flag replaced.
- withLocation(String, String) - Method in class com.tonic.analysis.verifier.VerificationError
-
Copies this error with a class and method location attached.
- withLock(Expression) - Method in class com.tonic.analysis.source.ast.stmt.SynchronizedStmt
-
Replaces the monitor expression, reparenting old and new nodes.
- withLongValue(long) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the constant this value carries.
- withLoopInvariantCodeMotion() - Method in class com.tonic.analysis.ssa.SSA
-
Enables loop-invariant code motion optimization.
- withLoopPredication() - Method in class com.tonic.analysis.ssa.SSA
-
Enables loop predication optimization.
- withMaxCallDepth(int) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Sets the maximum call depth for inter-procedural simulation.
- withMethodInlining() - Method in class com.tonic.analysis.ssa.SSA
-
Enables method inlining optimization.
- withMethodName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ExceptionHookBuilder
-
Passes the enclosing method name as a hook argument.
- withMethodName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Passes the called method name as a hook argument.
- withMethodName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Passes the instrumented method name as a hook argument.
- withMethodName() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Passes the instrumented method name as a hook argument.
- withMethodName(String) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Replaces the method name.
- withMethodName(String) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Replaces the referenced method's name.
- withMode(SimulationMode) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Sets the simulation mode.
- withModifiers(Set<Modifier>) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Replaces all modifiers with the given set.
- withModifiers(Set<Modifier>) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Replaces all modifiers with the given set.
- withModifiers(Set<Modifier>) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Replaces all modifiers with the given set.
- withModifiers(Set<Modifier>) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Replaces all modifiers with the given set.
- withModifiers(Set<Modifier>) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Replaces the modifier set.
- withModifiers(Set<Modifier>) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Replaces the whole modifier set.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Sets the element name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Sets the class name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.ConstructorDecl
-
Sets the constructor name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.EnumConstantDecl
-
Sets the constant name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.EnumDecl
-
Sets the enum name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Sets the field name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.InterfaceDecl
-
Renames the interface.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the method name.
- withName(String) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Renames the parameter.
- withName(String) - Method in class com.tonic.analysis.source.ast.expr.VarRefExpr
-
Renames the referenced variable in place, for chaining.
- withNewValue() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Passes the value being written as a hook argument.
- withNullability(Nullability) - Method in class com.tonic.analysis.typeinference.TypeState
-
Copies this state with a different nullability.
- withNullCheckElimination() - Method in class com.tonic.analysis.ssa.SSA
-
Enables null check elimination optimization.
- withNullState(SimValue.NullState) - Method in class com.tonic.analysis.simulation.state.SimValue
-
Copies this value with a replaced null state.
- withNullValidation(boolean) - Method in class com.tonic.analysis.source.ast.validation.ASTValidator
-
Toggles null checks on required node fields.
- withOffset(int) - Method in class com.tonic.analysis.source.parser.SourcePosition
-
Copies this position with a different character offset.
- withOldValue() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Passes the field's prior value as a hook argument.
- withOperand(Expression) - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Sets the operand, reparenting the new one and releasing the old one.
- withOperator(BinaryOperator) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Replaces the operator.
- withOperator(UnaryOperator) - Method in class com.tonic.analysis.source.ast.expr.UnaryExpr
-
Sets the operator.
- withoutAnnotation(String) - Static method in class com.tonic.analysis.instrumentation.filter.AnnotationFilter
-
Creates a filter that matches methods without the given annotation.
- withoutCallGraph() - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Disables call-graph edges.
- withoutLocalVariableTable() - Method in class com.tonic.analysis.ssa.SSA
-
Disables LocalVariableTable emission when lowering back to bytecode.
- withoutPDG() - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Disables PDG edges.
- withOwner() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Passes the field owner as a hook argument.
- withOwner() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldWriteHookBuilder
-
Passes the field owner as a hook argument.
- withPackageName(String) - Method in class com.tonic.analysis.source.ast.decl.CompilationUnit
-
Sets the package name.
- withPatternVariable(String) - Method in class com.tonic.analysis.source.ast.expr.InstanceOfExpr
-
Replaces the pattern variable name.
- withPDG() - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Enables intraprocedural dependence (PDG) edges.
- withPeepholeOptimizations() - Method in class com.tonic.analysis.ssa.SSA
-
Enables peephole optimizations.
- withPhiConstantPropagation() - Method in class com.tonic.analysis.ssa.SSA
-
Enables phi constant propagation optimization.
- withPointsTo(Set<AllocationSite>) - Method in class com.tonic.analysis.simulation.state.SimValue
-
Copies this value with a replaced points-to set.
- withReadValue() - Method in class com.tonic.analysis.instrumentation.Instrumenter.FieldReadHookBuilder
-
Passes the value read as a hook argument.
- withReassociate() - Method in class com.tonic.analysis.ssa.SSA
-
Enables reassociation optimization.
- withReceiver() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Passes the call receiver as a hook argument.
- withReceiver(Expression) - Method in class com.tonic.analysis.source.ast.expr.FieldAccessExpr
-
Replaces the receiver, reparenting the new child and releasing the former one.
- withReceiver(Expression) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Replaces the receiver, reparenting the new child and releasing the former one.
- withReceiver(Expression) - Method in class com.tonic.analysis.source.ast.expr.MethodRefExpr
-
Replaces the receiver, reparenting it and releasing the old one.
- withRedundantCopyElimination() - Method in class com.tonic.analysis.ssa.SSA
-
Enables redundant copy elimination optimization.
- withResolveBootstraps(boolean) - Method in class com.tonic.analysis.DisassemblyOptions
-
Derives a copy with the bootstrap-resolution flag replaced.
- withResult() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodCallHookBuilder
-
Passes the call result as a hook argument.
- withReturnType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.MethodDecl
-
Sets the declared return type.
- withReturnValue() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Passes the value being returned as a hook argument.
- withRight(Expression) - Method in class com.tonic.analysis.source.ast.expr.BinaryExpr
-
Replaces the right operand, reparenting the new child and releasing the former one.
- withSDG() - Method in class com.tonic.analysis.cpg.CPGBuilder
-
Enables interprocedural (SDG) edges; implies PDG edges.
- withSelector(Expression) - Method in class com.tonic.analysis.source.ast.stmt.SwitchStmt
-
Replaces the selector expression, reparenting old and new nodes.
- withSize(SourceType, Expression) - Static method in class com.tonic.analysis.source.ast.expr.NewArrayExpr
-
Creates a one-dimensional allocation with an explicit length.
- withStack(StackState) - Method in class com.tonic.analysis.simulation.core.SimulationState
-
Create a new state with a different stack.
- withStack(List<VerificationType>) - Method in class com.tonic.analysis.frame.TypeState
-
Creates a copy of this state with the given stack replaced.
- withStackMapFrames(boolean) - Method in class com.tonic.analysis.DisassemblyOptions
-
Derives a copy with the stack-map-frame flag replaced.
- withStackOperationTracking(boolean) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Enables or disables stack operation tracking.
- withStandardOptimizations() - Method in class com.tonic.analysis.ssa.SSA
-
Enables the standard set of optimizations.
- withStatement(Statement) - Method in class com.tonic.analysis.source.ast.stmt.LabeledStmt
-
Replaces the labeled statement, reparenting old and new nodes.
- withStatistics(long, long) - Method in class com.tonic.analysis.execution.core.BytecodeResult
-
Copies this result with execution statistics attached.
- withStrengthReduction() - Method in class com.tonic.analysis.ssa.SSA
-
Enables strength reduction optimization.
- withStringValue(String) - Method in class com.tonic.analysis.simulation.heap.SimValueBuilder
-
Sets the constant this value carries.
- withStructureValidation(boolean) - Method in class com.tonic.analysis.source.ast.validation.ASTValidator
-
Toggles structural (parent-child consistency) validation.
- withSummaryEdges(boolean) - Method in class com.tonic.analysis.pdg.sdg.slice.SDGSlicer
-
Toggles following summary edges, which short-circuit a call's input-to-output flow.
- withSuperCall(boolean) - Method in class com.tonic.analysis.source.ast.expr.MethodCallExpr
-
Marks whether this call is an invokespecial dispatch to a superclass method.
- withSuperclass(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ClassDecl
-
Sets the superclass type.
- withThenBranch(Statement) - Method in class com.tonic.analysis.source.ast.stmt.IfStmt
-
Replaces the then branch, reparenting old and new nodes.
- withThenExpr(Expression) - Method in class com.tonic.analysis.source.ast.expr.TernaryExpr
-
Replaces the then-value, reparenting it and releasing the old one.
- withThis() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodEntryHookBuilder
-
Passes the receiver as a hook argument.
- withThis() - Method in class com.tonic.analysis.instrumentation.Instrumenter.MethodExitHookBuilder
-
Passes the receiver as a hook argument.
- withTryBlock(Statement) - Method in class com.tonic.analysis.source.ast.stmt.TryCatchStmt
-
Replaces the guarded block in place, reparenting it and releasing the previous one.
- withType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.FieldDecl
-
Sets the field type.
- withType(SourceType) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Replaces the declared type.
- withType(SourceType) - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Replaces the source type.
- withType(IRType) - Method in class com.tonic.analysis.typeinference.TypeState
-
Copies this state with one more possible type in the set.
- withTypeArguments(List<SourceType>) - Method in class com.tonic.analysis.source.ast.type.ReferenceSourceType
-
Creates a copy of this type carrying different type arguments.
- withTypeValidation(boolean) - Method in class com.tonic.analysis.source.ast.validation.ASTValidator
-
Toggles type validation of expressions and declarations.
- withValue() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayLoadHookBuilder
-
Passes the loaded value as a hook argument.
- withValue() - Method in class com.tonic.analysis.instrumentation.Instrumenter.ArrayStoreHookBuilder
-
Passes the stored value as a hook argument.
- withValue(Expression) - Method in class com.tonic.analysis.source.ast.decl.AnnotationValue
-
Replaces the element value, adopting the new expression and releasing the old one.
- withValue(Expression) - Method in class com.tonic.analysis.source.ast.stmt.ReturnStmt
-
Replaces the returned expression, reparenting old and new nodes.
- withValue(Object) - Method in class com.tonic.analysis.source.ast.expr.LiteralExpr
-
Replaces the literal value.
- withValueTracking(boolean) - Method in class com.tonic.analysis.simulation.core.SimulationContext
-
Enables or disables value flow tracking.
- withVar(SourceType, String, Expression) - Static method in class com.tonic.analysis.source.ast.stmt.VarDeclStmt
-
Creates a declaration printed with the var keyword.
- withVarArgs(boolean) - Method in class com.tonic.analysis.source.ast.decl.ParameterDecl
-
Marks the parameter varargs or not.
- withVariable(VarDeclStmt) - Method in class com.tonic.analysis.source.ast.stmt.ForEachStmt
-
Replaces the loop variable declaration, reparenting old and new nodes.
- wrapLoops(Statement, Statement) - Method in class com.tonic.analysis.source.editor.StatementEditor
-
Registers a handler that replaces every loop with a block bracketing it.
- WrapperHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for the primitive wrapper classes plus StringBuilder and StringBuffer, backing boxing and string building with heap objects.
- WrapperHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.WrapperHandlers
- wrapWithNullCheck(Expression) - Method in class com.tonic.analysis.source.editor.EditorContext
-
Marks the expression's variable as null-checked without altering the node.
- write() - Method in class com.tonic.analysis.CodeWriter
-
Writes the modified bytecode back to the MethodEntry.
- write() - Method in class com.tonic.parser.ClassFile
-
Rebuilds this ClassFile into a fresh byte array using the current in-memory state.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.AALoadInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.AAStoreInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.AConstNullInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ALoadInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ANewArrayInstruction
-
Writes the ANEWARRAY opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ArithmeticInstruction
-
Writes the arithmetic opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ArithmeticShiftInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ArrayLengthInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.AStoreInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ATHROWInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.BALOADInstruction
-
Writes the BALOAD opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.BAStoreInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.BipushInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.CALoadInstruction
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.CAStoreInstruction
-
Writes the CASTORE opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.CheckCastInstruction
-
Writes the CHECKCAST opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.CompareInstruction
-
Writes the compare opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ConditionalBranchInstruction
-
Writes the conditional branch opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ConversionInstruction
-
Writes the conversion opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DALoadInstruction
-
Writes the DALOAD opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DAStoreInstruction
-
Writes the DASTORE opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DConstInstruction
-
Writes the DCONST_* opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DLoadInstruction
-
Writes the DLOAD opcode and its operand (if any) to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DNegInstruction
-
Writes the DNEG opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DStoreInstruction
-
Writes the DSTORE opcode and its operand (if any) to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.DupInstruction
-
Writes the DUP opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.FALoadInstruction
-
Writes the FALOAD opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.FAStoreInstruction
-
Writes the FASTORE opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.FConstInstruction
-
Writes the FCONST_* opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.FLoadInstruction
-
Writes the FLOAD opcode and its operand (if any) to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.FNegInstruction
-
Writes the FNEG opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.FStoreInstruction
-
Writes the FSTORE opcode and its operand (if any) to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.GetFieldInstruction
-
Writes the get field opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.GotoInstruction
-
Writes the GOTO opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.I2LInstruction
-
Writes the I2L opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IALoadInstruction
-
Writes the IALOAD opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IAndInstruction
-
Writes the IAND opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IAStoreInstruction
-
Writes the IASTORE opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IConstInstruction
-
Writes the ICONST_* opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IIncInstruction
-
Writes the IINC opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.ILoadInstruction
-
Writes the ILOAD opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.INegInstruction
-
Writes the INEG opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.InstanceOfInstruction
-
Writes the INSTANCEOF opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.Instruction
-
Writes the instruction to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.InvokeDynamicInstruction
-
Writes the INVOKEDYNAMIC opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.InvokeInterfaceInstruction
-
Writes the INVOKEINTERFACE opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.InvokeSpecialInstruction
-
Writes the INVOKESPECIAL opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.InvokeStaticInstruction
-
Writes the INVOKESTATIC opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.InvokeVirtualInstruction
-
Writes the INVOKEVIRTUAL opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IOrInstruction
-
Writes the IOR opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IStoreInstruction
-
Writes the ISTORE opcode and its operand (if any) to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.IXorInstruction
-
Writes the IXOR opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.JsrInstruction
-
Writes the JSR opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LALoadInstruction
-
Writes the LALOAD opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LandInstruction
-
Writes the LAND opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LAStoreInstruction
-
Writes the LASTORE opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LConstInstruction
-
Writes the LCONST_* opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.Ldc2WInstruction
-
Writes the LDC2_W opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LdcInstruction
-
Writes the LDC opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LdcWInstruction
-
Writes the LDC_W opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LLoadInstruction
-
Writes the LLOAD opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LNegInstruction
-
Writes the LNEG opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LookupSwitchInstruction
-
Writes the LOOKUPSWITCH opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LorInstruction
-
Writes the LOR opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LStoreInstruction
-
Writes the LSTORE opcode and its operand (if any) to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.LXorInstruction
-
Writes the LXOR opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.MethodReturnInstruction
-
Writes the return opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.MonitorEnterInstruction
-
Writes the MONITORENTER opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.MonitorExitInstruction
-
Writes the MONITOREXIT opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.MultiANewArrayInstruction
-
Writes the MULTIANEWARRAY opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.NarrowingConversionInstruction
-
Writes the narrowing conversion opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.NewObjectInstruction
-
Writes the NEW opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.NewPrimitiveArrayInstruction
-
Writes the NEWARRAY opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.NopInstruction
-
Writes the NOP opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.Pop2Instruction
-
Writes the POP2 opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.PopInstruction
-
Writes the POP opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.PutFieldInstruction
-
Writes the put field opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.RetInstruction
-
Writes the RET opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.SALoadInstruction
-
Writes the SALOAD opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.SAStoreInstruction
-
Writes the SASTORE opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.SipushInstruction
-
Writes the SIPUSH opcode and its operand to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.SwapInstruction
-
Writes the SWAP opcode to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.TableSwitchInstruction
-
Writes the TABLESWITCH opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.UnknownInstruction
-
Writes the unknown opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.WideIIncInstruction
-
Writes the WIDE IINC opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.analysis.instruction.WideInstruction
-
Writes the WIDE opcode and its operands to the DataOutputStream.
- write(DataOutputStream) - Method in class com.tonic.parser.attribute.annotation.Annotation
-
Writes this annotation to the output stream.
- write(DataOutputStream) - Method in class com.tonic.parser.attribute.annotation.ElementValue
-
Writes this element value to the output stream.
- write(DataOutputStream) - Method in class com.tonic.parser.attribute.Attribute
-
Writes the attribute to the output stream.
- write(DataOutputStream) - Method in class com.tonic.parser.attribute.stack.StackMapFrame
-
Writes this stack map frame to the output stream.
- write(DataOutputStream) - Method in class com.tonic.parser.attribute.stack.VerificationTypeInfo
-
Writes this verification type info to the output stream.
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.ClassRefItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.ConstantDynamicItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.DoubleItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.FieldRefItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.FloatItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.IntegerItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.InterfaceRefItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.InvokeDynamicItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.Item
-
Writes the item to the output stream (excluding the tag byte, which is written by the caller).
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.LongItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.MethodHandleItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.MethodRefItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.MethodTypeItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.ModuleItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.NameAndTypeRefItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.PackageItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.StringRefItem
- write(DataOutputStream) - Method in class com.tonic.parser.constpool.Utf8Item
- write(DataOutputStream) - Method in class com.tonic.parser.FieldEntry
- write(DataOutputStream) - Method in class com.tonic.parser.MemberEntry
-
Writes this member entry to the output stream.
- write(DataOutputStream) - Method in class com.tonic.parser.MethodEntry
- write(String) - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Writes text, emitting the indent before the first character of each line.
- writeLine(String) - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Writes text followed by a newline.
- writeRaw(String) - Method in class com.tonic.analysis.source.emit.IndentingWriter
-
Writes already-formatted text without adding indentation, still tracking lines.
- WRITES_FIELD - com.tonic.analysis.query.parser.Token.TokenType
-
The attribute word
writesfieldorwrites_field, naming the fields an entity stores to. - writeWithoutMaxStack() - Method in class com.tonic.analysis.CodeWriter
-
Serializes the (already-relinked) instructions back to the method WITHOUT the dataflow max-stack pass.
X
- XOR - com.tonic.analysis.ssa.ir.BinaryOp
-
Bitwise XOR.
- XPATH_INJECTION - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data reaches an XPath expression that is compiled or evaluated.
- xpathInjection() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- Xref - Class in com.tonic.analysis.xref
-
An immutable cross-reference from a source instruction to the class, method, or field it names.
- Xref.Builder - Class in com.tonic.analysis.xref
-
Mutable accumulator for the fields of an Xref.
- XrefBuilder - Class in com.tonic.analysis.xref
-
A builder for a cross-reference database over every class in a ClassPool, recording call, field access, instantiation, cast and inheritance references.
- XrefBuilder(ClassPool) - Constructor for class com.tonic.analysis.xref.XrefBuilder
-
Creates a builder that will scan the given pool into a fresh database.
- XrefDatabase - Class in com.tonic.analysis.xref
-
Cross-reference store that keeps every xref indexed by source class, target class, target method, target field and reference type for constant-time lookup.
- XrefDatabase() - Constructor for class com.tonic.analysis.xref.XrefDatabase
- XrefType - Enum in com.tonic.analysis.xref
-
Kinds of cross-reference tracked in the xref database.
- xss() - Static method in class com.tonic.analysis.cpg.taint.TaintSink
- XSS - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted data is written into a servlet response or writer without being escaped first.
- XXE - com.tonic.analysis.cpg.taint.VulnerabilityType
-
Untrusted XML is parsed with external entity resolution still enabled.
Z
- ZERO - Static variable in class com.tonic.analysis.ssa.value.DoubleConstant
- ZERO - Static variable in class com.tonic.analysis.ssa.value.FloatConstant
- ZERO - Static variable in class com.tonic.analysis.ssa.value.IntConstant
- ZERO - Static variable in class com.tonic.analysis.ssa.value.LongConstant
- ZipHandlers - Class in com.tonic.analysis.execution.invoke.handlers
-
Native handlers for java.util.zip.
- ZipHandlers() - Constructor for class com.tonic.analysis.execution.invoke.handlers.ZipHandlers
All Classes All Packages