cJSON
[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
Brought by drakestapleton
cJSON / tests / unity / examples / example_3 / target_gcc_32.yml
| 1 | # Copied from ~Unity/targets/gcc_32.yml |
| 2 | unity_root: &unity_root '../..' |
| 3 | compiler: |
| 4 | path: gcc |
| 5 | source_path: 'src/' |
| 6 | unit_tests_path: &unit_tests_path 'test/' |
| 7 | build_path: &build_path 'build/' |
| 8 | options: |
| 9 | - '-c' |
| 10 | - '-m32' |
| 11 | - '-Wall' |
| 12 | - '-Wno-address' |
| 13 | - '-std=c99' |
| 14 | - '-pedantic' |
| 15 | includes: |
| 16 | prefix: '-I' |
| 17 | items: |
| 18 | - 'src/' |
| 19 | - '../../src/' |
| 20 | - *unit_tests_path |
| 21 | defines: |
| 22 | prefix: '-D' |
| 23 | items: |
| 24 | - UNITY_INCLUDE_DOUBLE |
| 25 | - UNITY_SUPPORT_TEST_CASES |
| 26 | object_files: |
| 27 | prefix: '-o' |
| 28 | extension: '.o' |
| 29 | destination: *build_path |
| 30 | linker: |
| 31 | path: gcc |
| 32 | options: |
| 33 | - -lm |
| 34 | - '-m32' |
| 35 | includes: |
| 36 | prefix: '-I' |
| 37 | object_files: |
| 38 | path: *build_path |
| 39 | extension: '.o' |
| 40 | bin_files: |
| 41 | prefix: '-o' |
| 42 | extension: '.exe' |
| 43 | destination: *build_path |
| 44 | colour: true |
| 45 | :unity: |
| 46 | :plugins: [] |