Closed Sweetaroo closed 4 months ago
@Sweetaroo Thanks for the report! The problem is that UC-Crux doesn't yet support opaque pointers (see #1075), which were introduced in recent versions of LLVM/Clang. You can try working around the issue by using an older version of Clang to compile the program, but it's unlikely that UC-Crux will be upgraded to support opaque pointers in the near future.
@langston-barrett Thanks! When I downgrade the version of LLVM from 15 to 12, it works well! Thanks again!
Describe the bug I tried to use "uc-crux-llvm" following the Building step https://github.com/GaloisInc/crucible/tree/master/uc-crux-llvm#building-1, and when I run the command
"cabal v2-build"
, it works fine.However, when I run the command
"cabal v2-run exe:uc-crux-llvm -- --entry-points call_non_function_pointer test/programs/call_non_function_pointer.c"
, it output:Got the same output when run the command like:
The reason why I didn't run the command
"cabal v2-install exe:uc-crux-llvm --overwrite-policy=always"
is because it's never worked and give the error as following:To Reproduce Steps to reproduce the behavior:
Expected behavior Run successfully the demo provided in the https://github.com/GaloisInc/crucible/tree/master/uc-crux-llvm#targeted-mode
System information
cabal
, 3.10.2.1ghc
, 9.4.8llvm
, 15.0clang
15.0.0Additional context It is my first time to use this tool and would be appreciated if anyone can helps me. Add any other context about the problem here.