![]() |
miasm
Reverse engineering framework
|


Public Member Functions | |
| def | __init__ (self, loc_db, blocks) |
| def | pinned (self) |
| def | place (self) |
| def | merge (self, chain) |
| def | fix_blocks (self, modified_loc_keys) |
Public Attributes | |
| loc_db | |
| blocks | |
| pinned_block_idx | |
| max_size | |
| offset_min | |
| offset_max | |
Manage blocks linked with an asm_constraint_next
| def miasm.core.asmblock.BlockChain.__init__ | ( | self, | |
| loc_db, | |||
| blocks | |||
| ) |
| def miasm.core.asmblock.BlockChain.fix_blocks | ( | self, | |
| modified_loc_keys | |||
| ) |
Propagate a pinned to its blocks' neighbour @modified_loc_keys: store new pinned loc_keys

| def miasm.core.asmblock.BlockChain.merge | ( | self, | |
| chain | |||
| ) |
Best effort merge two block chains Return the list of resulting blockchains


| def miasm.core.asmblock.BlockChain.pinned | ( | self | ) |
Return True iff at least one block is pinned

| def miasm.core.asmblock.BlockChain.place | ( | self | ) |
Compute BlockChain min_offset and max_offset using pinned block and blocks' size


| miasm.core.asmblock.BlockChain.blocks |
| miasm.core.asmblock.BlockChain.loc_db |
| miasm.core.asmblock.BlockChain.max_size |
| miasm.core.asmblock.BlockChain.offset_max |
| miasm.core.asmblock.BlockChain.offset_min |
| miasm.core.asmblock.BlockChain.pinned_block_idx |