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 / test / targets / gcc_auto_stdint.yml
| 1 | compiler: |
| 2 | path: gcc |
| 3 | source_path: '../src/' |
| 4 | unit_tests_path: &unit_tests_path 'tests/' |
| 5 | build_path: &build_path 'build/' |
| 6 | options: |
| 7 | - '-c' |
| 8 | - '-m64' |
| 9 | - '-Wall' |
| 10 | - '-Wno-address' |
| 11 | - '-std=c99' |
| 12 | - '-pedantic' |
| 13 | - '-Wextra' |
| 14 | - '-Werror' |
| 15 | - '-Wpointer-arith' |
| 16 | - '-Wcast-align' |
| 17 | - '-Wwrite-strings' |
| 18 | - '-Wswitch-default' |
| 19 | - '-Wunreachable-code' |
| 20 | - '-Winit-self' |
| 21 | - '-Wmissing-field-initializers' |
| 22 | - '-Wno-unknown-pragmas' |
| 23 | - '-Wstrict-prototypes' |
| 24 | - '-Wundef' |
| 25 | - '-Wold-style-definition' |
| 26 | includes: |
| 27 | prefix: '-I' |
| 28 | items: |
| 29 | - 'src/' |
| 30 | - '../src/' |
| 31 | - 'testdata/' |
| 32 | - *unit_tests_path |
| 33 | defines: |
| 34 | prefix: '-D' |
| 35 | items: |
| 36 | - UNITY_INCLUDE_DOUBLE |
| 37 | - UNITY_SUPPORT_TEST_CASES |
| 38 | - UNITY_SUPPORT_64 |
| 39 | object_files: |
| 40 | prefix: '-o' |
| 41 | extension: '.o' |
| 42 | destination: *build_path |
| 43 | linker: |
| 44 | path: gcc |
| 45 | options: |
| 46 | - -lm |
| 47 | - '-m64' |
| 48 | includes: |
| 49 | prefix: '-I' |
| 50 | object_files: |
| 51 | path: *build_path |
| 52 | extension: '.o' |
| 53 | bin_files: |
| 54 | prefix: '-o' |
| 55 | extension: '.exe' |
| 56 | destination: *build_path |
| 57 | colour: true |
| 58 | :unity: |
| 59 | :plugins: [] |