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_v4.yml
| 1 | tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\' |
| 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\lib\dl4tptinl8n.h'] |
| 10 | - -z3 |
| 11 | - --no_cse |
| 12 | - --no_unroll |
| 13 | - --no_inline |
| 14 | - --no_code_motion |
| 15 | - --no_tbaa |
| 16 | - --no_clustering |
| 17 | - --no_scheduling |
| 18 | - --debug |
| 19 | - --cpu_mode thumb |
| 20 | - --endian little |
| 21 | - --cpu ARM7TDMI |
| 22 | - --stack_align 4 |
| 23 | - --interwork |
| 24 | - -e |
| 25 | - --silent |
| 26 | - --warnings_are_errors |
| 27 | - --fpu None |
| 28 | - --diag_suppress Pa050 |
| 29 | includes: |
| 30 | prefix: '-I' |
| 31 | items: |
| 32 | - [*tools_root, 'arm\inc\'] |
| 33 | - 'src\' |
| 34 | - '..\src\' |
| 35 | - 'testdata/' |
| 36 | - *unit_tests_path |
| 37 | - 'vendor\unity\src\' |
| 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, 'common\bin\xlink.exe'] |
| 49 | options: |
| 50 | - -rt |
| 51 | - [*tools_root, 'arm\lib\dl4tptinl8n.r79'] |
| 52 | - -D_L_EXTMEM_START=0 |
| 53 | - -D_L_EXTMEM_SIZE=0 |
| 54 | - -D_L_HEAP_SIZE=120 |
| 55 | - -D_L_STACK_SIZE=32 |
| 56 | - -e_small_write=_formatted_write |
| 57 | - -s |
| 58 | - __program_start |
| 59 | - -f |
| 60 | - [*tools_root, '\arm\config\lnkarm.xcl'] |
| 61 | includes: |
| 62 | prefix: '-I' |
| 63 | items: |
| 64 | - [*tools_root, 'arm\config\'] |
| 65 | - [*tools_root, 'arm\lib\'] |
| 66 | object_files: |
| 67 | path: *build_path |
| 68 | extension: '.r79' |
| 69 | bin_files: |
| 70 | prefix: '-o' |
| 71 | extension: '.d79' |
| 72 | destination: *build_path |
| 73 | simulator: |
| 74 | path: [*tools_root, 'common\bin\CSpyBat.exe'] |
| 75 | pre_support: |
| 76 | - --silent |
| 77 | - [*tools_root, 'arm\bin\armproc.dll'] |
| 78 | - [*tools_root, 'arm\bin\armsim.dll'] |
| 79 | post_support: |
| 80 | - --plugin |
| 81 | - [*tools_root, 'arm\bin\armbat.dll'] |
| 82 | - --backend |
| 83 | - -B |
| 84 | - -p |
| 85 | - [*tools_root, 'arm\config\ioat91sam7X256.ddf'] |
| 86 | - -d |
| 87 | - sim |
| 88 | colour: true |
| 89 | :unity: |
| 90 | :plugins: [] |