public class


extends Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.analyzer.SwitchInformation

Class Overview

Details on a switch-case native construction. For each possible cases, it provides the handler address and the jump table entry address and size (if any).


Nested Classes
class SwitchInformation.JumpTableInformation Details of a switch's jump table. 
class SwitchInformation.SwitchCaseInformation Details on a 'case' of a switch-like statement: the address of the handler code and the corresponding jump table entry (if any, see isJumpTableBased())  
Public Constructors
Public Methods
void addCase(SwitchInformation.SwitchCaseInformation newCase)
void addJumpTable(SwitchInformation.JumpTableInformation jumpTableInfo)
List<SwitchInformation.SwitchCaseInformation> getCases()
List<SwitchInformation.JumpTableInformation> getJumpTables()
boolean isEmpty()
Inherited Methods
From class java.lang.Object

Public Constructors

public SwitchInformation ()

Public Methods

public void addCase (SwitchInformation.SwitchCaseInformation newCase)

public void addJumpTable (SwitchInformation.JumpTableInformation jumpTableInfo)

public List<SwitchInformation.SwitchCaseInformation> getCases ()

public List<SwitchInformation.JumpTableInformation> getJumpTables ()

public boolean isEmpty ()