| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.units.code.asm.cfg.CFGVerifier<InsnType extends com.pnfsoftware.jeb.core.units.code.IInstruction> |
CFG validation. Very expensive computations. Use in DEBUG mode only.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CFGVerifier(CFG<InsnType> cfg) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
isValid()
A CFG is considered valid if:
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
customGraphValidation(CFG<InsnType> cfg)
Custom validation method that may be overridden by subclasses which wish to validate the CFG
further.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
A CFG is considered valid if:
Note: duplicate edges can happen at native level due to JCC-to-fallthrough.
Custom validation method that may be overridden by subclasses which wish to validate the CFG
further. This method is called by isValid() as a first validation step. The default
implementation does nothing (return true).