view python/ppci/core/basicblock.py @ 118:db8aafe00d27

Added elf file read scripts
author Windel Bouwman
date Sat, 12 Jan 2013 09:39:23 +0100
parents 9e552d34bd60
children
line wrap: on
line source

from .value import Value

class BasicBlock(Value):
   """ 
     A basic block represents a sequence of instructions without
     jumps and branches.
   """
   def __init__(self):
      super().__init__()
      self.instructions = []
      self.name = None
   def getInstructions(self):
      return self.instructions
   Instructions = property(getInstructions)