about summary refs log tree commit diff stats
path: root/miasm/jitter/loader/pe.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert to src-layout ta/nixTheofilos Augoustis2025-10-141-834/+0
|
* Remove trailing whitespaceDuncan Ogilvie2024-01-061-9/+9
|
* ImpRec: recover_import without alignment hypothesisCamille Mougey2023-04-241-12/+28
|
* ImpRec: fix the search to actually use the ptrsizeCamille Mougey2023-04-241-1/+1
|
* Add a "generic" import recovery strategy based on ImpRecCamille Mougey2023-04-231-0/+121
|
* Remove duplicated ordinals in get_export_name_addr_listAna María Martínez Gómez2020-08-191-10/+5
| | | | | | | | | | | | | | | | | | | | Remove duplicated ordinals in `miasm.jitter.loader.pe.get_export_name_addr_list` and update documentation to include ordinals. Ordinal exports are added twice and consequently duplicated in the output. For example, for `Lab17-02.dll` from https://github.com/mikesiko/PracticalMalwareAnalysis-Labs: ``` [('InstallRT', 268490823), ('InstallSA', 268492481), ('InstallSB', 268494994), ('PSLIST', 268464165), ('ServiceMain', 268488496), ('StartEXS', 268467915), ('UninstallRT', 268497925), ('UninstallSA', 268495365), ('UninstallSB', 268497208), (1, 268490823), (2, 268492481), (3, 268494994), (4, 268464165), (5, 268488496), (6, 268467915), (7, 268497925), (8, 268495365), (9, 268497208), (1, 268490823), (2, 268492481), (3, 268494994), (4, 268464165), (5, 268488496), (6, 268467915), (7, 268497925), (8, 268495365), (9, 268497208)] ```
* Fix get_export_name_addr_list when there are no exportsAna María Martínez Gómez2020-08-181-0/+3
| | | | | | | | | | | 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.
* Add pe pages to allocated_pagesFabrice Desclaux2020-04-201-2/+9
|
* jitter.loader.pe: add docstrings for import/export accessorsWilli Ballenthin2020-01-101-2/+31
|
* normalization of log messages (#1112)Sheidan2019-12-201-1/+1
| | | | | | * normalization of log messages * -8s in format
* PE: API returns None on bad traduction addresesFabrice Desclaux2019-11-251-2/+6
|
* Loader/Pe: fix py2/py3 strFabrice Desclaux2019-11-251-6/+2
|
* Clear get_str_* APIFabrice Desclaux2019-11-121-28/+119
| | | | | | | | | | | | | | | | get_str_ansi decoded strings using utf8 and was blindly used for pure windows function (LoadLibraryA) and for stdlib functions (printf, strlen, ...) even if strlen does not use utf8... New API is: get_win_str_a/get_win_str_w and set_win_str_a/set_win_str_w for windows (respectively codepage1252/windows utf16) .Those functions should only be used in windows strings manipulations, so there are taken out of the jitter. get_c_str/set_c_str: as those functions are "classic" in OSes, they are keeped in the jitter.
* Fix bytes dllnameFabrice Desclaux2019-09-221-2/+6
|
* Loader: add exception in vm2pe for PC < image baseWilliam Bruneau2019-09-201-1/+4
|
* Fix str/bytes handling in pe loaderCaroline Leman2019-08-081-3/+3
|
* Rename elfesteem loaderFabrice Desclaux2019-03-051-3/+3
|
* Include elfesteem fork in miasmPierre LALET2019-03-051-3/+3
|
* Rename miasm2 to miasmFabrice Desclaux2019-03-051-0/+565