Commit Graph

148 Commits

Author SHA1 Message Date
hasherezade 8c5b2c58fa [FEATURE] Get wrapper by offset 2024-01-05 23:14:45 +01:00
hasherezade a0f8ef2172 [REFACT] Protect by mutex all operations on sections 2024-01-05 21:14:37 +01:00
hasherezade fb1aa8f504 [BUGFIX] In RelocDirWrapper: distinguish between empty and invalid entries 2024-01-05 04:46:53 +01:00
hasherezade 12adc76056 [FEATURE] In RelocDirWrapper: changes in verification if entries are valid 2024-01-05 04:29:51 +01:00
hasherezade 30b4d136ab [BUGFIX] In RelocDirWrapper: protect against parsing too many invalid entries 2024-01-05 03:55:34 +01:00
hasherezade c3efa13493 [FEATURE] Improved validation of Imports 2024-01-05 02:04:10 +01:00
hasherezade b90ab84790 [REFACT] Refactored the prototype of the wrap func. 2024-01-04 03:48:08 +01:00
hasherezade 53a375b8ca [REFACT] Moved WatchedLocker outside pe dir 2024-01-04 00:06:26 +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 c55f640fde [FEATURE] Allow to extract non null-terminated strings 2023-12-28 18:05:53 +01:00
hasherezade 4b1cc75c91 [BUGFIX] Changed a constant name in DOSExe (Issue #26) 2023-11-24 02:40:46 +01:00
Muhammad Rizwan cc056b66f0 Add: Machine Code for .Net PEs 2023-10-10 11:35:26 +03:00
Muhammad Rizwan de764ab064 Add: All missing machine codes. 2023-10-08 15:37:20 +03:00
rizwan3d3 ee4877efe8 Add: Machine code for RISC-V 2023-10-08 14:34:09 +03:00
hasherezade 7695bcf859 [BUGFIX] In LdConfigWrapper: fixed identifying supression flags 2023-08-29 22:59:56 +02:00
hasherezade 65d6417b12 [FEATURE] Added a lookup table for mapping common ordinals to funcName 2023-06-12 03:07:46 +02:00
hasherezade 3cea2096a7 [FEATURE] Exposed function thunkToFunction 2023-06-10 20:13:31 +02:00
hasherezade 099058d384 [REFACT] Moved the DEFAULT_IMGBASE from PECore.h to .cpp 2023-06-04 18:24:40 +02:00
hasherezade c152370a88 [FEATURE] Added recalculating ImageBase as an option 2023-06-04 18:18:03 +02:00
hasherezade f69813c247 [FEATURE] Use the actual size of DataDirectories instead of the hardcoded one 2023-06-04 16:39:36 +02:00
hasherezade 1c9336d249 [BUGFIX] Import Entries: set limit for invalid entries that are going to be parsed 2023-03-16 00:00:42 +01:00
hasherezade a349426d9a [FEATURE] Distinguish reproducible builds 2023-03-07 16:47:33 +01:00
cocateh 2cc95ee37a [FEATURE] Recognize Thumb2 PE files 2023-03-07 12:13:05 +01:00
hasherezade 7f7d94f65d [BUGFIX] Removed a redundant, overloaded function 2023-03-04 02:43:48 +01:00
hasherezade 0e07f21765 [BUGFIX] In DebugDirWrapper::loadNextEntry fixed parameter type inconsistent with the base class 2023-02-21 20:15:40 +01:00
hasherezade ee5c309f26 [BUGFIX] In DebugDir: check against 0 address 2023-02-21 17:14:36 +01:00
hasherezade f00654cf43 [BUGFIX] In DebugDirWrapper: in getFieldsCount() - use the number of entries from the list 2023-02-21 16:42:25 +01:00
hasherezade eeaed2f378 [FEATURE] Show type name as DbgDir entry name 2023-02-21 03:52:57 +01:00
hasherezade 3948442bca [REFACT] Small cleanup 2023-02-21 03:26:52 +01:00
hasherezade 472e8167ee [FEATURE] Refactor DebugDirWrapper to parse all the entries (not just the first one) 2023-02-21 00:47:11 +01:00
hasherezade c829e5655e Merge branch 'master' into issue_11 2023-02-13 03:41:02 +01:00
hasherezade 437bf2ffae [REFACT] Use saved original size to decide if the file was resized 2023-02-13 03:32:22 +01:00
hasherezade 6123955b49 [FEATURE] Added a func to validate import name 2023-02-12 22:37:02 +01:00
hasherezade 331188e35e [FEATURE] Support a DLL Characteristics flag: IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA 2023-02-09 13:11:46 +01:00
hasherezade 89bca95d4c [BUGFIX] Round down the unaligned sections to file alignment 2022-10-24 18:03:02 +02:00
hasherezade 8f489b7066 [NOBIN] Normalized indentations 2022-10-24 16:09:12 +02:00
hasherezade 9ba968a751 [REFACT] In computeChecksum: check buffer bounds. Normalized offset type. 2022-09-25 22:14:26 +02:00
hasherezade 608bf148f1 [BUGFIX] FileBufferException should inherit from BufferException 2022-09-25 09:43:11 +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 7edbabff71 [REFACT] Cleanup loading truncated file 2022-09-18 08:27:11 +02:00
hasherezade 26ddd9beb9 [FEATURE] Allow to load file truncated 2022-09-18 08:23:07 +02:00
hasherezade fc4acfae8e [REFACT] Fixed inconsistent integer type 2022-09-18 06:54:39 +02:00
hasherezade db0beffd61 [FEATURE] Expose isValid function in ImportBaseDirWrapper 2022-09-17 21:50:04 +02:00
hasherezade 582f8588a6 [NOBIN] Fixed indentation 2022-09-17 21:39:17 +02:00
hasherezade 67176ba86a [FEATURE] Allow to define sections Virtual Size on adding 2022-09-16 05:32:17 +02:00
hasherezade 2def3c05c7 [REFACT] In SectHdrsWrapper: removed redundant func wrappers 2022-09-16 05:14:08 +02:00
hasherezade e5646bb6d1 [REFACT] Use calloc/free to allocate section name 2022-09-16 04:38:24 +02:00