ufrisk / pcileech

Direct Memory Access (DMA) Attack Software
GNU Affero General Public License v3.0
4.87k stars 718 forks source link

unable to find vmm.so #173

Closed blshkv closed 3 years ago

blshkv commented 3 years ago

https://github.com/ufrisk/pcileech/commit/729c51d32cf83bf4c664ab6234c12d0f572fdaef#diff-de6db085ad73a5b4dcdfebbaef092169daf44f6a8d3741fa24489adca74d150e

cp ../files/vmm.so . || cp ../../MemProcFS*/files/vmm.so . || true
cp: cannot stat '../files/vmm.so': No such file or directory
cp: cannot stat '../../MemProcFS*/files/vmm.so': No such file or directory
cp ../files/leechcore.so . || cp ../../LeechCore*/files/leechcore.so . || true
cp: cannot stat '../files/leechcore.so': No such file or directory
cp: cannot stat '../../LeechCore*/files/leechcore.so': No such file or directory
gcc -o pcileech oscompatibility.o device.o pcileech.o executor.o extra.o help.o kmd.o memdump.o mempatch.o statistics.o umd.o util.o vfs.o vmmx.o -march=native -O2 -pipe -I. -I../includes -D LINUX -L. -l:leechcore.so -l:vmm.so -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-rpath,'$ORIGIN' -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -l:vmm.so
collect2: error: ld returned 1 exit status

Can you help to understand how to compile vmm.so? I'm unable to find the code. I do have leechcore.so which is installed by https://github.com/ufrisk/LeechCore

blshkv commented 3 years ago

ok, found it in MemProcFS module