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 / iar_arm_v5.yml
| 1 | tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\' |
| 2 | compiler: |
| 3 | path: [*tools_root, 'arm\bin\iccarm.exe'] |
| 4 | source_path: '..\src\' |
| 5 | unit_tests_path: &unit_tests_path 'tests\' |
| 6 | build_path: &build_path 'build\' |
| 7 | options: |
| 8 | - --dlib_config |
| 9 | - [*tools_root, 'arm\inc\DLib_Config_Normal.h'] |
| 10 | - --no_cse |
| 11 | - --no_unroll |
| 12 | - --no_inline |
| 13 | - --no_code_motion |
| 14 | - --no_tbaa |
| 15 | - --no_clustering |
| 16 | - --no_scheduling |
| 17 | - --debug |
| 18 | - --cpu_mode thumb |
| 19 | - --endian=little |
| 20 | - --cpu=ARM7TDMI |
| 21 | - --interwork |
| 22 | - --warnings_are_errors |
| 23 | - --fpu=None |
| 24 | - --diag_suppress=Pa050 |
| 25 | - --diag_suppress=Pe111 |
| 26 | - -e |
| 27 | - -On |
| 28 | includes: |
| 29 | prefix: '-I' |
| 30 | items: |
| 31 | - [*tools_root, 'arm\inc\'] |
| 32 | - 'src\' |
| 33 | - '..\src\' |
| 34 | - 'testdata/' |
| 35 | - *unit_tests_path |
| 36 | - 'vendor\unity\src\' |
| 37 | - 'iar\iar_v5\incIAR\' |
| 38 | defines: |
| 39 | prefix: '-D' |
| 40 | items: |
| 41 | - UNITY_SUPPORT_64 |
| 42 | - 'UNITY_SUPPORT_TEST_CASES' |
| 43 | object_files: |
| 44 | prefix: '-o' |
| 45 | extension: '.r79' |
| 46 | destination: *build_path |
| 47 | linker: |
| 48 | path: [*tools_root, 'arm\bin\ilinkarm.exe'] |
| 49 | options: |
| 50 | - --redirect _Printf=_PrintfLarge |
| 51 | - --redirect _Scanf=_ScanfSmall |
| 52 | - --semihosting |
| 53 | - --entry __iar_program_start |
| 54 | - --config |
| 55 | - [*tools_root, 'arm\config\generic.icf'] |
| 56 | object_files: |
| 57 | path: *build_path |
| 58 | extension: '.o' |
| 59 | bin_files: |
| 60 | prefix: '-o' |
| 61 | extension: '.out' |
| 62 | destination: *build_path |
| 63 | simulator: |
| 64 | path: [*tools_root, 'common\bin\CSpyBat.exe'] |
| 65 | pre_support: |
| 66 | - --silent |
| 67 | - [*tools_root, 'arm\bin\armproc.dll'] |
| 68 | - [*tools_root, 'arm\bin\armsim.dll'] |
| 69 | post_support: |
| 70 | - --plugin |
| 71 | - [*tools_root, 'arm\bin\armbat.dll'] |
| 72 | - --backend |
| 73 | - -B |
| 74 | - -p |
| 75 | - [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf'] |
| 76 | - -d |
| 77 | - sim |
| 78 | colour: true |
| 79 | :unity: |
| 80 | :plugins: [] |