From dl.soluz at gmx.net Sun Oct 1 11:23:17 2023 From: dl.soluz at gmx.net (Dennis Luehring) Date: Sun, 1 Oct 2023 12:23:17 +0200 Subject: [klee-dev] can't get the get_sign.c to work under Tumbleweed Suse with clang-17 Message-ID: Standard Clang 17.0.1 and Klee 3.0 from Tumbleweed package manager per default the klee packages comes with LLVM 14.0.6 linux at localhost:~/tests/klee_dev> clang --version clang version 17.0.1 Target: x86_64-suse-linux Thread model: posix InstalledDir: /usr/bin linux at localhost:~/tests/klee_dev> klee --version KLEE 3.1-pre (https://klee.github.io) ? Build mode: RelWithDebInfo (Asserts: OFF) ? Build revision: unknown LLVM (http://llvm.org/): ? LLVM version 14.0.6 ? Optimized build. ? Default target: x86_64-suse-linux ? Host CPU: rocketlake linux at localhost:~/tests/klee_dev> linux at localhost:~/tests/klee_dev> llvm-cov --version LLVM (http://llvm.org/): ? LLVM version 17.0.1 ? Optimized build. https://klee.github.io/tutorials/testing-function/ https://github.com/klee/klee/blob/master/examples/get_sign/get_sign.c following the tutorial linux at localhost:~/tests/klee_dev> clang -I ../../include -emit-llvm -c -g -O0 -Xclang -disable-O0-optnone get_sign.c linux at localhost:~/tests/klee_dev> klee get_sign.bc KLEE: ERROR: Loading file get_sign.bc failed: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM17.0.1' Reader: 'LLVM 14.0.6') linux at localhost:~/tests/klee_dev> or linux at localhost:~/tests/klee_dev> clang -emit-llvm -c get_sign.c linux at localhost:~/tests/klee_dev> klee get_sign.bc KLEE: ERROR: Loading file get_sign.bc failed: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM17.0.1' Reader: 'LLVM 14.0.6') linux at localhost:~/tests/klee_dev> i am not able to disable the opaque pointers according to this doc: https://llvm.org/docs/OpaquePointers.html the i installed the older clang-14 linux at localhost:~/tests/klee_dev> sudo zypper install clang14 that works linux at localhost:~/tests/klee_dev> clang-14 -I ../../include -emit-llvm -c -g -O0 -Xclang -disable-O0-optnone get_sign.c linux at localhost:~/tests/klee_dev> klee get_sign.bc KLEE: output directory is "/home/linux/tests/klee_dev/klee-out-1" KLEE: Using STP solver backend KLEE: SAT solver: MiniSat KLEE: done: total instructions = 33 KLEE: done: completed paths = 3 KLEE: done: partially completed paths = 0 KLEE: done: generated tests = 3 linux at localhost:~/tests/klee_dev> any idea how to solve the opaque pointer error without using the older clang-14? From m.nowack at imperial.ac.uk Mon Oct 2 15:31:16 2023 From: m.nowack at imperial.ac.uk (Nowack, Martin) Date: Mon, 2 Oct 2023 14:31:16 +0000 Subject: [klee-dev] can't get the get_sign.c to work under Tumbleweed Suse with clang-17 In-Reply-To: References: Message-ID: <245F7C42-5DF7-4E95-9949-003D4D530CCC@imperial.ac.uk> Hi Dennis, KLEE currently doesn?t support newer LLVM versions than 14. We are working on this but it?s not in a stage for upstreaming it yet. Unfortunately you have to stick with LLVM 14 in this case. Best, Martin > On 1. Oct 2023, at 11:23, Dennis Luehring wrote: > > Standard Clang 17.0.1 and Klee 3.0 from Tumbleweed package manager > per default the klee packages comes with LLVM 14.0.6 > > > linux at localhost:~/tests/klee_dev> clang --version > clang version 17.0.1 > Target: x86_64-suse-linux > Thread model: posix > InstalledDir: /usr/bin > > linux at localhost:~/tests/klee_dev> klee --version > KLEE 3.1-pre (https://klee.github.io) > Build mode: RelWithDebInfo (Asserts: OFF) > Build revision: unknown > > LLVM (http://llvm.org/): > LLVM version 14.0.6 > Optimized build. > Default target: x86_64-suse-linux > Host CPU: rocketlake > linux at localhost:~/tests/klee_dev> > > linux at localhost:~/tests/klee_dev> llvm-cov --version > LLVM (http://llvm.org/): > LLVM version 17.0.1 > Optimized build. > > > https://klee.github.io/tutorials/testing-function/ > https://github.com/klee/klee/blob/master/examples/get_sign/get_sign.c > > following the tutorial > > linux at localhost:~/tests/klee_dev> clang -I ../../include -emit-llvm -c > -g -O0 -Xclang -disable-O0-optnone get_sign.c > linux at localhost:~/tests/klee_dev> klee get_sign.bc > KLEE: ERROR: Loading file get_sign.bc failed: Opaque pointers are only > supported in -opaque-pointers mode (Producer: 'LLVM17.0.1' Reader: 'LLVM > 14.0.6') > linux at localhost:~/tests/klee_dev> > > or > > linux at localhost:~/tests/klee_dev> clang -emit-llvm -c get_sign.c > linux at localhost:~/tests/klee_dev> klee get_sign.bc > KLEE: ERROR: Loading file get_sign.bc failed: Opaque pointers are only > supported in -opaque-pointers mode (Producer: 'LLVM17.0.1' Reader: 'LLVM > 14.0.6') > linux at localhost:~/tests/klee_dev> > > i am not able to disable the opaque pointers according to this doc: > https://llvm.org/docs/OpaquePointers.html > > the i installed the older clang-14 > > linux at localhost:~/tests/klee_dev> sudo zypper install clang14 > > that works > > linux at localhost:~/tests/klee_dev> clang-14 -I ../../include -emit-llvm > -c -g -O0 -Xclang -disable-O0-optnone get_sign.c > linux at localhost:~/tests/klee_dev> klee get_sign.bc > KLEE: output directory is "/home/linux/tests/klee_dev/klee-out-1" > KLEE: Using STP solver backend > KLEE: SAT solver: MiniSat > > KLEE: done: total instructions = 33 > KLEE: done: completed paths = 3 > KLEE: done: partially completed paths = 0 > KLEE: done: generated tests = 3 > linux at localhost:~/tests/klee_dev> > > any idea how to solve the opaque pointer error without using the older > clang-14? > > > > _______________________________________________ > klee-dev mailing list > klee-dev at imperial.ac.uk > https://mailman.ic.ac.uk/mailman/listinfo/klee-dev From dl.soluz at gmx.net Mon Oct 2 17:38:31 2023 From: dl.soluz at gmx.net (Dennis Luehring) Date: Mon, 2 Oct 2023 18:38:31 +0200 Subject: [klee-dev] can't get the get_sign.c to work under Tumbleweed Suse with clang-17 In-Reply-To: <245F7C42-5DF7-4E95-9949-003D4D530CCC@imperial.ac.uk> References: <245F7C42-5DF7-4E95-9949-003D4D530CCC@imperial.ac.uk> Message-ID: <72af493d-3d4a-458b-85ac-19c11e43e261@gmx.net> Am 02.10.2023 um 16:31 schrieb Nowack, Martin: > Unfortunately you have to stick with LLVM 14 in this case. fine - thank you for all the work on Klee im currently starting to use it to check if i translated 16bit dos disassembly correctly to equal C code - Klee helps creating the test-cases i first stupidly translated the real asm to assembler-semantic and looking like functions in C then let Klee find all ways through the code and then test it agains my C port of it hope this will be useable for bigger functions in the future > > Best, > Martin > > > > On 1. Oct 2023, at 11:23, Dennis Luehring wrote: > > > > Standard Clang 17.0.1 and Klee 3.0 from Tumbleweed package manager > > per default the klee packages comes with LLVM 14.0.6 > > > > > > linux at localhost:~/tests/klee_dev> clang --version > > clang version 17.0.1 > > Target: x86_64-suse-linux > > Thread model: posix > > InstalledDir: /usr/bin > > > > linux at localhost:~/tests/klee_dev> klee --version > > KLEE 3.1-pre (https://klee.github.io) > > Build mode: RelWithDebInfo (Asserts: OFF) > > Build revision: unknown > > > > LLVM (http://llvm.org/): > > LLVM version 14.0.6 > > Optimized build. > > Default target: x86_64-suse-linux > > Host CPU: rocketlake > > linux at localhost:~/tests/klee_dev> > > > > linux at localhost:~/tests/klee_dev> llvm-cov --version > > LLVM (http://llvm.org/): > > LLVM version 17.0.1 > > Optimized build. > > > > > > https://klee.github.io/tutorials/testing-function/ > > https://github.com/klee/klee/blob/master/examples/get_sign/get_sign.c > > > > following the tutorial > > > > linux at localhost:~/tests/klee_dev> clang -I ../../include -emit-llvm -c > > -g -O0 -Xclang -disable-O0-optnone get_sign.c > > linux at localhost:~/tests/klee_dev> klee get_sign.bc > > KLEE: ERROR: Loading file get_sign.bc failed: Opaque pointers are only > > supported in -opaque-pointers mode (Producer: 'LLVM17.0.1' Reader: 'LLVM > > 14.0.6') > > linux at localhost:~/tests/klee_dev> > > > > or > > > > linux at localhost:~/tests/klee_dev> clang -emit-llvm -c get_sign.c > > linux at localhost:~/tests/klee_dev> klee get_sign.bc > > KLEE: ERROR: Loading file get_sign.bc failed: Opaque pointers are only > > supported in -opaque-pointers mode (Producer: 'LLVM17.0.1' Reader: 'LLVM > > 14.0.6') > > linux at localhost:~/tests/klee_dev> > > > > i am not able to disable the opaque pointers according to this doc: > > https://llvm.org/docs/OpaquePointers.html > > > > the i installed the older clang-14 > > > > linux at localhost:~/tests/klee_dev> sudo zypper install clang14 > > > > that works > > > > linux at localhost:~/tests/klee_dev> clang-14 -I ../../include -emit-llvm > > -c -g -O0 -Xclang -disable-O0-optnone get_sign.c > > linux at localhost:~/tests/klee_dev> klee get_sign.bc > > KLEE: output directory is "/home/linux/tests/klee_dev/klee-out-1" > > KLEE: Using STP solver backend > > KLEE: SAT solver: MiniSat > > > > KLEE: done: total instructions = 33 > > KLEE: done: completed paths = 3 > > KLEE: done: partially completed paths = 0 > > KLEE: done: generated tests = 3 > > linux at localhost:~/tests/klee_dev> > > > > any idea how to solve the opaque pointer error without using the older > > clang-14? > > > > > > > > _______________________________________________ > > klee-dev mailing list > > klee-dev at imperial.ac.uk > > https://mailman.ic.ac.uk/mailman/listinfo/klee-dev > From c.cadar at imperial.ac.uk Fri Oct 27 13:23:13 2023 From: c.cadar at imperial.ac.uk (Cristian Cadar) Date: Fri, 27 Oct 2023 13:23:13 +0100 Subject: [klee-dev] KLEE 2024: One week until first (visa-safe) deadline In-Reply-To: <540a9f24-46a8-5067-90de-c00f45a086d0@imperial.ac.uk> References: <540a9f24-46a8-5067-90de-c00f45a086d0@imperial.ac.uk> Message-ID: Hi all, Just a short reminder that there is one week left until the early submission deadline for KLEE 2024! As I mentioned before, the submission process is very lightweight: an abstract and a link to already published work that you'd like to present, or an extended abstract of up to two pages for work in progress. https://srg.doc.ic.ac.uk/klee24/ https://srg.doc.ic.ac.uk/klee24/ Best wishes, Cristian On 13/09/2023 12:57, Cristian Cadar wrote: > Dear all, > > It is my great pleasure to announce the 4th edition of the International > KLEE Workshop on Symbolic Execution, KLEE 2024! > > KLEE 2024 will take place in April in Lisbon, Portugal, co-located with > ICSE 2024, the flagship software engineering conference: > https://srg.doc.ic.ac.uk/klee24/ > > KLEE 2024 follows three successful editions (2018, 2021 and 2022), which > ?together have gathered over 400 participants from six different > continents spanning academia, industry and government.? One of the main > goals of the workshop is to get together symbolic execution researchers, > as well as KLEE developers and users to exchange ideas, understand each > other?s interests and needs, and discuss the evolution of symbolic > execution technology.? A particular emphasis will be placed on > connecting academic researchers working with KLEE and symbolic execution > with industrial users interested in using KLEE to improve their software > products. > > As in prior years, the workshop has no proceedings.? Instead, we will > have a call for presentations and posters; the submission site is > already open!? Both published and ongoing work are welcome to be > presented and the submission is low-effort: an abstract and a link to > published work, or an extended abstract of up to two pages for work in > progress. > > The first round deadline (which is more likely to guarantee a > presentation/poster slot, as well as provide ample time to obtain a visa > if needed) is on 3rd of November! > > We thank again our sponsors for the first three editions: UK EPSRC, > Baidu, Bloomberg, Fujitsu, Google, Qualcomm, Huawei, Samsung, Trail of > Bits and Imperial College London.? If you would like to sponsor the next > edition, please get in touch with me by replying to this message. > > Looking forward to your submissions, > Cristian, also on behalf of Daniel, Frank and Martin as KLEE 2024 Chairs > > _______________________________________________ > klee-dev mailing list > klee-dev at imperial.ac.uk > https://mailman.ic.ac.uk/mailman/listinfo/klee-dev