You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following tiny script variant for the semantic patch language can be tried out also together with the software combination “Coccinelle 1.1.1-00628-gd7ca09d1” on an openSUSE Tumbleweed system.
@initialize:ocaml@@@Printf.printf "Hello for this test!\n"@display@identifier x;@@*x(...)
{...}
The unexpected error message “ocamlfind: Package 'iteration' not found” is presented.
The test command can be adapted to the variant “strace -ff spatch test-OCaml_script_generation.cocci test-setup1.c > trace-OCaml_script_generation-20240109.txt 2>&1”.
👀 The generated text file contains information like “[pid 22136] execve("/bin/sh", ["/bin/sh", "-c", "ocamlfind query iteration"], 0x7fff6d6dc988 /* 109 vars */ <unfinished ...>”.
The following tiny script variant for the semantic patch language can be tried out also together with the software combination “Coccinelle 1.1.1-00628-gd7ca09d1” on an openSUSE Tumbleweed system.
Irrelevant source file example:
Test result:
Using native version of ocamlc/ocamlopt/ocamldep
” (which is provided by the function “check_runtime”) is displayed.ocamlfind: Package 'iteration' not found
” is presented.strace -ff spatch test-OCaml_script_generation.cocci test-setup1.c > trace-OCaml_script_generation-20240109.txt 2>&1
”.[pid 22136] execve("/bin/sh", ["/bin/sh", "-c", "ocamlfind query iteration"], 0x7fff6d6dc988 /* 109 vars */ <unfinished ...>
”.hd
”?🔮 How much would the OCaml debugger help to clarify such information?
The text was updated successfully, but these errors were encountered: