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