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
16 lines
210 B
Makefile
16 lines
210 B
Makefile
exes += inject
|
|
|
|
ldflags_inject := \
|
|
-mconsole \
|
|
-lpsapi \
|
|
|
|
libs_inject := \
|
|
util \
|
|
|
|
src_inject := \
|
|
debugger.c \
|
|
logger.c \
|
|
main.c \
|
|
options.c \
|
|
version.c \
|