inject: Major refactoring
This addresses one major issue and multiple minor ones: Major: Inject's debugger is not attached to the process before injecting DLL files. This misses out on OutputDebugString calls by anything logging in the DllMain functions of the hook dlls. Minor: - Fix coloring of log entries - Add ASCII header to easily determine start - Fix file logging, log _everything_ to a single log file - Enhance inject's debugger: log further debug events to incrase visibility on issues, proper exception handling for inject - Re-iterated code structure of inject
This commit is contained in:
@@ -2,10 +2,14 @@ exes += inject
|
||||
|
||||
ldflags_inject := \
|
||||
-mconsole \
|
||||
-lpsapi \
|
||||
|
||||
libs_inject := \
|
||||
util \
|
||||
|
||||
src_inject := \
|
||||
debugger.c \
|
||||
logger.c \
|
||||
main.c \
|
||||
options.c \
|
||||
version.c \
|
||||
|
||||
Reference in New Issue
Block a user