Class PseudoDisassembler


  • public class PseudoDisassembler
    extends java.lang.Object
    PseudoDisassembler.java Useful for disassembling and getting an Instruction or creating Data at a location in memory when you don't want the program to be changed. The Instructions or Data that area created are PseudoInstruction's and PseudoData's. They act like regular instructions in most respects, but they don't exist in the program. No references, symbols, are created or will be saved when the program is saved. You do not need to have an open transaction on the program to use the PseudoDisassembler. The PseudoDisassembler can also be used to check if something is a valid subroutine. The algorithm it uses could definitely use some tuning, but it generally works well.
Parameters:
entryPoint - entry point to check
Returns:
true if entry point leads to a well behaved subroutine
Parameters:
entryPoint - entry point to check
allowExistingCode - true allows this subroutine to flow into existing instructions.
Returns:
true if entry point leads to a well behaved subroutine