'An iterator of all local blocks in the current function.
:return: angr.lifter.Block instances.'

@property
def blocks(self):

    for (block_addr, block) in self._local_blocks.iteritems():
        try:
            (yield self._get_block(block_addr, block.size))
        except (SimEngineError, SimMemoryError):
            pass
