awen-li / PCA

A data dependence analyzer for C program
19 stars 8 forks source link

./PcaMem doesn't run #2

Open 2SpaceMasterRace opened 11 months ago

2SpaceMasterRace commented 11 months ago

I downloaded the VM and did everything according to this youtube video

when running the "./PcaMem -file leak.bc" command, it returns null

Are there any dependencies or steps I'm missing? I assume the point of the VM was to get started with PCA-Mem without building from the source

BackOnTruck commented 11 months ago

I downloaded the VM and did everything according to this youtube video

when running the "./PcaMem -file leak.bc" command, it returns null

Are there any dependencies or steps I'm missing? I assume the point of the VM was to get started with PCA-Mem without building from the source

The provided PcaMem seems to be a 0-byte file, and you need to manually run bash build.sh before using PCA-Mem.

Balashivaram commented 6 months ago

After executing ./installLLVM.sh and after all the checks I am getting error while building "Building CXX object projects/compiler-rt-7.0.0.src/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cc.o" Any help is appreciable !!! error

BackOnTruck commented 6 months ago

After executing ./installLLVM.sh and after all the checks I am getting error while building "Building CXX object projects/compiler-rt-7.0.0.src/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cc.o" Any help is appreciable !!! error

I encountered the same issue and couldn't resolve it. Instead, you may download and launch the virtual machine provided in README.md, build PcaMem like I said in the previous comment, and move the executable from the virtual machine to your own environment.