Commit Graph

20 Commits

Author SHA1 Message Date
secDre4mer 7762e96783 fix clang compile issues (#109)
* fix: include headers as lower case

* fix: resolve template confusion with overloaded std::tolower()

std::tolower is overloaded, which caused mingw-gcc to not correctly
deduce the template parameter, leading to a compilation error.
Wrap std::tolower in a lambda that explicitly states the input
parameters.

* chore: don't use class:: prefix in inline definition

* chore: explicit cast from pointer to smaller integer type

* chore: single character constant for /

* chore: pass string as const char*

* chore: simplify if condition
2022-08-23 19:22:44 +02:00
hasherezade 33db1f3d66 [BUGFIX] In expand_path: always try to convert from the device path
before. Validate conversion.
2020-07-16 17:04:07 +02:00
hasherezade 287a14a038 [REFACT] Wrapped the utils into a namespace pesieve::util 2020-05-29 23:53:57 +02:00
Max Altgelt 13cfd8d065 [BUGFIX] Standardize includes
Use lower-case filenames with /  as separator.
2020-05-19 08:20:38 +02:00
hasherezade 8a9176b098 [REFACT] Split util.cpp/.h into two files, basing on common functionality 2020-03-08 17:48:12 +01:00
hasherezade 293ef7f532 [FEATURE] Use absolute path in ResultsDumper. In expand_path: normalize separators. 2020-03-06 21:45:40 +01:00
hasherezade d742588191 [BUGFIX] Canonicalize paths of scanned modules (Issue #51) 2020-02-26 19:31:39 +01:00
hasherezade a90a59cfd2 [REFACT] Fixed performance issues reported by Codacy. Removed unused variables 2019-12-19 21:36:13 +01:00
hasherezade 4403773315 [REFACT] Pass strings by constant references 2019-11-23 06:23:08 +01:00
hasherezade 9f7874ebac [REFACT] REfactored init_syspaths 2019-06-09 00:34:19 +02:00
hasherezade 792bdaf4f1 [BUGFIX] Use GetWindowsDirectoryA instead of the implicit version:
GetWindowsDirectory
2018-11-14 14:19:55 +01:00
hasherezade b52296ca72 [REFACT] Moved System32->WoW64 path conversion to path_converter 2018-07-29 17:14:48 +02:00
hasherezade ad827b9802 [REFACT] Refactored paths parsing. Skip GLOBALROOT. 2018-07-28 02:51:07 +02:00
@hasherezade 939650c754 [BUGFIX] In path_converter: use comparator not assignment (Issue #16) 2018-05-08 21:26:18 +02:00
hasherezade 3d9625dba2 [BUGFIX] Changes in paths conversion from Device/mapping to drive letter (Issue #14) 2018-04-18 04:34:48 +02:00
hasherezade 10d831ec07 [BUGFIX] Fixed path conversion (remove prefix "\\?\"). Small refactoring. 2018-03-28 04:04:54 +02:00
hasherezade 0eb5725ca9 [REFACT] Refactored fetching path to module and to mapped image 2018-03-26 02:21:53 +02:00
hasherezade 128a435ee5 [FEATURE] Check if mapped modules are corresponding to modules on the
disk
2018-03-24 18:46:42 +01:00
hasherezade 6d7747f972 [BUGFIX] Improved validation of opening files. 2018-01-11 19:39:43 +01:00
hasherezade 88926a54a9 [REFACT] Moved utlities into a separate dir: 'utils' 2018-01-11 17:50:55 +01:00