Closed BryanSJZ closed 3 months ago
String support on the current branch is not sound. The latest changes on the String support happened during GSoC 2022. Changes can be found in this link. We need to get that work on String support pushed to SPF's main repo.
@yannicnoller , I think we can close this issue. I'll make another one where we can follow up on the task of importing the changes of string support on a new branch for SPF.
to print all the PCs and return. we can know that SPF can generate all the PC to cover all the return value. But how to understand the output? Or, how to print the String input (like "Goodbye, World!" or "i" or "a") how to understand the CONST_30/CONST_1? I only know that SYMSTRING[21] means that the string input have 21 characters.
GoodbyeWorld.java
GoodbyeWorld.jpf targ``` et=strings.GoodbyeWorld classpath=${jpf-symbc}/build/examples sourcepath=${jpf-symbc}/src/examples
symbolic.strings=true symbolic.string_dp=z3 symbolic.string_dp_timeout_ms=3000 symbolic.debug=true
symbolic.method= strings.GoodbyeWorld.hello(sym) search.depth_limit = 10 search.multiple_errors=true listener = gov.nasa.jpf.symbc.SymbolicListener
listener = sidechannel.TimingChannelListener
vm.storage.class=nil symbolic.regression_output=true