Skip to content

Commit

Permalink
Ugly commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
vakaras committed May 23, 2023
1 parent 4a9a39c commit 6dd8ccb
Show file tree
Hide file tree
Showing 464 changed files with 55,125 additions and 3,707 deletions.
32 changes: 31 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
# Run a subset of the tests with the purification optimization enabled
# to ensure that we do not introduce regressions.
purification-tests:
needs: [fmt-check, clippy-check, check-deps, smir-check, quick-tests]
#needs: [fmt-check, clippy-check, check-deps, smir-check, quick-tests]
runs-on: ubuntu-latest
env:
PRUSTI_ENABLE_PURIFICATION_OPTIMIZATION: true
Expand Down Expand Up @@ -162,6 +162,36 @@ jobs:
# python x.py test --all pass/pure-fn/ref-mut-arg.rs
# python x.py test --all pass/rosetta/Ackermann_function.rs
# python x.py test --all pass/rosetta/Heapsort.rs
- name: custom_heap_encoding
env:
PRUSTI_VIPER_BACKEND: carbon
PRUSTI_CUSTOM_HEAP_ENCODING: true
PRUSTI_TRACE_WITH_SYMBOLIC_EXECUTION: false
PRUSTI_PURIFY_WITH_SYMBOLIC_EXECUTION: false
run: |
python x.py test custom_heap_encoding
- name: purify_with_symbolic_execution
env:
PRUSTI_VIPER_BACKEND: carbon
PRUSTI_CUSTOM_HEAP_ENCODING: false
PRUSTI_PURIFY_WITH_SYMBOLIC_EXECUTION: true
run: |
python x.py test custom_heap_encoding
- name: custom_heap_encoding and purify_with_symbolic_execution
env:
PRUSTI_VIPER_BACKEND: carbon
PRUSTI_CUSTOM_HEAP_ENCODING: true
PRUSTI_PURIFY_WITH_SYMBOLIC_EXECUTION: true
run: |
python x.py test custom_heap_encoding
- name: trace_with_symbolic_execution
env:
PRUSTI_VIPER_BACKEND: silicon
PRUSTI_CUSTOM_HEAP_ENCODING: false
PRUSTI_TRACE_WITH_SYMBOLIC_EXECUTION: false
PRUSTI_PURIFY_WITH_SYMBOLIC_EXECUTION: false
run: |
python x.py test custom_heap_encoding
- name: Run with purification.
env:
PRUSTI_VIPER_BACKEND: silicon
Expand Down
86 changes: 78 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jni-gen/systest/tests/jvm_builtin_classes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn string_to_jobject<'a>(env: &JNIEnv<'a>, string: &str) -> JNIResult<JObject<'a
Ok(JObject::from(env.new_string(string.to_owned())?))
}

fn jobject_to_string<'a>(env: &JNIEnv<'a>, obj: JObject) -> JNIResult<String> {
fn jobject_to_string(env: &JNIEnv<'_>, obj: JObject) -> JNIResult<String> {
Ok(String::from(env.get_string(JString::from(obj))?))
}

Expand Down
Loading

0 comments on commit 6dd8ccb

Please sign in to comment.