z3 string support update#137
Conversation
|
Thank you @natsteven for your pull request. But can you please add test cases under the Thank you |
|
Hi @sohah, yes I will include the simple test cases I was using for the additional method support I added. I might not be able to get to it for several days though. On the point of the case-conversion. I set up translation of However, it looks like in the sv-comp branch there has been some additional work done on handling the case conversion operations as part of the path constraint handling in Thanks! |
Added support for
StringBuildermethods:delete,insert, andreverse.Fixed translation semantics for replacement. Where Java defaults to
replaceAllthe smt-lib 'str.replace' operator is areplaceFirstoperation.Changed
isEmptytranslation to '(= 0 (str.len' as 'empty' is not an smt-lib supported predicateAdded smt-lib case conversion support for z3 satisfiability checks as recursive functions. This was implemented before seeing the current handling of case conversion by SPF and I am not sure that it would be preferable.