Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | D | 23-Nov-2023 | 1.3 KiB | 36 | 27 | |
boot_test.sh | D | 23-Nov-2023 | 719 | 23 | 4 | |
cleanup.sh | D | 23-Nov-2023 | 372 | 12 | 1 | |
get_initial_items.sh | D | 23-Nov-2023 | 70 | 6 | 2 | |
glibc_test_script.sh | D | 23-Nov-2023 | 1.7 KiB | 50 | 24 | |
interactive_test.sh | D | 23-Nov-2023 | 1.1 KiB | 38 | 17 | |
interactive_test_host.sh | D | 23-Nov-2023 | 822 | 26 | 10 | |
setup.sh | D | 23-Nov-2023 | 1.7 KiB | 74 | 35 | |
switch_to_bad.sh | D | 23-Nov-2023 | 223 | 10 | 3 | |
switch_to_good.sh | D | 23-Nov-2023 | 224 | 10 | 3 | |
test_script.sh | D | 23-Nov-2023 | 1.2 KiB | 35 | 16 | |
test_setup.sh | D | 23-Nov-2023 | 6 KiB | 180 | 132 | |
test_setup_host.sh | D | 23-Nov-2023 | 1 KiB | 38 | 13 | |
testing_test.py | D | 23-Nov-2023 | 1.2 KiB | 43 | 27 |
README.md
1# Sysroot wrapper 2 3This is a set of scripts to use when triaging compiler problem by using 4the bisecting functionality included in the `sysroot_wrapper.hardened`. 5The only script that you need to create for your triaging problem is the 6`test_script.sh` (The ones in this directory are here only as an example). 7 8Before running the binary searcher tool you will need to run the setup script: 9 10``` 11./sysroot_wrapper/setup.sh ${board} ${remote_ip} ${package} 12``` 13 14This setup script will ensure your `$BISECT_DIR` is properly populated and 15generate a common variable script for the convenience of the scripts in 16`./sysroot_wrapper` 17 18To run the binary searcher tool with these scripts, execute it like this: 19 20``` 21./binary_search_state.py \ 22 --get_initial_items=./sysroot_wrapper/get_initial_items.sh \ 23 --switch_to_good=./sysroot_wrapper/switch_to_good.sh \ 24 --switch_to_bad=./sysroot_wrapper/switch_to_bad.sh \ 25 --test_script=./sysroot_wrapper/test_script.sh \ 26 --noincremental \ 27 --file_args \ 28 2>&1 | tee /tmp/binary_search.log 29``` 30 31Finally once done you will want to run the cleanup script: 32`./sysroot_wrapper/cleanup.sh` 33 34For more information on how to use the `sysroot_wrapper` to do object file 35triaging see: https://sites.google.com/a/google.com/chromeos-toolchain-team-home2/home/team-tools-and-scripts/bisecting-compiler-problems 36