Commit Graph

13 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 af2625c6e0 [REFACT] Removed not needed PssCaptureSnapshot flags 2021-07-30 18:32:03 +02:00
hasherezade dfbb6c6534 [REFACT] Explicit conversion between bool and BOOL types 2020-07-12 16:13:23 +02:00
hasherezade 83834fbd4a [REFACT] Cleanup. Removed unused variables, simplified conditions 2020-07-10 22:57:48 +02:00
hasherezade a2d09b6840 [REFACT] Fixed debug string 2020-07-06 06:30:57 -07:00
hasherezade f444fef3b2 [REFACT] Do not use processsnapshot.h (backward compatibility) 2020-06-14 21:50:59 +02:00
hasherezade a08063b11d [REFACT] If opening process failed, try again with basic access. Added a
handle check.
2020-06-11 08:32:03 +02:00
hasherezade 5b18c0dfca [BUGFIX] Fixed process reflection (protect against using function that
was not loaded)
2020-06-08 21:31:20 +02:00
hasherezade 9e89d97e56 [BUGFIX] Use RtlCreateProcessReflection in a new thread (with a timeout) 2020-06-08 16:10:27 +02:00
hasherezade b177953fcd [BUGFIX] Do not use RtlCreateProcessReflection 2020-06-08 14:41:58 +02:00
hasherezade 6404fbbf7c [FEATURE] Use RtlCreateProcessReflection if PssCaptureSnapshot is not accessible 2020-06-08 13:59:40 +02:00
hasherezade ebe3ca6f63 [BUGFIX] Fixed implementation of RtlCreateProcessReflection 2020-06-08 13:37:27 +02:00
hasherezade 0faf888634 [FEATURE] New param: refl (make process reflection before scan) 2020-06-08 11:33:36 +02:00