90 Commits

Author SHA1 Message Date
hasherezade 05a0aa308a [REFACT] Use const pointers in PE checksum calculation 2025-04-23 18:06:13 -08:00
hasherezade 2d294442c5 [FEATURE] Added masking values to DWORD 2025-04-21 07:41:18 -08:00
visuve 06da4226e4 Fix some warnings pointed out by Cppcheck 2024-04-06 10:39:47 +03:00
hasherezade 2ed122ac47 [BUGFIX] In PEFile::moveDataDirEntry wrap directory after moving 2024-01-20 17:02:31 +01:00
hasherezade 1024e147ac [REFACT] In PEFile: wrap data dirs in a new function 2024-01-20 16:47:00 +01:00
hasherezade a0f8ef2172 [REFACT] Protect by mutex all operations on sections 2024-01-05 21:14:37 +01:00
hasherezade b90ab84790 [REFACT] Refactored the prototype of the wrap func. 2024-01-04 03:48:08 +01:00
hasherezade 95dd242392 [FEATURE] In PEFile: rewrap all the wrappers; dataDirs outside of the lock 2024-01-04 03:10:06 +01:00
hasherezade 48ce9ad8e5 [NOBIN] In PEFile: removed unsued code block 2024-01-04 00:07:56 +01:00
hasherezade cc7a5eef70 [FEATURE] Use watched lock. Protect by mutex functions in SecHdrWrapper 2024-01-03 22:38:25 +01:00
hasherezade 01204cbd41 [W-I-P] In PEFile: protect operations accessing sections by mutex 2024-01-03 20:16:00 +01:00
hasherezade 6c3d7e1574 [W-I-P] Protect operations accessing sections by a mutex 2024-01-03 18:05:25 +01:00
hasherezade 67de67db93 [W-I-P] In PEfile: do not recreate wrappers on wrap() 2024-01-03 16:53:47 +01:00
hasherezade 2dbaf1cb62 [BUGFIX] Changed a constant name in PEFile (Issue #26) 2023-11-26 02:37:09 +01:00
hasherezade be5c9afd75 [BUGFIX] Fixed error in checksum calculation (for PEs of odd sizes) 2023-06-04 14:50:30 +02:00
hasherezade 4f4718d707 [BUGFIX] In getLastMapped: exclude empty sections (Issue #21) 2023-03-05 15:56:26 +01:00
hasherezade 3cb4c77e1d [BUGFIX] In PEFile::getLastMapped: changed calculating headers size 2023-03-04 03:22:51 +01:00
hasherezade 9ba968a751 [REFACT] In computeChecksum: check buffer bounds. Normalized offset type. 2022-09-25 22:14:26 +02:00
hasherezade 1b0c942cf6 [REFACT] Cleanup in extend last section: removed redundant variables 2022-09-25 00:12:27 +02:00
hasherezade d657d842eb [REFACT] In addNewSection: cleanup of copying section name 2022-09-24 23:57:47 +02:00
hasherezade deb691049c [BUGFIX] On clear wrapper: set all the wrappers to NULL. Ensure that sections wrapper is initialized with NULL 2022-09-24 23:49:15 +02:00
hasherezade d1a8067fdd [BUGFIX] Create sections wrapper only if sections count != 0. Fixed check if sections wrapper is not null 2022-09-24 23:32:42 +02:00
hasherezade 67176ba86a [FEATURE] Allow to define sections Virtual Size on adding 2022-09-16 05:32:17 +02:00
hasherezade 6c34a18f31 [REFACT] Refactored sections count check 2022-09-12 07:07:03 +02:00
hasherezade e965ff720b [REFACT] Removed redundant functions 2022-09-12 05:08:34 +02:00
hasherezade 7f17d2f5cc [BUGFIX] Fixed getLastMapped for PE with no sections 2022-09-12 01:53:11 +02:00
hasherezade 45b96d20b6 [BUGFIX] Fixed rvaToRaw conversion for PEs that have no sections 2022-09-12 01:36:10 +02:00
hasherezade 2705446526 [REFACT] In PEFile: clear the wrappers directly in the wrapping function 2022-09-12 01:10:54 +02:00
hasherezade 7738fdfec7 [NOBIN] Removed redundant space 2022-09-10 03:01:53 +02:00
hasherezade 144fd328e6 [FEATURE] In ImportBaseDirWrapper: thunkToFuncName - allow to fetch short and long name 2022-09-08 06:03:12 +02:00
hasherezade dc8feb52c7 [REFACT] Moved dumpSection implementation to PEfile.cpp 2022-09-08 05:01:08 +02:00
hasherezade a150b845a1 [REFACT] In addr conversions: check against INVALID_ADDR first 2022-09-08 04:15:45 +02:00
hasherezade 17fd9b2549 [FEATURE] Added: dumpFragment, dumpSection 2022-09-07 23:31:30 +02:00
hasherezade 3130dcc826 [BUGFIX] Fixed fetching last mapped address 2022-09-04 02:52:39 +02:00
hasherezade 691b587139 [WIP] Refactoring for the backward compatibile API (p1) 2022-09-03 05:50:57 +02:00
hasherezade 930b4014d6 [FEATURE] Added func: secHdrsEndOffset 2022-09-02 23:06:07 +02:00
hasherezade a32c9f0789 [REFACT] Removed redundant function: sectionAt 2022-09-01 05:01:16 +02:00
hasherezade f50f3d888f [FEATURE] Added new functions: index/section conv. Calc PE checksum 2022-08-31 23:42:39 +02:00
hasherezade 9095d7801f [FEATURE] Implemented CLR Header 2021-04-03 14:48:50 +02:00
hasherezade f8f5883767 [BUGFIX] RVAs between the headers and the first section are not mapped (Issue #11) 2020-11-25 14:42:10 +01:00
hasherezade a52bdd9b1e [REFACT] Added directories to include path 2019-12-01 01:02:16 +01:00
hasherezade 0b5f2c70e9 [FEATURE] List and name the entry points of the application 2019-11-27 22:16:17 +01:00
hasherezade 23e5e228ed [BUGFIX] Fixed NULL ptr dereference in PEFile::getRichHdrBgn (Issue #4) 2019-04-26 15:03:15 +02:00
hasherezade 2e6d14c21f [BUGFIX] Validate DanS header in the fetching function 2019-01-09 01:45:01 +01:00
hasherezade 3530a9c436 [REFACT] Refactored searching RichHeader's beginnig 2019-01-03 20:16:01 +01:00
hasherezade 8e15136468 [BUGFIX] Fixed fetching the beginning of Rich Header 2019-01-03 19:59:49 +01:00
@hasherezade 5a26701547 [REFACT] Use NULL instead of nullptr 2018-12-28 05:30:23 +01:00
@hasherezade 66655680ae [REFACT] Use NULL instead of nullptr 2018-12-28 05:28:04 +01:00
hasherezade be1baf1c74 [REFACT] RichHeader cleanup. Moved the definitions to namespace pe 2018-10-23 16:44:30 +02:00
hasherezade f4162ebec2 [W-I-P] Started implementing RichHeader support 2018-10-21 23:35:23 +02:00