daikon.asm
Class AsmFile

Object
  extended by AsmFile

public class AsmFile
extends Object

Stores the instructions associated with an asm file. An asm file consists of a list of records. Each record contains assembly instructions corresponding to a basic block. Each record has the form ppt ... Two recods are separated by one or more empty lines. Each record represents a basic block, and contains its name followed by the list of instructions comprising the block. The list of instructions can be empty.


Constructor Summary
AsmFile(LineNumberReader reader)
           
 
Method Summary
static AsmFile getAsmFile(String fileName)
           
 List<X86Instruction> getInstructions(String blockShortName)
           
 int numBasicBlocks()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsmFile

public AsmFile(LineNumberReader reader)
        throws IOException
Throws:
IOException
Method Detail

getAsmFile

public static AsmFile getAsmFile(String fileName)

getInstructions

public List<X86Instruction> getInstructions(String blockShortName)

numBasicBlocks

public int numBasicBlocks()