File "binexport/function.py", line 174, in graph
_ = self.blocks # Load the CFG
File "functools.py", line 981, in __get__
val = self.func(instance)
File "binexport/function.py", line 141, in blocks
for bb_idx in self._pb_fun.basic_block_index:
AttributeError: 'NoneType' object has no attribute 'basic_block_index'
Which can be patched with the following (in binexport/function.py):
137 # Add a sanity check to prevent error, for yet unknown reason _pb_fun may be undefined
138 if self._pb_fun == None:
139 return bblocks
BinExport is trowing an exception (in
binexport/function.py
) when using the following code:we get this error:
Which can be patched with the following (in
binexport/function.py
):