Open zapashcanon opened 1 month ago
owi: internal error, uncaught exception: Failure("TODO")
this is also what's blocking me from experimenting with the concolic backend, i saw there were a few TODOs in https://github.com/OCamlPro/owi/blob/main/src/concolic/concolic.ml but didn't get deep enough into it to figure out which one I'm running into.
I would assume https://github.com/OCamlPro/owi/blob/82c1b6affcd531d06a771b56504109737228b2d7/src/concolic/concolic.ml#L85 This is the most likely one in a program compiled from C like language. This is going to occur on calls to function pointer.
@zshipko Could you try again now that #314 is merged ?
@chambart yes, this fixes it for me - thank you!
From the latest run:
20..87,93,94,104,106,107, 742: Failure("alloc: cannot allocate base pointer [...]
are expected
105: undefined symbol
are expected
110, 111, 112, 113, 114, 115, 116 (error 43): unknown import "summaries" "exit"
should be fixed
1146, 1147, 1148, 1149, 1150: Failure("TODO equal_func_intf")
should be fixed
We still have a lot of nothing, I guess they'll disappear by using bigger numbers of retries for the two concolic loops.
The exit ones should be fixed in #315
I added a commit in #315 that will abort instead of failing for the cannot allocate base pointer
cases
Failure("TODO equal_func_intf")
From the report generated:
I had a quick look at the output:
owi: internal error, uncaught exception: Failure("TODO")
, I guess something is missing in the concolic monad ;owi: internal error, uncaught exception: Failure("alloc: cannot allocate base pointer [...]
here we should probably abort as it's done in the symbolic monad instead of failing... ;unknown import "summaries" "exit"
(maybe we should add a an interface of expected imported functions to make sure we have all of them in both symbolic and concolic mode).FYI the full results are on the server in
owi/bench/results-testcomp-owi_w24_O3_concolic-2024-06-14_15h54m53s/
.