Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CopyString() Instead of strncpy() #22708

Conversation

emargolis
Copy link
Contributor

Issue Being Resolved

Change overview

Replaced strncpy() with CopyString()

@emargolis emargolis changed the title Use CopyString() Instead strncpy() Use CopyString() Instead of strncpy() Sep 17, 2022
@github-actions
Copy link

PR #22708: Size comparison from 989ad8e to cb86607

Increases (14 builds for bl702, cc13x2_26x2, esp32, k32w, nrfconnect)
platform target config section 989ad8e cb86607 change % change
bl702 lighting-app bl702 .debug_abbrev 1506715 1506921 206 0.0
.debug_info 37894568 37896997 2429 0.0
.debug_line 5252100 5252606 506 0.0
.debug_loc 3361966 3363288 1322 0.0
.debug_str 3455772 3455952 180 0.0
bl702+rpc .debug_abbrev 1644294 1644466 172 0.0
.debug_info 41801170 41803578 2408 0.0
.debug_line 5626639 5627145 506 0.0
.debug_loc 3554673 3555992 1319 0.0
.debug_str 3851739 3851852 113 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174964 174972 8 0.0
.rodata 89603 89611 8 0.0
all-clusters-minimal-app LP_CC2652R7 .rodata 78739 78747 8 0.0
lock-ftd LP_CC2652R7 (read/write) 170600 170616 16 0.0
.rodata 77287 77295 8 0.0
lock-mtd LP_CC2652R7 (read/write) 182468 182476 8 0.0
.rodata 103123 103131 8 0.0
pump-app LP_CC2652R7 (read only) 687259 687275 16 0.0
.rodata 90507 90515 8 0.0
.text 596268 596276 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671759 671775 16 0.0
.rodata 86063 86071 8 0.0
.text 585216 585224 8 0.0
shell LP_CC2652R7 (read only) 667590 667606 16 0.0
.rodata 86318 86326 8 0.0
.text 580956 580964 8 0.0
esp32 all-clusters-app c3devkit (read/write) 1788046 1788054 8 0.0
.flash.rodata 257616 257624 8 0.0
m5stack (read only) 1232975 1232991 16 0.0
.flash.text 1227591 1227607 16 0.0
k32w light k32w0+release (read/write) 649868 649876 8 0.0
.text 574360 574368 8 0.0
lock k32w0+release (read/write) 706824 706848 24 0.0
.text 630860 630884 24 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160687 1160703 16 0.0
text 803124 803140 16 0.0
Decreases (26 builds for bl702, cc13x2_26x2, esp32, linux, nrfconnect, qpg, telink)
platform target config section 989ad8e cb86607 change % change
bl702 lighting-app bl702 (read/write) 1188011 1187923 -88 -0.0
.data 4280 4272 -8 -0.2
.debug_frame 486412 486408 -4 -0.0
.debug_ranges 359712 358904 -808 -0.2
.rodata 116488 116472 -16 -0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.text 956776 956710 -66 -0.0
bl702+rpc (read/write) 1283939 1283843 -96 -0.0
.debug_frame 511788 511784 -4 -0.0
.debug_ranges 382168 381360 -808 -0.2
.rodata 129896 129864 -32 -0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.text 1030476 1030412 -64 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676571 676563 -8 -0.0
.text 586656 586640 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640811 640803 -8 -0.0
.text 561752 561736 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678103 678087 -16 -0.0
.text 600336 600312 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661923 661915 -8 -0.0
.text 558320 558304 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162148 162132 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177760 177744 -16 -0.0
shell LP_CC2652R7 (read/write) 186256 186240 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 1222910 1222900 -10 -0.0
.flash.text 1222910 1222900 -10 -0.0
linux chip-tool-ipv6only arm64 (read only) 10353156 10353116 -40 -0.0
(read/write) 706241 706225 -16 -0.0
.got 13904 13896 -8 -0.1
.rodata 503860 503852 -8 -0.0
.text 8195348 8195332 -16 -0.0
thermostat-no-ble arm64 (read only) 2386908 2386804 -104 -0.0
.got 5184 5176 -8 -0.2
.rodata 143652 143644 -8 -0.0
.text 2000992 2000912 -80 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182035 1182019 -16 -0.0
text 815256 815248 -8 -0.0
light-switch-app nrf52840dk_nrf52840 text 758508 758504 -4 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1130839 1130823 -16 -0.0
text 772600 772592 -8 -0.0
pump-app nrf52840dk_nrf52840 text 750108 750100 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 text 740412 740404 -8 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1142467 1142451 -16 -0.0
text 799092 799080 -12 -0.0
nrf52840dongle_nrf52840 (read/write) 1077683 1077667 -16 -0.0
text 749736 749724 -12 -0.0
nrf5340dk_nrf5340_cpuapp text 734260 734252 -8 -0.0
lock-app nrf5340dk_nrf5340_cpuapp text 685200 685192 -8 -0.0
qpg lighting-app qpg6105+debug (read/write) 1130780 1130756 -24 -0.0
.text 577876 577852 -24 -0.0
lock-app qpg6105+debug (read/write) 1101760 1101736 -24 -0.0
.text 548860 548836 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 813660 813628 -32 -0.0
text 574558 574524 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 835616 835584 -32 -0.0
text 592718 592684 -34 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 843716 843692 -24 -0.0
text 598960 598928 -32 -0.0
Full report (30 builds for bl702, cc13x2_26x2, esp32, k32w, linux, nrfconnect, qpg, telink)
platform target config section 989ad8e cb86607 change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1188011 1187923 -88 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 66958 66958 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4272 -8 -0.2
.debug_abbrev 1506715 1506921 206 0.0
.debug_aranges 133088 133088 0 0.0
.debug_frame 486412 486408 -4 -0.0
.debug_info 37894568 37896997 2429 0.0
.debug_line 5252100 5252606 506 0.0
.debug_loc 3361966 3363288 1322 0.0
.debug_ranges 359712 358904 -808 -0.2
.debug_str 3455772 3455952 180 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116488 116472 -16 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 956776 956710 -66 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1283939 1283843 -96 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75006 75006 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644294 1644466 172 0.0
.debug_aranges 140592 140592 0 0.0
.debug_frame 511788 511784 -4 -0.0
.debug_info 41801170 41803578 2408 0.0
.debug_line 5626639 5627145 506 0.0
.debug_loc 3554673 3555992 1319 0.0
.debug_ranges 382168 381360 -808 -0.2
.debug_str 3851739 3851852 113 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129896 129864 -32 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1030476 1030412 -64 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676571 676563 -8 -0.0
(read/write) 174964 174972 8 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89603 89611 8 0.0
.text 586656 586640 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640811 640803 -8 -0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78739 78747 8 0.0
.text 561752 561736 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678103 678087 -16 -0.0
(read/write) 170600 170616 16 0.0
.bss 78484 78484 0 0.0
.data 3304 3304 0 0.0
.rodata 77287 77295 8 0.0
.text 600336 600312 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661923 661915 -8 -0.0
(read/write) 182468 182476 8 0.0
.bss 74172 74172 0 0.0
.data 3304 3304 0 0.0
.rodata 103123 103131 8 0.0
.text 558320 558304 -16 -0.0
pump-app LP_CC2652R7 (read only) 687259 687275 16 0.0
(read/write) 162148 162132 -16 -0.0
.bss 78420 78420 0 0.0
.data 3296 3296 0 0.0
.rodata 90507 90515 8 0.0
.text 596268 596276 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671759 671775 16 0.0
(read/write) 177760 177744 -16 -0.0
.bss 78532 78532 0 0.0
.data 3292 3292 0 0.0
.rodata 86063 86071 8 0.0
.text 585216 585224 8 0.0
shell LP_CC2652R7 (read only) 667590 667606 16 0.0
(read/write) 186256 186240 -16 -0.0
.bss 83540 83540 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86326 8 0.0
.text 580956 580964 8 0.0
esp32 all-clusters-app c3devkit (read only) 1222910 1222900 -10 -0.0
(read/write) 1788046 1788054 8 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257616 257624 8 0.0
.flash.text 1222910 1222900 -10 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1232975 1232991 16 0.0
(read/write) 563940 563940 0 0.0
.dram0.bss 82304 82304 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314672 314672 0 0.0
.flash.text 1227591 1227607 16 0.0
.iram0.text 123939 123939 0 0.0
k32w light k32w0+release (read/write) 649868 649876 8 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574360 574368 8 0.0
lock k32w0+release (read/write) 706824 706848 24 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630860 630884 24 0.0
linux chip-tool-ipv6only arm64 (read only) 10353156 10353116 -40 -0.0
(read/write) 706241 706225 -16 -0.0
.bss 33937 33937 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 650560 650560 0 0.0
.dynamic 560 560 0 0.0
.got 13904 13896 -8 -0.1
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 503860 503852 -8 -0.0
.text 8195348 8195332 -16 -0.0
thermostat-no-ble arm64 (read only) 2386908 2386804 -104 -0.0
(read/write) 143617 143617 0 0.0
.bss 55345 55345 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5176 -8 -0.2
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 143652 143644 -8 -0.0
.text 2000992 2000912 -80 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182035 1182019 -16 -0.0
bss 143633 143633 0 0.0
rodata 144196 144196 0 0.0
text 815256 815248 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160687 1160703 16 0.0
bss 142860 142860 0 0.0
rodata 135768 135768 0 0.0
text 803124 803140 16 0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1093947 1093947 0 0.0
bss 135253 135253 0 0.0
rodata 121292 121292 0 0.0
text 758508 758504 -4 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1130839 1130823 -16 -0.0
bss 136271 136271 0 0.0
rodata 143208 143208 0 0.0
text 772600 772592 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1082639 1082639 0 0.0
bss 135066 135066 0 0.0
rodata 118560 118560 0 0.0
text 750108 750100 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1069167 1069167 0 0.0
bss 134849 134849 0 0.0
rodata 115040 115040 0 0.0
text 740412 740404 -8 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1142467 1142451 -16 -0.0
bss 146240 146240 0 0.0
rodata 116788 116788 0 0.0
text 799092 799080 -12 -0.0
nrf52840dongle_nrf52840 (read/write) 1077683 1077667 -16 -0.0
bss 152498 152498 0 0.0
rodata 94340 94340 0 0.0
text 749736 749724 -12 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1074650 1074650 0 0.0
bss 141686 141686 0 0.0
rodata 117640 117640 0 0.0
text 734260 734252 -8 -0.0
lock-app nrf5340dk_nrf5340_cpuapp (read/write) 1034614 1034614 0 0.0
bss 132674 132674 0 0.0
rodata 135684 135684 0 0.0
text 685200 685192 -8 -0.0
qpg lighting-app qpg6105+debug (read/write) 1130780 1130756 -24 -0.0
.bss 106112 106112 0 0.0
.data 1028 1028 0 0.0
.text 577876 577852 -24 -0.0
lock-app qpg6105+debug (read/write) 1101760 1101736 -24 -0.0
.bss 102344 102344 0 0.0
.data 1032 1032 0 0.0
.text 548860 548836 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 813660 813628 -32 -0.0
bss 71372 71372 0 0.0
noinit 43488 43488 0 0.0
text 574558 574524 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 835616 835584 -32 -0.0
bss 72228 72228 0 0.0
noinit 43488 43488 0 0.0
text 592718 592684 -34 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 843716 843692 -24 -0.0
bss 73136 73136 0 0.0
noinit 43488 43488 0 0.0
text 598960 598928 -32 -0.0

@emargolis emargolis force-pushed the emargolis/feature/security-replace-strncpy-to-copystring branch from cb86607 to 696276e Compare September 17, 2022 07:12
@github-actions
Copy link

github-actions bot commented Sep 17, 2022

PR #22708: Size comparison from 989ad8e to 696276e

Increases (20 builds for bl702, cc13x2_26x2, esp32, k32w, mbed, nrfconnect, psoc6)
platform target config section 989ad8e 696276e change % change
bl702 lighting-app bl702 .debug_abbrev 1506715 1506921 206 0.0
.debug_info 37894568 37896996 2428 0.0
.debug_line 5252100 5252606 506 0.0
.debug_loc 3361966 3363288 1322 0.0
.debug_str 3455772 3455952 180 0.0
bl702+rpc .debug_abbrev 1644294 1644466 172 0.0
.debug_info 41801170 41803578 2408 0.0
.debug_line 5626639 5627145 506 0.0
.debug_loc 3554673 3555992 1319 0.0
.debug_str 3851739 3851852 113 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174964 174972 8 0.0
.rodata 89603 89611 8 0.0
all-clusters-minimal-app LP_CC2652R7 .rodata 78739 78747 8 0.0
lock-ftd LP_CC2652R7 (read/write) 170600 170616 16 0.0
.rodata 77287 77295 8 0.0
lock-mtd LP_CC2652R7 (read/write) 182468 182476 8 0.0
.rodata 103123 103131 8 0.0
pump-app LP_CC2652R7 (read only) 687259 687275 16 0.0
.rodata 90507 90515 8 0.0
.text 596268 596276 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671759 671775 16 0.0
.rodata 86063 86071 8 0.0
.text 585216 585224 8 0.0
shell LP_CC2652R7 (read only) 667590 667606 16 0.0
.rodata 86318 86326 8 0.0
.text 580956 580964 8 0.0
esp32 all-clusters-app c3devkit (read/write) 1788046 1788054 8 0.0
.flash.rodata 257616 257624 8 0.0
m5stack (read only) 1232975 1232991 16 0.0
.flash.text 1227591 1227607 16 0.0
k32w light k32w0+release (read/write) 649868 649876 8 0.0
.text 574360 574368 8 0.0
lock k32w0+release (read/write) 706824 706848 24 0.0
.text 630860 630884 24 0.0
mbed all-clusters-minimal-app CY8CPROTO_062_4343W+release (read/write) 2476256 2476320 64 0.0
.text 1438852 1438916 64 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2413204 2413268 64 0.0
.text 1375820 1375884 64 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160687 1160703 16 0.0
text 803124 803140 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229301 1229497 196 0.0
.debug_info 26815460 26817897 2437 0.0
.debug_line 3667850 3668022 172 0.0
.debug_loc 3580116 3581613 1497 0.0
.debug_str 3439416 3439586 170 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221100 1221296 196 0.0
.debug_info 26552241 26554679 2438 0.0
.debug_line 3688566 3688738 172 0.0
.debug_loc 3567753 3569250 1497 0.0
.debug_str 3428429 3428599 170 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055156 1055352 196 0.0
.debug_info 22016437 22018876 2439 0.0
.debug_line 3258486 3258658 172 0.0
.debug_loc 3265860 3267342 1482 0.0
.debug_str 3233961 3234131 170 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1062575 1062771 196 0.0
.debug_info 22395757 22398193 2436 0.0
.debug_line 3267178 3267350 172 0.0
.debug_loc 3305688 3307186 1498 0.0
.debug_str 3261416 3261586 170 0.0
Decreases (39 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section 989ad8e 696276e change % change
bl602 lighting-app bl602 (read/write) 1383062 1383038 -24 -0.0
.data 9816 9808 -8 -0.1
.text 1064914 1064890 -24 -0.0
bl602+rpc (read/write) 1428274 1428234 -40 -0.0
.data 10200 10192 -8 -0.1
.text 1096262 1096240 -22 -0.0
bl702 lighting-app bl702 (read/write) 1188011 1187923 -88 -0.0
.data 4280 4272 -8 -0.2
.debug_frame 486412 486408 -4 -0.0
.debug_ranges 359712 358904 -808 -0.2
.rodata 116488 116472 -16 -0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.text 956776 956708 -68 -0.0
bl702+rpc (read/write) 1283939 1283843 -96 -0.0
.debug_frame 511788 511784 -4 -0.0
.debug_ranges 382168 381360 -808 -0.2
.rodata 129896 129864 -32 -0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.text 1030476 1030412 -64 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676571 676563 -8 -0.0
.text 586656 586640 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640811 640803 -8 -0.0
.text 561752 561736 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678103 678087 -16 -0.0
.text 600336 600312 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661923 661915 -8 -0.0
.text 558320 558304 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162148 162132 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177760 177744 -16 -0.0
shell LP_CC2652R7 (read/write) 186256 186240 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587314 587290 -24 -0.0
.app_xip_area 463972 463948 -24 -0.0
lock cyw930739m2evb_01 (read/write) 594370 594338 -32 -0.0
.app_xip_area 465700 465668 -32 -0.0
efr32 lighting-app BRD4161A (read/write) 1110288 1110216 -72 -0.0
.text 971864 971792 -72 -0.0
BRD4161A+rpc (read/write) 973428 973404 -24 -0.0
.text 820312 820288 -24 -0.0
BRD4161A+rs911x (read/write) 1003552 1003472 -80 -0.0
.text 832300 832220 -80 -0.0
lock-app BRD4161A+wf200 (read/write) 1151292 1151260 -32 -0.0
.text 996952 996920 -32 -0.0
window-app BRD4161A (read/write) 1102336 1102264 -72 -0.0
.text 962440 962368 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 1222910 1222900 -10 -0.0
.flash.text 1222910 1222900 -10 -0.0
linux chip-tool-ipv6only arm64 (read only) 10353156 10353116 -40 -0.0
(read/write) 706241 706225 -16 -0.0
.got 13904 13896 -8 -0.1
.rodata 503860 503852 -8 -0.0
.text 8195348 8195332 -16 -0.0
thermostat-no-ble arm64 (read only) 2386908 2386804 -104 -0.0
.got 5184 5176 -8 -0.2
.rodata 143652 143644 -8 -0.0
.text 2000992 2000912 -80 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182035 1182019 -16 -0.0
text 815256 815248 -8 -0.0
light-switch-app nrf52840dk_nrf52840 text 758508 758504 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc text 799092 799084 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1077683 1077667 -16 -0.0
text 749736 749724 -12 -0.0
nrf5340dk_nrf5340_cpuapp text 734260 734252 -8 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1130839 1130823 -16 -0.0
text 772600 772592 -8 -0.0
nrf5340dk_nrf5340_cpuapp text 685200 685192 -8 -0.0
pump-app nrf52840dk_nrf52840 text 750108 750100 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 text 740412 740404 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1743884 1743836 -48 -0.0
.debug_ranges 339904 338584 -1320 -0.4
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 1544120 1544072 -48 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1686492 1686444 -48 -0.0
.debug_ranges 338520 337200 -1320 -0.4
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487464 1487416 -48 -0.0
light cy8ckit_062s2_43012 (read/write) 1605044 1604980 -64 -0.0
.debug_ranges 303848 302528 -1320 -0.4
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414208 1414144 -64 -0.0
lock cy8ckit_062s2_43012 (read/write) 1642668 1642604 -64 -0.0
.debug_ranges 307192 305872 -1320 -0.4
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446800 1446736 -64 -0.0
qpg lighting-app qpg6105+debug (read/write) 1130780 1130756 -24 -0.0
.text 577876 577852 -24 -0.0
lock-app qpg6105+debug (read/write) 1101760 1101736 -24 -0.0
.text 548860 548836 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 813660 813628 -32 -0.0
text 574558 574524 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 835616 835584 -32 -0.0
text 592718 592684 -34 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 843716 843692 -24 -0.0
text 598960 598928 -32 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 989ad8e 696276e change % change
bl602 lighting-app bl602 (read/write) 1383062 1383038 -24 -0.0
.bss 89337 89337 0 0.0
.data 9816 9808 -8 -0.1
.text 1064914 1064890 -24 -0.0
bl602+rpc (read/write) 1428274 1428234 -40 -0.0
.bss 96769 96769 0 0.0
.data 10200 10192 -8 -0.1
.text 1096262 1096240 -22 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188011 1187923 -88 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 66958 66958 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4272 -8 -0.2
.debug_abbrev 1506715 1506921 206 0.0
.debug_aranges 133088 133088 0 0.0
.debug_frame 486412 486408 -4 -0.0
.debug_info 37894568 37896996 2428 0.0
.debug_line 5252100 5252606 506 0.0
.debug_loc 3361966 3363288 1322 0.0
.debug_ranges 359712 358904 -808 -0.2
.debug_str 3455772 3455952 180 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116488 116472 -16 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956776 956708 -68 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1283939 1283843 -96 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75006 75006 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644294 1644466 172 0.0
.debug_aranges 140592 140592 0 0.0
.debug_frame 511788 511784 -4 -0.0
.debug_info 41801170 41803578 2408 0.0
.debug_line 5626639 5627145 506 0.0
.debug_loc 3554673 3555992 1319 0.0
.debug_ranges 382168 381360 -808 -0.2
.debug_str 3851739 3851852 113 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129896 129864 -32 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030476 1030412 -64 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676571 676563 -8 -0.0
(read/write) 174964 174972 8 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89603 89611 8 0.0
.text 586656 586640 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640811 640803 -8 -0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78739 78747 8 0.0
.text 561752 561736 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678103 678087 -16 -0.0
(read/write) 170600 170616 16 0.0
.bss 78484 78484 0 0.0
.data 3304 3304 0 0.0
.rodata 77287 77295 8 0.0
.text 600336 600312 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661923 661915 -8 -0.0
(read/write) 182468 182476 8 0.0
.bss 74172 74172 0 0.0
.data 3304 3304 0 0.0
.rodata 103123 103131 8 0.0
.text 558320 558304 -16 -0.0
pump-app LP_CC2652R7 (read only) 687259 687275 16 0.0
(read/write) 162148 162132 -16 -0.0
.bss 78420 78420 0 0.0
.data 3296 3296 0 0.0
.rodata 90507 90515 8 0.0
.text 596268 596276 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671759 671775 16 0.0
(read/write) 177760 177744 -16 -0.0
.bss 78532 78532 0 0.0
.data 3292 3292 0 0.0
.rodata 86063 86071 8 0.0
.text 585216 585224 8 0.0
shell LP_CC2652R7 (read only) 667590 667606 16 0.0
(read/write) 186256 186240 -16 -0.0
.bss 83540 83540 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86326 8 0.0
.text 580956 580964 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587314 587290 -24 -0.0
.app_xip_area 463972 463948 -24 -0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 594370 594338 -32 -0.0
.app_xip_area 465700 465668 -32 -0.0
.bss 71096 71096 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543306 543306 0 0.0
.app_xip_area 424988 424988 0 0.0
.bss 60784 60784 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1110288 1110216 -72 -0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 971864 971792 -72 -0.0
BRD4161A+rpc (read/write) 973428 973404 -24 -0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 820312 820288 -24 -0.0
BRD4161A+rs911x (read/write) 1003552 1003472 -80 -0.0
.bss 169168 169168 0 0.0
.data 2064 2064 0 0.0
.text 832300 832220 -80 -0.0
lock-app BRD4161A+wf200 (read/write) 1151292 1151260 -32 -0.0
.bss 152248 152248 0 0.0
.data 2072 2072 0 0.0
.text 996952 996920 -32 -0.0
window-app BRD4161A (read/write) 1102336 1102264 -72 -0.0
.bss 137780 137780 0 0.0
.data 2096 2096 0 0.0
.text 962440 962368 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 1222910 1222900 -10 -0.0
(read/write) 1788046 1788054 8 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257616 257624 8 0.0
.flash.text 1222910 1222900 -10 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1232975 1232991 16 0.0
(read/write) 563940 563940 0 0.0
.dram0.bss 82304 82304 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314672 314672 0 0.0
.flash.text 1227591 1227607 16 0.0
.iram0.text 123939 123939 0 0.0
k32w light k32w0+release (read/write) 649868 649876 8 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574360 574368 8 0.0
lock k32w0+release (read/write) 706824 706848 24 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630860 630884 24 0.0
linux chip-tool-ipv6only arm64 (read only) 10353156 10353116 -40 -0.0
(read/write) 706241 706225 -16 -0.0
.bss 33937 33937 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 650560 650560 0 0.0
.dynamic 560 560 0 0.0
.got 13904 13896 -8 -0.1
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 503860 503852 -8 -0.0
.text 8195348 8195332 -16 -0.0
thermostat-no-ble arm64 (read only) 2386908 2386804 -104 -0.0
(read/write) 143617 143617 0 0.0
.bss 55345 55345 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5176 -8 -0.2
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 143652 143644 -8 -0.0
.text 2000992 2000912 -80 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2527420 2527420 0 0.0
.bss 222736 222736 0 0.0
.data 5592 5592 0 0.0
.text 1490036 1490036 0 0.0
all-clusters-minimal-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2476256 2476320 64 0.0
.bss 222008 222008 0 0.0
.data 5568 5568 0 0.0
.text 1438852 1438916 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2464228 2464228 0 0.0
.bss 216708 216708 0 0.0
.data 5848 5848 0 0.0
.text 1426844 1426844 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2455576 2455576 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1418220 1418220 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2413204 2413268 64 0.0
.bss 215040 215040 0 0.0
.data 5752 5752 0 0.0
.text 1375820 1375884 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182035 1182019 -16 -0.0
bss 143633 143633 0 0.0
rodata 144196 144196 0 0.0
text 815256 815248 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160687 1160703 16 0.0
bss 142860 142860 0 0.0
rodata 135768 135768 0 0.0
text 803124 803140 16 0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1093947 1093947 0 0.0
bss 135253 135253 0 0.0
rodata 121292 121292 0 0.0
text 758508 758504 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1142467 1142467 0 0.0
bss 146240 146240 0 0.0
rodata 116788 116788 0 0.0
text 799092 799084 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1077683 1077667 -16 -0.0
bss 152498 152498 0 0.0
rodata 94340 94340 0 0.0
text 749736 749724 -12 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1074650 1074650 0 0.0
bss 141686 141686 0 0.0
rodata 117640 117640 0 0.0
text 734260 734252 -8 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1130839 1130823 -16 -0.0
bss 136271 136271 0 0.0
rodata 143208 143208 0 0.0
text 772600 772592 -8 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1034614 1034614 0 0.0
bss 132674 132674 0 0.0
rodata 135684 135684 0 0.0
text 685200 685192 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1082639 1082639 0 0.0
bss 135066 135066 0 0.0
rodata 118560 118560 0 0.0
text 750108 750100 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1069167 1069167 0 0.0
bss 134849 134849 0 0.0
rodata 115040 115040 0 0.0
text 740412 740404 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1743884 1743836 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1229301 1229497 196 0.0
.debug_aranges 111800 111800 0 0.0
.debug_frame 373268 373268 0 0.0
.debug_info 26815460 26817897 2437 0.0
.debug_line 3667850 3668022 172 0.0
.debug_loc 3580116 3581613 1497 0.0
.debug_ranges 339904 338584 -1320 -0.4
.debug_str 3439416 3439586 170 0.0
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 0 0 0 0.0
1544120 1544072 -48 -0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1686492 1686444 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1221100 1221296 196 0.0
.debug_aranges 111272 111272 0 0.0
.debug_frame 376348 376348 0 0.0
.debug_info 26552241 26554679 2438 0.0
.debug_line 3688566 3688738 172 0.0
.debug_loc 3567753 3569250 1497 0.0
.debug_ranges 338520 337200 -1320 -0.4
.debug_str 3428429 3428599 170 0.0
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487464 1487416 -48 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850896 850896 0 0.0
(read/write) 1605044 1604980 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1055156 1055352 196 0.0
.debug_aranges 103480 103480 0 0.0
.debug_frame 346676 346676 0 0.0
.debug_info 22016437 22018876 2439 0.0
.debug_line 3258486 3258658 172 0.0
.debug_loc 3265860 3267342 1482 0.0
.debug_ranges 303848 302528 -1320 -0.4
.debug_str 3233961 3234131 170 0.0
.heap 850896 850896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414208 1414144 -64 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845864 845864 0 0.0
(read/write) 1642668 1642604 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185008 185008 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1062575 1062771 196 0.0
.debug_aranges 104152 104152 0 0.0
.debug_frame 349500 349500 0 0.0
.debug_info 22395757 22398193 2436 0.0
.debug_line 3267178 3267350 172 0.0
.debug_loc 3305688 3307186 1498 0.0
.debug_ranges 307192 305872 -1320 -0.4
.debug_str 3261416 3261586 170 0.0
.heap 845864 845864 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446800 1446736 -64 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1130780 1130756 -24 -0.0
.bss 106112 106112 0 0.0
.data 1028 1028 0 0.0
.text 577876 577852 -24 -0.0
lock-app qpg6105+debug (read/write) 1101760 1101736 -24 -0.0
.bss 102344 102344 0 0.0
.data 1032 1032 0 0.0
.text 548860 548836 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 813660 813628 -32 -0.0
bss 71372 71372 0 0.0
noinit 43488 43488 0 0.0
text 574558 574524 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 835616 835584 -32 -0.0
bss 72228 72228 0 0.0
noinit 43488 43488 0 0.0
text 592718 592684 -34 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 843716 843692 -24 -0.0
bss 73136 73136 0 0.0
noinit 43488 43488 0 0.0
text 598960 598928 -32 -0.0

@emargolis emargolis force-pushed the emargolis/feature/security-replace-strncpy-to-copystring branch from 696276e to b997c23 Compare September 19, 2022 16:06
@github-actions
Copy link

github-actions bot commented Sep 19, 2022

PR #22708: Size comparison from 0cf7694 to b997c23

Increases (20 builds for bl702, cc13x2_26x2, esp32, k32w, mbed, nrfconnect, psoc6)
platform target config section 0cf7694 b997c23 change % change
bl702 lighting-app bl702 .debug_abbrev 1506715 1506921 206 0.0
.debug_info 37894805 37897234 2429 0.0
.debug_line 5252100 5252606 506 0.0
.debug_loc 3362437 3363759 1322 0.0
.debug_str 3455772 3455952 180 0.0
bl702+rpc .debug_abbrev 1644294 1644466 172 0.0
.debug_info 41801423 41803832 2409 0.0
.debug_line 5626639 5627145 506 0.0
.debug_loc 3555144 3556463 1319 0.0
.debug_str 3851739 3851852 113 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174964 174972 8 0.0
.rodata 89603 89611 8 0.0
all-clusters-minimal-app LP_CC2652R7 .rodata 78739 78747 8 0.0
lock-ftd LP_CC2652R7 (read/write) 170600 170608 8 0.0
.rodata 77287 77295 8 0.0
lock-mtd LP_CC2652R7 (read/write) 182468 182476 8 0.0
.rodata 103123 103131 8 0.0
pump-app LP_CC2652R7 (read only) 687267 687283 16 0.0
.rodata 90507 90515 8 0.0
.text 596276 596284 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671759 671783 24 0.0
.rodata 86063 86071 8 0.0
.text 585216 585232 16 0.0
shell LP_CC2652R7 (read only) 667598 667614 16 0.0
.rodata 86318 86326 8 0.0
.text 580964 580972 8 0.0
esp32 all-clusters-app c3devkit (read/write) 1788038 1788046 8 0.0
.flash.rodata 257608 257616 8 0.0
m5stack (read only) 1232975 1232991 16 0.0
.flash.text 1227591 1227607 16 0.0
k32w light k32w0+release (read/write) 649868 649892 24 0.0
.text 574360 574384 24 0.0
lock k32w0+release (read/write) 706824 706848 24 0.0
.text 630860 630884 24 0.0
mbed lighting-app CY8CPROTO_062_4343W+release (read/write) 2464228 2464292 64 0.0
.text 1426844 1426908 64 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2413204 2413268 64 0.0
.text 1375820 1375884 64 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161455 1161471 16 0.0
text 803136 803152 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229301 1229497 196 0.0
.debug_info 26815706 26818144 2438 0.0
.debug_line 3667850 3668022 172 0.0
.debug_loc 3580124 3581621 1497 0.0
.debug_str 3439416 3439586 170 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221100 1221296 196 0.0
.debug_info 26552489 26554926 2437 0.0
.debug_line 3688566 3688738 172 0.0
.debug_loc 3567761 3569258 1497 0.0
.debug_str 3428429 3428599 170 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055156 1055352 196 0.0
.debug_info 22016667 22019105 2438 0.0
.debug_line 3258486 3258658 172 0.0
.debug_loc 3265868 3267350 1482 0.0
.debug_str 3233961 3234131 170 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1062575 1062771 196 0.0
.debug_info 22396004 22398442 2438 0.0
.debug_line 3267178 3267350 172 0.0
.debug_loc 3305696 3307194 1498 0.0
.debug_str 3261416 3261586 170 0.0
Decreases (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section 0cf7694 b997c23 change % change
bl602 lighting-app bl602 (read/write) 1383286 1383238 -48 -0.0
.data 9816 9808 -8 -0.1
.text 1064930 1064902 -28 -0.0
bl602+rpc (read/write) 1428482 1428458 -24 -0.0
.data 10200 10192 -8 -0.1
.text 1096276 1096250 -26 -0.0
bl702 lighting-app bl702 (read/write) 1188147 1188059 -88 -0.0
.data 4280 4272 -8 -0.2
.debug_frame 486412 486408 -4 -0.0
.debug_ranges 359712 358904 -808 -0.2
.rodata 116488 116472 -16 -0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.text 956796 956730 -66 -0.0
bl702+rpc (read/write) 1284075 1283995 -80 -0.0
.debug_frame 511788 511784 -4 -0.0
.debug_ranges 382168 381360 -808 -0.2
.rodata 129896 129864 -32 -0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.text 1030496 1030434 -62 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676571 676563 -8 -0.0
.text 586656 586640 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640819 640811 -8 -0.0
.text 561760 561744 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678103 678095 -8 -0.0
.text 600336 600320 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 661923 661915 -8 -0.0
.text 558320 558304 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162140 162124 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177760 177736 -24 -0.0
shell LP_CC2652R7 (read/write) 186248 186232 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587322 587290 -32 -0.0
.app_xip_area 463980 463948 -32 -0.0
lock cyw930739m2evb_01 (read/write) 594370 594346 -24 -0.0
.app_xip_area 465700 465676 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543314 543306 -8 -0.0
.app_xip_area 424996 424988 -8 -0.0
efr32 lighting-app BRD4161A (read/write) 1110488 1110416 -72 -0.0
.text 971864 971792 -72 -0.0
BRD4161A+rpc (read/write) 973628 973604 -24 -0.0
.text 820312 820288 -24 -0.0
BRD4161A+rs911x (read/write) 1003736 1003672 -64 -0.0
.text 832284 832220 -64 -0.0
lock-app BRD4161A+wf200 (read/write) 1151292 1151260 -32 -0.0
.text 996952 996920 -32 -0.0
window-app BRD4161A (read/write) 1102536 1102464 -72 -0.0
.text 962440 962368 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 1222910 1222898 -12 -0.0
.flash.text 1222910 1222898 -12 -0.0
linux chip-tool-ipv6only arm64 (read only) 10353140 1035310 -40 -0.0
(read/write) 706241 706225 -16 -0.0
.got 13904 13896 -8 -0.1
.rodata 503844 503836 -8 -0.0
.text 8195348 8195332 -16 -0.0
thermostat-no-ble arm64 (read only) 2386892 2386788 -104 -0.0
.got 5184 5176 -8 -0.2
.rodata 143636 143628 -8 -0.0
.text 2000992 2000912 -80 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182819 1182803 -16 -0.0
text 815272 815264 -8 -0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1094747 1094731 -16 -0.0
text 758528 758520 -8 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1143267 1143251 -16 -0.0
text 799116 799108 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1078483 1078467 -16 -0.0
text 749764 749752 -12 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1075482 1075466 -16 -0.0
text 734280 734268 -12 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1131623 1131607 -16 -0.0
text 772616 772608 -8 -0.0
nrf5340dk_nrf5340_cpuapp text 685216 685208 -8 -0.0
pump-app nrf52840dk_nrf52840 text 750124 750116 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1069951 1069935 -16 -0.0
text 740428 740416 -12 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1743884 1743836 -48 -0.0
.debug_ranges 339904 338584 -1320 -0.4
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 1544120 1544072 -48 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1686492 1686444 -48 -0.0
.debug_ranges 338520 337200 -1320 -0.4
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487464 1487416 -48 -0.0
light cy8ckit_062s2_43012 (read/write) 1605044 1604980 -64 -0.0
.debug_ranges 303848 302528 -1320 -0.4
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414208 1414144 -64 -0.0
lock cy8ckit_062s2_43012 (read/write) 1642668 1642604 -64 -0.0
.debug_ranges 307192 305872 -1320 -0.4
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446800 1446736 -64 -0.0
qpg lighting-app qpg6105+debug (read/write) 1130780 1130764 -16 -0.0
.text 577876 577860 -16 -0.0
lock-app qpg6105+debug (read/write) 1101768 1101744 -24 -0.0
.text 548868 548844 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 814452 814428 -24 -0.0
text 574552 574518 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 836408 836384 -24 -0.0
text 592714 592680 -34 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 844508 844484 -24 -0.0
text 598952 598920 -32 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 0cf7694 b997c23 change % change
bl602 lighting-app bl602 (read/write) 1383286 1383238 -48 -0.0
.bss 89537 89537 0 0.0
.data 9816 9808 -8 -0.1
.text 1064930 1064902 -28 -0.0
bl602+rpc (read/write) 1428482 1428458 -24 -0.0
.bss 96969 96969 0 0.0
.data 10200 10192 -8 -0.1
.text 1096276 1096250 -26 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188147 1188059 -88 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67078 67078 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4272 -8 -0.2
.debug_abbrev 1506715 1506921 206 0.0
.debug_aranges 133088 133088 0 0.0
.debug_frame 486412 486408 -4 -0.0
.debug_info 37894805 37897234 2429 0.0
.debug_line 5252100 5252606 506 0.0
.debug_loc 3362437 3363759 1322 0.0
.debug_ranges 359712 358904 -808 -0.2
.debug_str 3455772 3455952 180 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116488 116472 -16 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956796 956730 -66 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284075 1283995 -80 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75126 75126 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644294 1644466 172 0.0
.debug_aranges 140592 140592 0 0.0
.debug_frame 511788 511784 -4 -0.0
.debug_info 41801423 41803832 2409 0.0
.debug_line 5626639 5627145 506 0.0
.debug_loc 3555144 3556463 1319 0.0
.debug_ranges 382168 381360 -808 -0.2
.debug_str 3851739 3851852 113 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129896 129864 -32 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030496 1030434 -62 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676571 676563 -8 -0.0
(read/write) 174964 174972 8 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89603 89611 8 0.0
.text 586656 586640 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640819 640811 -8 -0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78739 78747 8 0.0
.text 561760 561744 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678103 678095 -8 -0.0
(read/write) 170600 170608 8 0.0
.bss 78484 78484 0 0.0
.data 3304 3304 0 0.0
.rodata 77287 77295 8 0.0
.text 600336 600320 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 661923 661915 -8 -0.0
(read/write) 182468 182476 8 0.0
.bss 74172 74172 0 0.0
.data 3304 3304 0 0.0
.rodata 103123 103131 8 0.0
.text 558320 558304 -16 -0.0
pump-app LP_CC2652R7 (read only) 687267 687283 16 0.0
(read/write) 162140 162124 -16 -0.0
.bss 78420 78420 0 0.0
.data 3296 3296 0 0.0
.rodata 90507 90515 8 0.0
.text 596276 596284 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671759 671783 24 0.0
(read/write) 177760 177736 -24 -0.0
.bss 78532 78532 0 0.0
.data 3292 3292 0 0.0
.rodata 86063 86071 8 0.0
.text 585216 585232 16 0.0
shell LP_CC2652R7 (read only) 667598 667614 16 0.0
(read/write) 186248 186232 -16 -0.0
.bss 83540 83540 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86326 8 0.0
.text 580964 580972 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587322 587290 -32 -0.0
.app_xip_area 463980 463948 -32 -0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 594370 594346 -24 -0.0
.app_xip_area 465700 465676 -24 -0.0
.bss 71096 71096 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543314 543306 -8 -0.0
.app_xip_area 424996 424988 -8 -0.0
.bss 60784 60784 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1110488 1110416 -72 -0.0
.bss 136532 136532 0 0.0
.data 2072 2072 0 0.0
.text 971864 971792 -72 -0.0
BRD4161A+rpc (read/write) 973628 973604 -24 -0.0
.bss 151044 151044 0 0.0
.data 2252 2252 0 0.0
.text 820312 820288 -24 -0.0
BRD4161A+rs911x (read/write) 1003736 1003672 -64 -0.0
.bss 169368 169368 0 0.0
.data 2064 2064 0 0.0
.text 832284 832220 -64 -0.0
lock-app BRD4161A+wf200 (read/write) 1151292 1151260 -32 -0.0
.bss 152248 152248 0 0.0
.data 2072 2072 0 0.0
.text 996952 996920 -32 -0.0
window-app BRD4161A (read/write) 1102536 1102464 -72 -0.0
.bss 137980 137980 0 0.0
.data 2096 2096 0 0.0
.text 962440 962368 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 1222910 1222898 -12 -0.0
(read/write) 1788038 1788046 8 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257608 257616 8 0.0
.flash.text 1222910 1222898 -12 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1232975 1232991 16 0.0
(read/write) 563940 563940 0 0.0
.dram0.bss 82304 82304 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314672 314672 0 0.0
.flash.text 1227591 1227607 16 0.0
.iram0.text 123939 123939 0 0.0
k32w light k32w0+release (read/write) 649868 649892 24 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574360 574384 24 0.0
lock k32w0+release (read/write) 706824 706848 24 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630860 630884 24 0.0
linux chip-tool-ipv6only arm64 (read only) 10353140 1035310 -40 -0.0
(read/write) 706241 706225 -16 -0.0
.bss 33937 33937 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 650560 650560 0 0.0
.dynamic 560 560 0 0.0
.got 13904 13896 -8 -0.1
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 503844 503836 -8 -0.0
.text 8195348 8195332 -16 -0.0
thermostat-no-ble arm64 (read only) 2386892 2386788 -104 -0.0
(read/write) 143617 143617 0 0.0
.bss 55345 55345 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5176 -8 -0.2
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 143636 143628 -8 -0.0
.text 2000992 2000912 -80 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2527420 2527420 0 0.0
.bss 222736 222736 0 0.0
.data 5592 5592 0 0.0
.text 1490036 1490036 0 0.0
all-clusters-minimal-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2476320 2476320 0 0.0
.bss 222008 222008 0 0.0
.data 5568 5568 0 0.0
.text 1438916 1438916 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2464228 2464292 64 0.0
.bss 216708 216708 0 0.0
.data 5848 5848 0 0.0
.text 1426844 1426908 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2455640 2455640 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1418284 1418284 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2413204 2413268 64 0.0
.bss 215040 215040 0 0.0
.data 5752 5752 0 0.0
.text 1375820 1375884 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182819 1182803 -16 -0.0
bss 144433 144433 0 0.0
rodata 144196 144196 0 0.0
text 815272 815264 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161455 1161471 16 0.0
bss 143660 143660 0 0.0
rodata 135768 135768 0 0.0
text 803136 803152 16 0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1094747 1094731 -16 -0.0
bss 136053 136053 0 0.0
rodata 121292 121292 0 0.0
text 758528 758520 -8 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1143267 1143251 -16 -0.0
bss 147040 147040 0 0.0
rodata 116788 116788 0 0.0
text 799116 799108 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1078483 1078467 -16 -0.0
bss 153298 153298 0 0.0
rodata 94340 94340 0 0.0
text 749764 749752 -12 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1075482 1075466 -16 -0.0
bss 142486 142486 0 0.0
rodata 117640 117640 0 0.0
text 734280 734268 -12 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1131623 1131607 -16 -0.0
bss 137071 137071 0 0.0
rodata 143208 143208 0 0.0
text 772616 772608 -8 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1035430 1035430 0 0.0
bss 133474 133474 0 0.0
rodata 135684 135684 0 0.0
text 685216 685208 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1083423 1083423 0 0.0
bss 135866 135866 0 0.0
rodata 118560 118560 0 0.0
text 750124 750116 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1069951 1069935 -16 -0.0
bss 135649 135649 0 0.0
rodata 115040 115040 0 0.0
text 740428 740416 -12 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1743884 1743836 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1229301 1229497 196 0.0
.debug_aranges 111800 111800 0 0.0
.debug_frame 373268 373268 0 0.0
.debug_info 26815706 26818144 2438 0.0
.debug_line 3667850 3668022 172 0.0
.debug_loc 3580124 3581621 1497 0.0
.debug_ranges 339904 338584 -1320 -0.4
.debug_str 3439416 3439586 170 0.0
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 0 0 0 0.0
1544120 1544072 -48 -0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1686492 1686444 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1221100 1221296 196 0.0
.debug_aranges 111272 111272 0 0.0
.debug_frame 376348 376348 0 0.0
.debug_info 26552489 26554926 2437 0.0
.debug_line 3688566 3688738 172 0.0
.debug_loc 3567761 3569258 1497 0.0
.debug_ranges 338520 337200 -1320 -0.4
.debug_str 3428429 3428599 170 0.0
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487464 1487416 -48 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850896 850896 0 0.0
(read/write) 1605044 1604980 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1055156 1055352 196 0.0
.debug_aranges 103480 103480 0 0.0
.debug_frame 346676 346676 0 0.0
.debug_info 22016667 22019105 2438 0.0
.debug_line 3258486 3258658 172 0.0
.debug_loc 3265868 3267350 1482 0.0
.debug_ranges 303848 302528 -1320 -0.4
.debug_str 3233961 3234131 170 0.0
.heap 850896 850896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414208 1414144 -64 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845864 845864 0 0.0
(read/write) 1642668 1642604 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185008 185008 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1062575 1062771 196 0.0
.debug_aranges 104152 104152 0 0.0
.debug_frame 349500 349500 0 0.0
.debug_info 22396004 22398442 2438 0.0
.debug_line 3267178 3267350 172 0.0
.debug_loc 3305696 3307194 1498 0.0
.debug_ranges 307192 305872 -1320 -0.4
.debug_str 3261416 3261586 170 0.0
.heap 845864 845864 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446800 1446736 -64 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1130780 1130764 -16 -0.0
.bss 106312 106312 0 0.0
.data 1028 1028 0 0.0
.text 577876 577860 -16 -0.0
lock-app qpg6105+debug (read/write) 1101768 1101744 -24 -0.0
.bss 102544 102544 0 0.0
.data 1032 1032 0 0.0
.text 548868 548844 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 814452 814428 -24 -0.0
bss 72172 72172 0 0.0
noinit 43488 43488 0 0.0
text 574552 574518 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 836408 836384 -24 -0.0
bss 73028 73028 0 0.0
noinit 43488 43488 0 0.0
text 592714 592680 -34 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 844508 844484 -24 -0.0
bss 73936 73936 0 0.0
noinit 43488 43488 0 0.0
text 598952 598920 -32 -0.0

@github-actions
Copy link

github-actions bot commented Sep 20, 2022

PR #22708: Size comparison from 847f450 to 1dca688

Increases (16 builds for bl702, cc13x2_26x2, k32w, nrfconnect, psoc6)
platform target config section 847f450 1dca688 change % change
bl702 lighting-app bl702 .debug_abbrev 1506715 1506921 206 0.0
.debug_info 37896040 37898470 2430 0.0
.debug_line 5252141 5252647 506 0.0
.debug_loc 3362527 3363849 1322 0.0
.debug_str 3455801 3455981 180 0.0
bl702+rpc .debug_abbrev 1644294 1644466 172 0.0
.debug_info 41802659 41805066 2407 0.0
.debug_line 5626680 5627186 506 0.0
.debug_loc 3555234 3556553 1319 0.0
.debug_str 3851768 3851881 113 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174940 174948 8 0.0
.rodata 89603 89611 8 0.0
all-clusters-minimal-app LP_CC2652R7 .rodata 78739 78747 8 0.0
lock-ftd LP_CC2652R7 (read/write) 170576 170592 16 0.0
.rodata 77287 77295 8 0.0
lock-mtd LP_CC2652R7 (read/write) 182444 182452 8 0.0
.rodata 103123 103131 8 0.0
pump-app LP_CC2652R7 (read only) 687283 687299 16 0.0
.rodata 90507 90515 8 0.0
.text 596292 596300 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671791 671807 16 0.0
.rodata 86063 86071 8 0.0
.text 585248 585256 8 0.0
shell LP_CC2652R7 (read only) 667622 667638 16 0.0
.rodata 86318 86326 8 0.0
.text 580988 580996 8 0.0
k32w light k32w0+release (read/write) 649900 649908 8 0.0
.text 574392 574400 8 0.0
lock k32w0+release (read/write) 706856 706864 8 0.0
.text 630892 630900 8 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161487 1161503 16 0.0
text 803160 803176 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229301 1229497 196 0.0
.debug_info 26817151 26819586 2435 0.0
.debug_line 3667914 3668086 172 0.0
.debug_loc 3580270 3581767 1497 0.0
.debug_str 3439445 3439615 170 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221100 1221296 196 0.0
.debug_info 26553931 26556368 2437 0.0
.debug_line 3688630 3688802 172 0.0
.debug_loc 3567907 3569404 1497 0.0
.debug_str 3428458 3428628 170 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055156 1055352 196 0.0
.debug_info 22018111 22020550 2439 0.0
.debug_line 3258550 3258722 172 0.0
.debug_loc 3266014 3267496 1482 0.0
.debug_str 3233990 3234160 170 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1062575 1062771 196 0.0
.debug_info 22397448 22399883 2435 0.0
.debug_line 3267242 3267414 172 0.0
.debug_loc 3305842 3307340 1498 0.0
.debug_str 3261445 3261615 170 0.0
Decreases (32 builds for bl602, bl702, cc13x2_26x2, cyw30739, nrfconnect, psoc6, qpg, telink)
platform target config section 847f450 1dca688 change % change
bl602 lighting-app bl602 (read/write) 1383310 1383262 -48 -0.0
.data 9816 9808 -8 -0.1
.text 1064954 1064926 -28 -0.0
bl602+rpc (read/write) 1428506 1428482 -24 -0.0
.data 10200 10192 -8 -0.1
.text 1096302 1096274 -28 -0.0
bl702 lighting-app bl702 (read/write) 1188179 1188091 -88 -0.0
.data 4280 4272 -8 -0.2
.debug_frame 486412 486408 -4 -0.0
.debug_ranges 359760 358952 -808 -0.2
.rodata 116488 116472 -16 -0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.text 956820 956756 -64 -0.0
bl702+rpc (read/write) 1284107 1284011 -96 -0.0
.debug_frame 511788 511784 -4 -0.0
.debug_ranges 382216 381408 -808 -0.2
.rodata 129896 129864 -32 -0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.text 1030522 1030456 -66 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676595 676587 -8 -0.0
.text 586680 586664 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640843 640835 -8 -0.0
.text 561784 561768 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678127 678111 -16 -0.0
.text 600360 600336 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661947 661939 -8 -0.0
.text 558344 558328 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162124 162108 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177728 177712 -16 -0.0
shell LP_CC2652R7 (read/write) 186224 186208 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587338 587306 -32 -0.0
.app_xip_area 463996 463964 -32 -0.0
lock cyw930739m2evb_01 (read/write) 594394 594370 -24 -0.0
.app_xip_area 465724 465700 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543338 543330 -8 -0.0
.app_xip_area 425020 425012 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 815292 815284 -8 -0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1094763 1094747 -16 -0.0
text 758548 758536 -12 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1143283 1143267 -16 -0.0
text 799136 799128 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1078499 1078483 -16 -0.0
text 749784 749768 -16 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1075498 1075482 -16 -0.0
text 734300 734288 -12 -0.0
lock-app nrf52840dk_nrf52840 text 772636 772628 -8 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1035462 1035446 -16 -0.0
text 685236 685228 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1083455 1083439 -16 -0.0
text 750144 750136 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 text 740444 740440 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1743900 1743852 -48 -0.0
.debug_ranges 339928 338608 -1320 -0.4
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 1544136 1544088 -48 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1686508 1686460 -48 -0.0
.debug_ranges 338544 337224 -1320 -0.4
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487480 1487432 -48 -0.0
light cy8ckit_062s2_43012 (read/write) 1605060 1604996 -64 -0.0
.debug_ranges 303872 302552 -1320 -0.4
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414224 1414160 -64 -0.0
lock cy8ckit_062s2_43012 (read/write) 1642684 1642636 -48 -0.0
.debug_ranges 307216 305896 -1320 -0.4
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446816 1446768 -48 -0.0
qpg lighting-app qpg6105+debug (read/write) 1146320 1146296 -24 -0.0
.text 593416 593392 -24 -0.0
lock-app qpg6105+debug (read/write) 1116220 1116196 -24 -0.0
.text 563320 563296 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 814468 814436 -32 -0.0
text 574566 574530 -36 -0.0
lighting-app tlsr9518adk80d (read/write) 836424 836392 -32 -0.0
text 592726 592690 -36 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 844524 844500 -24 -0.0
text 598968 598934 -34 -0.0
Full report (35 builds for bl602, bl702, cc13x2_26x2, cyw30739, k32w, nrfconnect, psoc6, qpg, telink)
platform target config section 847f450 1dca688 change % change
bl602 lighting-app bl602 (read/write) 1383310 1383262 -48 -0.0
.bss 89537 89537 0 0.0
.data 9816 9808 -8 -0.1
.text 1064954 1064926 -28 -0.0
bl602+rpc (read/write) 1428506 1428482 -24 -0.0
.bss 96969 96969 0 0.0
.data 10200 10192 -8 -0.1
.text 1096302 1096274 -28 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188179 1188091 -88 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67078 67078 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4272 -8 -0.2
.debug_abbrev 1506715 1506921 206 0.0
.debug_aranges 133088 133088 0 0.0
.debug_frame 486412 486408 -4 -0.0
.debug_info 37896040 37898470 2430 0.0
.debug_line 5252141 5252647 506 0.0
.debug_loc 3362527 3363849 1322 0.0
.debug_ranges 359760 358952 -808 -0.2
.debug_str 3455801 3455981 180 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116488 116472 -16 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956820 956756 -64 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284107 1284011 -96 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75126 75126 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644294 1644466 172 0.0
.debug_aranges 140592 140592 0 0.0
.debug_frame 511788 511784 -4 -0.0
.debug_info 41802659 41805066 2407 0.0
.debug_line 5626680 5627186 506 0.0
.debug_loc 3555234 3556553 1319 0.0
.debug_ranges 382216 381408 -808 -0.2
.debug_str 3851768 3851881 113 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129896 129864 -32 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030522 1030456 -66 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676595 676587 -8 -0.0
(read/write) 174940 174948 8 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89603 89611 8 0.0
.text 586680 586664 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640843 640835 -8 -0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78739 78747 8 0.0
.text 561784 561768 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678127 678111 -16 -0.0
(read/write) 170576 170592 16 0.0
.bss 78484 78484 0 0.0
.data 3304 3304 0 0.0
.rodata 77287 77295 8 0.0
.text 600360 600336 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661947 661939 -8 -0.0
(read/write) 182444 182452 8 0.0
.bss 74172 74172 0 0.0
.data 3304 3304 0 0.0
.rodata 103123 103131 8 0.0
.text 558344 558328 -16 -0.0
pump-app LP_CC2652R7 (read only) 687283 687299 16 0.0
(read/write) 162124 162108 -16 -0.0
.bss 78420 78420 0 0.0
.data 3296 3296 0 0.0
.rodata 90507 90515 8 0.0
.text 596292 596300 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671791 671807 16 0.0
(read/write) 177728 177712 -16 -0.0
.bss 78532 78532 0 0.0
.data 3292 3292 0 0.0
.rodata 86063 86071 8 0.0
.text 585248 585256 8 0.0
shell LP_CC2652R7 (read only) 667622 667638 16 0.0
(read/write) 186224 186208 -16 -0.0
.bss 83540 83540 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86326 8 0.0
.text 580988 580996 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587338 587306 -32 -0.0
.app_xip_area 463996 463964 -32 -0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 594394 594370 -24 -0.0
.app_xip_area 465724 465700 -24 -0.0
.bss 71096 71096 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543338 543330 -8 -0.0
.app_xip_area 425020 425012 -8 -0.0
.bss 60784 60784 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w0+release (read/write) 649900 649908 8 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574392 574400 8 0.0
lock k32w0+release (read/write) 706856 706864 8 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630892 630900 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182835 1182835 0 0.0
bss 144433 144433 0 0.0
rodata 144196 144196 0 0.0
text 815292 815284 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161487 1161503 16 0.0
bss 143660 143660 0 0.0
rodata 135768 135768 0 0.0
text 803160 803176 16 0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1094763 1094747 -16 -0.0
bss 136053 136053 0 0.0
rodata 121292 121292 0 0.0
text 758548 758536 -12 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1143283 1143267 -16 -0.0
bss 147040 147040 0 0.0
rodata 116788 116788 0 0.0
text 799136 799128 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1078499 1078483 -16 -0.0
bss 153298 153298 0 0.0
rodata 94340 94340 0 0.0
text 749784 749768 -16 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1075498 1075482 -16 -0.0
bss 142486 142486 0 0.0
rodata 117640 117640 0 0.0
text 734300 734288 -12 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1131639 1131639 0 0.0
bss 137071 137071 0 0.0
rodata 143208 143208 0 0.0
text 772636 772628 -8 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1035462 1035446 -16 -0.0
bss 133474 133474 0 0.0
rodata 135684 135684 0 0.0
text 685236 685228 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1083455 1083439 -16 -0.0
bss 135866 135866 0 0.0
rodata 118560 118560 0 0.0
text 750144 750136 -8 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1069967 1069967 0 0.0
bss 135649 135649 0 0.0
rodata 115040 115040 0 0.0
text 740444 740440 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841968 841968 0 0.0
(read/write) 1743900 1743852 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1229301 1229497 196 0.0
.debug_aranges 111800 111800 0 0.0
.debug_frame 373268 373268 0 0.0
.debug_info 26817151 26819586 2435 0.0
.debug_line 3667914 3668086 172 0.0
.debug_loc 3580270 3581767 1497 0.0
.debug_ranges 339928 338608 -1320 -0.4
.debug_str 3439445 3439615 170 0.0
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 1544136 1544088 -48 -0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 842704 842704 0 0.0
(read/write) 1686508 1686460 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1221100 1221296 196 0.0
.debug_aranges 111272 111272 0 0.0
.debug_frame 376348 376348 0 0.0
.debug_info 26553931 26556368 2437 0.0
.debug_line 3688630 3688802 172 0.0
.debug_loc 3567907 3569404 1497 0.0
.debug_ranges 338544 337224 -1320 -0.4
.debug_str 3428458 3428628 170 0.0
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487480 1487432 -48 -0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850896 850896 0 0.0
(read/write) 1605060 1604996 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1055156 1055352 196 0.0
.debug_aranges 103480 103480 0 0.0
.debug_frame 346676 346676 0 0.0
.debug_info 22018111 22020550 2439 0.0
.debug_line 3258550 3258722 172 0.0
.debug_loc 3266014 3267496 1482 0.0
.debug_ranges 303872 302552 -1320 -0.4
.debug_str 3233990 3234160 170 0.0
.heap 850896 850896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414224 1414160 -64 -0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845864 845864 0 0.0
(read/write) 1642684 1642636 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185008 185008 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1062575 1062771 196 0.0
.debug_aranges 104152 104152 0 0.0
.debug_frame 349500 349500 0 0.0
.debug_info 22397448 22399883 2435 0.0
.debug_line 3267242 3267414 172 0.0
.debug_loc 3305842 3307340 1498 0.0
.debug_ranges 307216 305896 -1320 -0.4
.debug_str 3261445 3261615 170 0.0
.heap 845864 845864 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446816 1446768 -48 -0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1146320 1146296 -24 -0.0
.bss 110544 110544 0 0.0
.data 1028 1028 0 0.0
.text 593416 593392 -24 -0.0
lock-app qpg6105+debug (read/write) 1116220 1116196 -24 -0.0
.bss 106376 106376 0 0.0
.data 1032 1032 0 0.0
.text 563320 563296 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 814468 814436 -32 -0.0
bss 72172 72172 0 0.0
noinit 43488 43488 0 0.0
text 574566 574530 -36 -0.0
lighting-app tlsr9518adk80d (read/write) 836424 836392 -32 -0.0
bss 73028 73028 0 0.0
noinit 43488 43488 0 0.0
text 592726 592690 -36 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 844524 844500 -24 -0.0
bss 73936 73936 0 0.0
noinit 43488 43488 0 0.0
text 598968 598934 -34 -0.0

@emargolis emargolis force-pushed the emargolis/feature/security-replace-strncpy-to-copystring branch from 1dca688 to 31b4541 Compare September 21, 2022 03:30
@github-actions
Copy link

github-actions bot commented Sep 21, 2022

PR #22708: Size comparison from 3aa138f to 31b4541

Increases (20 builds for bl702, cc13x2_26x2, esp32, k32w, linux, mbed, nrfconnect, psoc6)
platform target config section 3aa138f 31b4541 change % change
bl702 lighting-app bl702 .debug_abbrev 1506715 1506921 206 0.0
.debug_info 37896039 37898470 2431 0.0
.debug_line 5252141 5252647 506 0.0
.debug_loc 3362527 3363849 1322 0.0
.debug_str 3455801 3455981 180 0.0
bl702+rpc .debug_abbrev 1644294 1644466 172 0.0
.debug_info 41802659 41805067 2408 0.0
.debug_line 5626680 5627186 506 0.0
.debug_loc 3555234 3556553 1319 0.0
.debug_str 3851768 3851881 113 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174940 174948 8 0.0
.rodata 89603 89611 8 0.0
all-clusters-minimal-app LP_CC2652R7 .rodata 78739 78747 8 0.0
lock-ftd LP_CC2652R7 (read/write) 170576 170592 16 0.0
.rodata 77287 77295 8 0.0
lock-mtd LP_CC2652R7 (read/write) 182444 182452 8 0.0
.rodata 103123 103131 8 0.0
pump-app LP_CC2652R7 (read only) 687283 687299 16 0.0
.rodata 90507 90515 8 0.0
.text 596292 596300 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671791 671807 16 0.0
.rodata 86063 86071 8 0.0
.text 585248 585256 8 0.0
shell LP_CC2652R7 (read only) 667622 667638 16 0.0
.rodata 86318 86326 8 0.0
.text 580988 580996 8 0.0
esp32 all-clusters-app c3devkit (read/write) 1788038 1788046 8 0.0
.flash.rodata 257608 257616 8 0.0
m5stack (read only) 1232991 1233011 20 0.0
(read/write) 563940 563948 8 0.0
.flash.rodata 314672 314680 8 0.0
.flash.text 1227607 1227627 20 0.0
k32w light k32w0+release (read/write) 649900 649908 8 0.0
.text 574392 574400 8 0.0
lock k32w0+release (read/write) 706856 706864 8 0.0
.text 630892 630900 8 0.0
linux chip-tool-ipv6only arm64 .text 8201012 8201028 16 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2527420 2527484 64 0.0
.text 1490036 1490100 64 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161487 1161503 16 0.0
text 803160 803176 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229301 1229497 196 0.0
.debug_info 26817149 26819586 2437 0.0
.debug_line 3667914 3668086 172 0.0
.debug_loc 3580270 3581767 1497 0.0
.debug_str 3439445 3439615 170 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221100 1221296 196 0.0
.debug_info 26553932 26556367 2435 0.0
.debug_line 3688630 3688802 172 0.0
.debug_loc 3567907 3569404 1497 0.0
.debug_str 3428458 3428628 170 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055156 1055352 196 0.0
.debug_info 22018112 22020549 2437 0.0
.debug_line 3258550 3258722 172 0.0
.debug_loc 3266014 3267496 1482 0.0
.debug_str 3233990 3234160 170 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1062575 1062771 196 0.0
.debug_info 22397448 22399884 2436 0.0
.debug_line 3267242 3267414 172 0.0
.debug_loc 3305842 3307340 1498 0.0
.debug_str 3261445 3261615 170 0.0
Decreases (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section 3aa138f 31b4541 change % change
bl602 lighting-app bl602 (read/write) 1383302 1383262 -40 -0.0
.data 9816 9808 -8 -0.1
.text 1064952 1064926 -26 -0.0
bl602+rpc (read/write) 1428506 1428482 -24 -0.0
.data 10200 10192 -8 -0.1
.text 1096298 1096274 -24 -0.0
bl702 lighting-app bl702 (read/write) 1188179 1188091 -88 -0.0
.data 4280 4272 -8 -0.2
.debug_frame 486412 486408 -4 -0.0
.debug_ranges 359760 358952 -808 -0.2
.rodata 116488 116472 -16 -0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.text 956818 956756 -62 -0.0
bl702+rpc (read/write) 1284107 1284011 -96 -0.0
.debug_frame 511788 511784 -4 -0.0
.debug_ranges 382216 381408 -808 -0.2
.rodata 129896 129864 -32 -0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.text 1030522 1030458 -64 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676595 676587 -8 -0.0
.text 586680 586664 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640843 640835 -8 -0.0
.text 561784 561768 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678127 678111 -16 -0.0
.text 600360 600336 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661947 661939 -8 -0.0
.text 558344 558328 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162124 162108 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177728 177712 -16 -0.0
shell LP_CC2652R7 (read/write) 186224 186208 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587338 587306 -32 -0.0
.app_xip_area 463996 463964 -32 -0.0
lock cyw930739m2evb_01 (read/write) 594394 594370 -24 -0.0
.app_xip_area 465724 465700 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543338 543330 -8 -0.0
.app_xip_area 425020 425012 -8 -0.0
efr32 lighting-app BRD4161A (read/write) 1110520 1110448 -72 -0.0
.text 971896 971824 -72 -0.0
BRD4161A+rpc (read/write) 973644 973620 -24 -0.0
.text 820328 820304 -24 -0.0
BRD4161A+rs911x (read/write) 1003768 1003704 -64 -0.0
.text 832316 832252 -64 -0.0
lock-app BRD4161A+wf200 (read/write) 1151308 1151276 -32 -0.0
.text 996968 996936 -32 -0.0
window-app BRD4161A (read/write) 1102568 1102496 -72 -0.0
.text 962472 962400 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 1222930 1222916 -14 -0.0
.flash.text 1222930 1222916 -14 -0.0
linux chip-tool-ipv6only arm64 (read only) 10360932 10360924 -8 -0.0
(read/write) 706273 706257 -16 -0.0
.got 13912 13904 -8 -0.1
.rodata 505924 505916 -8 -0.0
thermostat-no-ble arm64 (read only) 2387420 2387316 -104 -0.0
.got 5192 5184 -8 -0.2
.rodata 143636 143628 -8 -0.0
.text 2001472 2001392 -80 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 815292 815284 -8 -0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1094763 1094747 -16 -0.0
text 758548 758540 -8 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1143283 1143267 -16 -0.0
text 799136 799128 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1078499 1078483 -16 -0.0
text 749784 749768 -16 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1075498 1075482 -16 -0.0
text 734300 734288 -12 -0.0
lock-app nrf52840dk_nrf52840 text 772632 772628 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1035462 1035446 -16 -0.0
text 685236 685228 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1083455 1083439 -16 -0.0
text 750144 750132 -12 -0.0
pump-controller-app nrf52840dk_nrf52840 text 740448 740440 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1743900 1743852 -48 -0.0
.debug_ranges 339928 338608 -1320 -0.4
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 1544136 1544088 -48 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1686508 1686460 -48 -0.0
.debug_ranges 338544 337224 -1320 -0.4
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487480 1487432 -48 -0.0
light cy8ckit_062s2_43012 (read/write) 1605060 1604996 -64 -0.0
.debug_ranges 303872 302552 -1320 -0.4
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414224 1414160 -64 -0.0
lock cy8ckit_062s2_43012 (read/write) 1642684 1642636 -48 -0.0
.debug_ranges 307216 305896 -1320 -0.4
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446816 1446768 -48 -0.0
qpg lighting-app qpg6105+debug (read/write) 1146320 1146296 -24 -0.0
.text 593416 593392 -24 -0.0
lock-app qpg6105+debug (read/write) 1116220 1116196 -24 -0.0
.text 563320 563296 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 814460 814444 -16 -0.0
text 574564 574534 -30 -0.0
lighting-app tlsr9518adk80d (read/write) 836416 836400 -16 -0.0
text 592724 592694 -30 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 844524 844500 -24 -0.0
text 598966 598934 -32 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 3aa138f 31b4541 change % change
bl602 lighting-app bl602 (read/write) 1383302 1383262 -40 -0.0
.bss 89537 89537 0 0.0
.data 9816 9808 -8 -0.1
.text 1064952 1064926 -26 -0.0
bl602+rpc (read/write) 1428506 1428482 -24 -0.0
.bss 96969 96969 0 0.0
.data 10200 10192 -8 -0.1
.text 1096298 1096274 -24 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188179 1188091 -88 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67078 67078 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4272 -8 -0.2
.debug_abbrev 1506715 1506921 206 0.0
.debug_aranges 133088 133088 0 0.0
.debug_frame 486412 486408 -4 -0.0
.debug_info 37896039 37898470 2431 0.0
.debug_line 5252141 5252647 506 0.0
.debug_loc 3362527 3363849 1322 0.0
.debug_ranges 359760 358952 -808 -0.2
.debug_str 3455801 3455981 180 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116488 116472 -16 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564895 564828 -67 -0.0
.symtab 171616 171600 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956818 956756 -62 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284107 1284011 -96 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75126 75126 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644294 1644466 172 0.0
.debug_aranges 140592 140592 0 0.0
.debug_frame 511788 511784 -4 -0.0
.debug_info 41802659 41805067 2408 0.0
.debug_line 5626680 5627186 506 0.0
.debug_loc 3555234 3556553 1319 0.0
.debug_ranges 382216 381408 -808 -0.2
.debug_str 3851768 3851881 113 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129896 129864 -32 -0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624068 624001 -67 -0.0
.symtab 189424 189408 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030522 1030458 -64 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676595 676587 -8 -0.0
(read/write) 174940 174948 8 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89603 89611 8 0.0
.text 586680 586664 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640843 640835 -8 -0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78739 78747 8 0.0
.text 561784 561768 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 678127 678111 -16 -0.0
(read/write) 170576 170592 16 0.0
.bss 78484 78484 0 0.0
.data 3304 3304 0 0.0
.rodata 77287 77295 8 0.0
.text 600360 600336 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 661947 661939 -8 -0.0
(read/write) 182444 182452 8 0.0
.bss 74172 74172 0 0.0
.data 3304 3304 0 0.0
.rodata 103123 103131 8 0.0
.text 558344 558328 -16 -0.0
pump-app LP_CC2652R7 (read only) 687283 687299 16 0.0
(read/write) 162124 162108 -16 -0.0
.bss 78420 78420 0 0.0
.data 3296 3296 0 0.0
.rodata 90507 90515 8 0.0
.text 596292 596300 8 0.0
pump-controller-app LP_CC2652R7 (read only) 671791 671807 16 0.0
(read/write) 177728 177712 -16 -0.0
.bss 78532 78532 0 0.0
.data 3292 3292 0 0.0
.rodata 86063 86071 8 0.0
.text 585248 585256 8 0.0
shell LP_CC2652R7 (read only) 667622 667638 16 0.0
(read/write) 186224 186208 -16 -0.0
.bss 83540 83540 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86326 8 0.0
.text 580988 580996 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587338 587306 -32 -0.0
.app_xip_area 463996 463964 -32 -0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 594394 594370 -24 -0.0
.app_xip_area 465724 465700 -24 -0.0
.bss 71096 71096 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543338 543330 -8 -0.0
.app_xip_area 425020 425012 -8 -0.0
.bss 60784 60784 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1110520 1110448 -72 -0.0
.bss 136532 136532 0 0.0
.data 2072 2072 0 0.0
.text 971896 971824 -72 -0.0
BRD4161A+rpc (read/write) 973644 973620 -24 -0.0
.bss 151044 151044 0 0.0
.data 2252 2252 0 0.0
.text 820328 820304 -24 -0.0
BRD4161A+rs911x (read/write) 1003768 1003704 -64 -0.0
.bss 169368 169368 0 0.0
.data 2064 2064 0 0.0
.text 832316 832252 -64 -0.0
lock-app BRD4161A+wf200 (read/write) 1151308 1151276 -32 -0.0
.bss 152248 152248 0 0.0
.data 2072 2072 0 0.0
.text 996968 996936 -32 -0.0
window-app BRD4161A (read/write) 1102568 1102496 -72 -0.0
.bss 137980 137980 0 0.0
.data 2096 2096 0 0.0
.text 962472 962400 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 1222930 1222916 -14 -0.0
(read/write) 1788038 1788046 8 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257608 257616 8 0.0
.flash.text 1222930 1222916 -14 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1232991 1233011 20 0.0
(read/write) 563940 563948 8 0.0
.dram0.bss 82304 82304 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314672 314680 8 0.0
.flash.text 1227607 1227627 20 0.0
.iram0.text 123939 123939 0 0.0
k32w light k32w0+release (read/write) 649900 649908 8 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574392 574400 8 0.0
lock k32w0+release (read/write) 706856 706864 8 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630892 630900 8 0.0
linux chip-tool-ipv6only arm64 (read only) 10360932 10360924 -8 -0.0
(read/write) 706273 706257 -16 -0.0
.bss 33953 33953 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 650560 650560 0 0.0
.dynamic 560 560 0 0.0
.got 13912 13904 -8 -0.1
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 505924 505916 -8 -0.0
.text 8201012 8201028 16 0.0
thermostat-no-ble arm64 (read only) 2387420 2387316 -104 -0.0
(read/write) 143649 143649 0 0.0
.bss 55361 55361 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5184 -8 -0.2
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 143636 143628 -8 -0.0
.text 2001472 2001392 -80 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2527420 2527484 64 0.0
.bss 222736 222736 0 0.0
.data 5592 5592 0 0.0
.text 1490036 1490100 64 0.0
all-clusters-minimal-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2476320 2476320 0 0.0
.bss 222008 222008 0 0.0
.data 5568 5568 0 0.0
.text 1438916 1438916 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2464292 2464292 0 0.0
.bss 216708 216708 0 0.0
.data 5848 5848 0 0.0
.text 1426908 1426908 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2455640 2455640 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1418284 1418284 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2413268 2413268 0 0.0
.bss 215040 215040 0 0.0
.data 5752 5752 0 0.0
.text 1375884 1375884 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182835 1182835 0 0.0
bss 144433 144433 0 0.0
rodata 144196 144196 0 0.0
text 815292 815284 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161487 1161503 16 0.0
bss 143660 143660 0 0.0
rodata 135768 135768 0 0.0
text 803160 803176 16 0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1094763 1094747 -16 -0.0
bss 136053 136053 0 0.0
rodata 121292 121292 0 0.0
text 758548 758540 -8 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1143283 1143267 -16 -0.0
bss 147040 147040 0 0.0
rodata 116788 116788 0 0.0
text 799136 799128 -8 -0.0
nrf52840dongle_nrf52840 (read/write) 1078499 1078483 -16 -0.0
bss 153298 153298 0 0.0
rodata 94340 94340 0 0.0
text 749784 749768 -16 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1075498 1075482 -16 -0.0
bss 142486 142486 0 0.0
rodata 117640 117640 0 0.0
text 734300 734288 -12 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1131639 1131639 0 0.0
bss 137071 137071 0 0.0
rodata 143208 143208 0 0.0
text 772632 772628 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1035462 1035446 -16 -0.0
bss 133474 133474 0 0.0
rodata 135684 135684 0 0.0
text 685236 685228 -8 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1083455 1083439 -16 -0.0
bss 135866 135866 0 0.0
rodata 118560 118560 0 0.0
text 750144 750132 -12 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1069967 1069967 0 0.0
bss 135649 135649 0 0.0
rodata 115040 115040 0 0.0
text 740448 740440 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1743900 1743852 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1229301 1229497 196 0.0
.debug_aranges 111800 111800 0 0.0
.debug_frame 373268 373268 0 0.0
.debug_info 26817149 26819586 2437 0.0
.debug_line 3667914 3668086 172 0.0
.debug_loc 3580270 3581767 1497 0.0
.debug_ranges 339928 338608 -1320 -0.4
.debug_str 3439445 3439615 170 0.0
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 569356 569289 -67 -0.0
.symtab 421168 421136 -32 -0.0
.text 1544136 1544088 -48 -0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1686508 1686460 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1221100 1221296 196 0.0
.debug_aranges 111272 111272 0 0.0
.debug_frame 376348 376348 0 0.0
.debug_info 26553932 26556367 2435 0.0
.debug_line 3688630 3688802 172 0.0
.debug_loc 3567907 3569404 1497 0.0
.debug_ranges 338544 337224 -1320 -0.4
.debug_str 3428458 3428628 170 0.0
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 533445 533378 -67 -0.0
.symtab 407600 407568 -32 -0.0
.text 1487480 1487432 -48 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850896 850896 0 0.0
(read/write) 1605060 1604996 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1055156 1055352 196 0.0
.debug_aranges 103480 103480 0 0.0
.debug_frame 346676 346676 0 0.0
.debug_info 22018112 22020549 2437 0.0
.debug_line 3258550 3258722 172 0.0
.debug_loc 3266014 3267496 1482 0.0
.debug_ranges 303872 302552 -1320 -0.4
.debug_str 3233990 3234160 170 0.0
.heap 850896 850896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 469822 469755 -67 -0.0
.symtab 376048 376016 -32 -0.0
.text 1414224 1414160 -64 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845864 845864 0 0.0
(read/write) 1642684 1642636 -48 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185008 185008 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1062575 1062771 196 0.0
.debug_aranges 104152 104152 0 0.0
.debug_frame 349500 349500 0 0.0
.debug_info 22397448 22399884 2436 0.0
.debug_line 3267242 3267414 172 0.0
.debug_loc 3305842 3307340 1498 0.0
.debug_ranges 307216 305896 -1320 -0.4
.debug_str 3261445 3261615 170 0.0
.heap 845864 845864 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476025 475958 -67 -0.0
.symtab 379232 379200 -32 -0.0
.text 1446816 1446768 -48 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1146320 1146296 -24 -0.0
.bss 110544 110544 0 0.0
.data 1028 1028 0 0.0
.text 593416 593392 -24 -0.0
lock-app qpg6105+debug (read/write) 1116220 1116196 -24 -0.0
.bss 106376 106376 0 0.0
.data 1032 1032 0 0.0
.text 563320 563296 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 814460 814444 -16 -0.0
bss 72172 72172 0 0.0
noinit 43488 43488 0 0.0
text 574564 574534 -30 -0.0
lighting-app tlsr9518adk80d (read/write) 836416 836400 -16 -0.0
bss 73028 73028 0 0.0
noinit 43488 43488 0 0.0
text 592724 592694 -30 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 844524 844500 -24 -0.0
bss 73936 73936 0 0.0
noinit 43488 43488 0 0.0
text 598966 598934 -32 -0.0

@emargolis emargolis merged commit 15ac917 into project-chip:master Sep 22, 2022
@@ -195,7 +196,7 @@ class ComplexArgumentParser

size_t size = strlen(value.asCString());
auto buffer = static_cast<char *>(chip::Platform::MemoryCalloc(size, sizeof(char)));
strncpy(buffer, value.asCString(), size);
chip::Platform::CopyString(buffer, size, value.asCString());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing a problem since strncpy does not null terminate while CopyString does

vivien-apple added a commit to vivien-apple/connectedhomeip-1 that referenced this pull request Oct 17, 2022
…::CopyString to memcpy (it previously uses to be strncpy which was confusing)
andy31415 pushed a commit that referenced this pull request Oct 17, 2022
… to memcpy (it previously uses to be strncpy which was confusing) (#23231)
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…::CopyString to memcpy (it previously uses to be strncpy which was confusing) (project-chip#23231)
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…::CopyString to memcpy (it previously uses to be strncpy which was confusing) (project-chip#23231)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

strncpy Max Copy Length Does Not Always Copy Null Terminator
3 participants