drakvuf icon indicating copy to clipboard operation
drakvuf copied to clipboard

Memdump error prints malformed configuration for non-existent configuration

Open tklengyel opened this issue 4 years ago • 3 comments

Jenkins now reports that the ci/dll-hooks-list file is malformed:

Running DRAKVUF #2 for 60 seconds. Opts:  -S /shared/jenkins/workspace/DRAKVUF-windows10/ci/syscalls.txt -a syscalls -a memdump -a apimon --dll-hooks /shared/jenkins/workspace/DRAKVUF-windows10/ci/dll-hooks-list
DRAKVUF is running with PID 7695, background pid is 7680
CPU utilization average: 0
Exit status: 0
stderr line count: 3
1595547510.897070 DRAKVUF v0.7-git20200718192524+eca39e2-1 Copyright (C) 2014-2020 Tamas K Lengyel
Malformed DLL hook configuration for MEMDUMP plugin
Plugin memdump startup failed!

/cc @icedevml

tklengyel avatar Jul 23 '20 23:07 tklengyel

I've tested with eca39e246d93823a1bfbec5f9e09905c2def0eb6 and it seems to work OK with:

--dll-hooks-list ci/dll-hooks-list

are you sure that the file exists in /shared/jenkins/workspace/DRAKVUF-windows10/ci/dll-hooks-list?

icedevml avatar Jul 23 '20 23:07 icedevml

Yea, actually it looks like the configuration file wasn't copied, so the error is just misleading. It prints malformed configuration even if the file doesn't exists.

tklengyel avatar Jul 23 '20 23:07 tklengyel

Ok, I will make two different error messages to cover case when there is no file and when the file is actually malformed.

icedevml avatar Jul 23 '20 23:07 icedevml