mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6816 from ethereum/ossfuzz-ci-additional-asan-flags
Added/corrected ASan flags to ossfuzz regression CI
This commit is contained in:
commit
4646fee9d4
@ -30,7 +30,9 @@ defaults:
|
|||||||
command: scripts/tests.sh --junit_report test_results
|
command: scripts/tests.sh --junit_report test_results
|
||||||
- run_regressions: &run_regressions
|
- run_regressions: &run_regressions
|
||||||
name: Regression tests
|
name: Regression tests
|
||||||
command: scripts/regressions.py -o test_results
|
command: |
|
||||||
|
export ASAN_OPTIONS="check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2"
|
||||||
|
scripts/regressions.py -o test_results
|
||||||
- solc_artifact: &solc_artifact
|
- solc_artifact: &solc_artifact
|
||||||
path: build/solc/solc
|
path: build/solc/solc
|
||||||
destination: solc
|
destination: solc
|
||||||
@ -357,7 +359,7 @@ jobs:
|
|||||||
ulimit -a
|
ulimit -a
|
||||||
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
||||||
ulimit -s 16384
|
ulimit -s 16384
|
||||||
export ASAN_OPTIONS="check_initialization_order=1:detect_stack_use_after_return=1:strict_init_order=1:strict_string_checks=1:detect_invalid_pointer_pairs=1"
|
export ASAN_OPTIONS="check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2"
|
||||||
build/test/soltest --logger=JUNIT,test_suite,test_results/result.xml -- --no-ipc --testpath test
|
build/test/soltest --logger=JUNIT,test_suite,test_results/result.xml -- --no-ipc --testpath test
|
||||||
- run:
|
- run:
|
||||||
name: Run commandline tests with ASAN
|
name: Run commandline tests with ASAN
|
||||||
@ -365,7 +367,7 @@ jobs:
|
|||||||
ulimit -a
|
ulimit -a
|
||||||
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
# Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests).
|
||||||
ulimit -s 16384
|
ulimit -s 16384
|
||||||
export ASAN_OPTIONS="check_initialization_order=1:detect_stack_use_after_return=1:strict_init_order=1:strict_string_checks=1:detect_invalid_pointer_pairs=1"
|
export ASAN_OPTIONS="check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2"
|
||||||
test/cmdlineTests.sh
|
test/cmdlineTests.sh
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: test_results/
|
path: test_results/
|
||||||
|
Loading…
Reference in New Issue
Block a user