60 Commits

Author SHA1 Message Date
hasherezade ca0b84bd00 [REFACT] Cleanup types. Add explicit cast 2025-04-20 14:55:05 -08:00
hasherezade a29b22f8bd [REFACT] Cleanup. Removed redundant lines 2024-07-07 22:49:14 +02:00
hasherezade b0063c4594 Revert "Fix warnings"
This reverts commit d5d823ef5f.
2024-07-07 04:02:23 +02:00
hasherezade d92126806f [BUGFIX] Fixed wrong interpretation of a flag 2024-06-12 13:36:46 +02:00
visuve d5d823ef5f Fix warnings
- Unused variables
- Variables with same name
2024-04-05 22:40:53 +03:00
hasherezade bdae8c5481 [BUGFIX] If section Virtual Size is not filled, use Raw Size as Virtual 2024-02-20 14:22:46 +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 67de67db93 [W-I-P] In PEfile: do not recreate wrappers on wrap() 2024-01-03 16:53:47 +01:00
hasherezade 1d3b52236c [BUGFIX] Set hard upper limit for sections count 2023-03-16 22:07:08 +01:00
hasherezade 67215fd37a [BUGFIX] In SectHdrsWrapper::addMapping: allways keep the bigger section in the mapping 2023-03-04 21:36:54 +01:00
hasherezade 2792d6d8a0 [BUGFIX] Trim oversized Virtual Size of section to the beginning of a next section 2023-03-04 21:31:45 +01:00
hasherezade 7d2dba4f53 [BUGFIX] Trim mapped Raw Size of a section to Virtual Size (Issue #20) 2023-03-04 17:55:45 +01:00
hasherezade 6df6f08a63 [BUGFIX] Fixed calculating mapped VirtualSize of a section. Do not map sections with start below the ImageSize 2023-03-02 01:42:30 +01:00
hasherezade 89bca95d4c [BUGFIX] Round down the unaligned sections to file alignment 2022-10-24 18:03:02 +02:00
hasherezade fab2204977 [REFACT] Removed unused variables 2022-09-25 00:22:30 +02:00
hasherezade e3d620fa0c [REFACT] Increment iterators by prefix operator 2022-09-24 22:52:48 +02:00
hasherezade 8ebc0aa16a [REFACT] In SecHdrsWrapper. ImportBaseDirWrapper: avoid using snprintf 2022-09-18 03:28:56 +02:00
hasherezade bdc8b0de49 [FEATURE] If the section doesn't have name, use the index as mappedName 2022-09-16 05:59:22 +02:00
hasherezade f4ab39cc4b [BUGFIX] Fixed not needed qualifier of a parameter 2022-09-16 05:40:41 +02:00
hasherezade e5646bb6d1 [REFACT] Use calloc/free to allocate section name 2022-09-16 04:38:24 +02:00
hasherezade 6e023791ce [NOBIN] Fixed indentation around mappedName 2022-09-16 04:21:39 +02:00
hasherezade c77af82d7c [REFACT] Reuse one buffer for section name 2022-09-16 04:04:46 +02:00
hasherezade 86c6c371fc [FEATURE] Translate sections characteristics 2022-09-16 03:30:03 +02:00
hasherezade 1a1abd4974 [BUGFIX] Fixed trimming the last section when calculating virtual size 2022-09-14 02:56:01 +02:00
hasherezade b94280982a [BUGFIX] Fixed rounding up raw and virtual section sizes 2022-09-13 19:39:23 +02:00
hasherezade bc475c276f [REFACT] Small cleanup in rounding up section 2022-09-12 07:20:13 +02:00
hasherezade 6830830ba0 [BUGFIX] Fixed recalculating mapped virtual size 2022-09-12 06:10:43 +02:00
hasherezade e965ff720b [REFACT] Removed redundant functions 2022-09-12 05:08:34 +02:00
hasherezade 05db923515 [FEATURE] Removed unused function. Renamed a parameter 2022-09-12 01:00:13 +02:00
hasherezade 12e80ec744 [BUGFIX] Allow section offset smaller than section alignment unit 2022-09-11 06:22:08 +02:00
hasherezade 17fd9b2549 [FEATURE] Added: dumpFragment, dumpSection 2022-09-07 23:31:30 +02:00
hasherezade 691b587139 [WIP] Refactoring for the backward compatibile API (p1) 2022-09-03 05:50:57 +02:00
hasherezade a32c9f0789 [REFACT] Removed redundant function: sectionAt 2022-09-01 05:01:16 +02:00
hasherezade a52bdd9b1e [REFACT] Added directories to include path 2019-12-01 01:02:16 +01:00
hasherezade 197d23a4fc [BUGFIX] Set raw mapped address as invalid for out of scope sec. Fixed rounding up raw size 2019-11-24 20:09:46 +01:00
hasherezade abd0a9bae2 [BUGFIX] Fixed mapping size of overlapped sections 2019-11-24 18:18:14 +01:00
hasherezade 612514f16c [BUGFIX] Fixed integer types 2018-04-06 17:43:42 +02:00
hasherezade f477a765b3 [W-I-P] Refactoring started 2017-02-11 20:45:37 +01:00
hasherezade 84be9abfd9 [REFACT] Cleaned printed types by explicit static cast 2016-11-05 22:20:45 +01:00
hasherezade 6e8a19c213 [REFACT] Cleaned printed types 2016-11-05 02:10:25 +01:00
hasherezade bf9cdcb5d6 [BUGFIX] Defined maximal section count (SectHdrsWrapper::SECT_COUNT_MAX) 2015-01-13 11:43:56 +01:00
hasherezade 743382badd [BUGFIX] In SecHdrWrapper : canAddEntry - do not require a padding 2014-09-16 02:07:36 +02:00
hasherezade 3028391242 [REFACT] In SectHdrWrapper : loading entries by loadNextEntry etc 2014-09-16 00:35:48 +02:00
hasherezade e8aa6d33c2 [W-I-P] Refactoring addEntry... 2014-09-14 15:54:55 +02:00
hasherezade f8af2d7203 [W-I-P] addEntry returns pointer to and added Entry 2014-09-14 13:06:34 +02:00
hasherezade 9a7633551d [W-I-P] Added func.: addNewSection 2014-09-08 21:35:54 +02:00
hasherezade 6274bb9a9f [BUGFIX] In SectHsdrsWrapper : clear full mapping before wrap 2014-09-08 19:48:33 +02:00
hasherezade 595c31af1e [BUGFIX] In SectHdrsWrapper: fixed inconsistent integer type 2014-09-08 13:41:30 +02:00
hasherezade 9ae1b95fc5 [BUGFIX] Use section offset rounddown only for RAW 2014-08-27 20:03:36 +02:00