diff options
| author | Ana María Martínez Gómez <anamaria.martinezgom@FireEye.com> | 2020-08-18 19:59:30 +0200 |
|---|---|---|
| committer | Ana María Martínez Gómez <anamaria.martinezgom@FireEye.com> | 2020-08-18 19:59:30 +0200 |
| commit | decd99ff56b2f12e896d68bc89694601be7e0e77 (patch) | |
| tree | 3ba3cb411bd07a05b89945c83cf35545b2cf7551 /example/disasm/dis_binary.py | |
| parent | a01c29cd82f5a717e8dee622002e1ca3e189f420 (diff) | |
| download | miasm-decd99ff56b2f12e896d68bc89694601be7e0e77.tar.gz miasm-decd99ff56b2f12e896d68bc89694601be7e0e77.zip | |
Fix get_export_name_addr_list when there are no exports
If there are no exports, calling to `get_export_name_addr_list` raises an exception at `miasm/jitter/loader/pe.py`, line 152: ``` AttributeError: 'DirExport' object has no attribute 'f_names' ``` Return an empty list instead.
Diffstat (limited to 'example/disasm/dis_binary.py')
0 files changed, 0 insertions, 0 deletions