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

[KVS] Check NULL pointer for getPref_bin_new #21854

Merged
merged 6 commits into from
Aug 23, 2022

Conversation

pankore
Copy link
Contributor

@pankore pankore commented Aug 12, 2022

Problem

  • Fix the hard fault caused by invalid read_bytes_size pointer.

Change overview

Add NULL pointer checker for getPref_bin_new

Testing

Tested commissioning and control

Invalid read_bytes_size pointer could cause hard fault on getPref_bin_new function.
@github-actions
Copy link

github-actions bot commented Aug 12, 2022

PR #21854: Size comparison from afd4ab7 to 16270d6

Increases (4 builds for bl602, telink)
platform target config section afd4ab7 16270d6 change % change
bl602 lighting-app bl602 .text 1049336 1049340 4 0.0
bl602+rpc (read/write) 1426586 1426594 8 0.0
.text 1080836 1080840 4 0.0
telink light-switch-app tlsr9518adk80d text 570694 570696 2 0.0
lighting-app tlsr9518adk80d (read/write) 829216 829224 8 0.0
text 588770 588774 4 0.0
Decreases (1 build for nrfconnect)
platform target config section afd4ab7 16270d6 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814012 814008 -4 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section afd4ab7 16270d6 change % change
bl602 lighting-app bl602 (read/write) 1381338 1381338 0 0.0
.bss 119826 119826 0 0.0
.data 4480 4480 0 0.0
.text 1049336 1049340 4 0.0
bl602+rpc (read/write) 1426586 1426594 8 0.0
.bss 127266 127266 0 0.0
.data 4600 4600 0 0.0
.text 1080836 1080840 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 671751 671751 0 0.0
(read/write) 179704 179704 0 0.0
.bss 74348 74348 0 0.0
.data 3372 3372 0 0.0
.rodata 88567 88567 0 0.0
.text 582868 582868 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637159 637159 0 0.0
(read/write) 157924 157924 0 0.0
.bss 73636 73636 0 0.0
.data 3372 3372 0 0.0
.rodata 77823 77823 0 0.0
.text 559012 559012 0 0.0
lock-ftd LP_CC2652R7 (read only) 673507 673507 0 0.0
(read/write) 168140 168140 0 0.0
.bss 71428 71428 0 0.0
.data 3296 3296 0 0.0
.rodata 76507 76507 0 0.0
.text 596520 596520 0 0.0
lock-mtd LP_CC2652R7 (read only) 656123 656123 0 0.0
(read/write) 181212 181212 0 0.0
.bss 67116 67116 0 0.0
.data 3296 3296 0 0.0
.rodata 101467 101467 0 0.0
.text 554176 554176 0 0.0
pump-app LP_CC2652R7 (read only) 683915 683915 0 0.0
(read/write) 158540 158540 0 0.0
.bss 71468 71468 0 0.0
.data 3296 3296 0 0.0
.rodata 89523 89523 0 0.0
.text 593908 593908 0 0.0
pump-controller-app LP_CC2652R7 (read only) 668367 668367 0 0.0
(read/write) 174208 174208 0 0.0
.bss 71588 71588 0 0.0
.data 3292 3292 0 0.0
.rodata 85071 85071 0 0.0
.text 582816 582816 0 0.0
shell LP_CC2652R7 (read only) 664426 664426 0 0.0
(read/write) 182548 182548 0 0.0
.bss 76668 76668 0 0.0
.data 3376 3376 0 0.0
.rodata 85514 85514 0 0.0
.text 578596 578596 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 585614 585614 0 0.0
.app_xip_area 462336 462336 0 0.0
.bss 65720 65720 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) 591430 591430 0 0.0
.app_xip_area 463368 463368 0 0.0
.bss 70504 70504 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 598258 598258 0 0.0
.app_xip_area 475700 475700 0 0.0
.bss 65032 65032 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) 1098172 1098172 0 0.0
.bss 132924 132924 0 0.0
.data 2068 2068 0 0.0
.text 963156 963156 0 0.0
BRD4161A+rpc (read/write) 1152436 1152436 0 0.0
.bss 149612 149612 0 0.0
.data 2280 2280 0 0.0
.text 1000524 1000524 0 0.0
BRD4161A+rs911x (read/write) 987596 987596 0 0.0
.bss 162264 162264 0 0.0
.data 2056 2056 0 0.0
.text 823256 823256 0 0.0
lock-app BRD4161A+wf200 (read/write) 1137676 1137676 0 0.0
.bss 144904 144904 0 0.0
.data 2064 2064 0 0.0
.text 990688 990688 0 0.0
window-app BRD4161A (read/write) 1089608 1089608 0 0.0
.bss 134356 134356 0 0.0
.data 2096 2096 0 0.0
.text 953136 953136 0 0.0
esp32 all-clusters-app c3devkit (read only) 1027004 1027004 0 0.0
(read/write) 1487762 1487762 0 0.0
.dram0.bss 70424 70424 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217296 217296 0 0.0
.flash.text 1027004 1027004 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1080391 1080391 0 0.0
(read/write) 489712 489712 0 0.0
.dram0.bss 75928 75928 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247644 247644 0 0.0
.flash.text 1075007 1075007 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 644548 644548 0 0.0
.bss 69792 69792 0 0.0
.data 2044 2044 0 0.0
.text 569984 569984 0 0.0
lock k32w0+release (read/write) 701836 701836 0 0.0
.bss 70264 70264 0 0.0
.data 2052 2052 0 0.0
.text 626792 626792 0 0.0
linux all-clusters-app debug (read only) 3030041 3030041 0 0.0
(read/write) 155760 155760 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85416 85416 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 273771 273771 0 0.0
.text 2577314 2577314 0 0.0
all-clusters-minimal-app debug (read only) 2869833 2869833 0 0.0
(read/write) 147496 147496 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78008 78008 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 273899 273899 0 0.0
.text 2419682 2419682 0 0.0
bridge-app debug+rpc (read only) 2368721 2368721 0 0.0
(read/write) 127456 127456 0 0.0
.bss 50624 50624 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67368 67368 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202760 202760 0 0.0
.text 2003458 2003458 0 0.0
chip-tool debug (read only) 10656833 10656833 0 0.0
(read/write) 650816 650816 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 615784 615784 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 552021 552021 0 0.0
.text 8599140 8599140 0 0.0
chip-tool-ipv6only arm64 (read only) 10067092 10067092 0 0.0
(read/write) 698545 698545 0 0.0
.bss 33281 33281 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643320 643320 0 0.0
.dynamic 560 560 0 0.0
.got 13712 13712 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 483044 483044 0 0.0
.text 7947236 7947236 0 0.0
lighting-app debug+rpc (read only) 2592705 2592705 0 0.0
(read/write) 130048 130048 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72248 72248 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 219504 219504 0 0.0
.text 2202610 2202610 0 0.0
lock-app debug (read only) 2576665 2576665 0 0.0
(read/write) 125416 125416 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69416 69416 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 236592 236592 0 0.0
.text 2173538 2173538 0 0.0
ota-provider-app debug (read only) 2353825 2353825 0 0.0
(read/write) 118848 118848 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63224 63224 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 208568 208568 0 0.0
.text 1981906 1981906 0 0.0
ota-requestor-app debug (read only) 2519553 2519553 0 0.0
(read/write) 127192 127192 0 0.0
.bss 50304 50304 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 215328 215328 0 0.0
.text 2131778 2131778 0 0.0
shell debug (read only) 2598377 2598377 0 0.0
(read/write) 141912 141912 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77024 77024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 233906 233906 0 0.0
.text 2206242 2206242 0 0.0
thermostat-no-ble arm64 (read only) 2353460 2353460 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139980 139980 0 0.0
.text 1975952 1975952 0 0.0
tv-app debug (read only) 3170585 3170585 0 0.0
(read/write) 257872 257872 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79096 79096 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 258536 258536 0 0.0
.text 2722354 2722354 0 0.0
tv-casting-app debug (read only) 5411001 5411001 0 0.0
(read/write) 158992 158992 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98672 98672 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 341777 341777 0 0.0
.text 4800994 4800994 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2453528 2453528 0 0.0
.bss 214636 214636 0 0.0
.data 5872 5872 0 0.0
.text 1416172 1416172 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1179215 1179215 0 0.0
bss 143294 143294 0 0.0
rodata 143008 143008 0 0.0
text 814012 814008 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159111 1159111 0 0.0
bss 142532 142532 0 0.0
rodata 134704 134704 0 0.0
text 803000 803000 0 0.0
p6 all-clusters-app default (read only) 881448 881448 0 0.0
(read/write) 1695348 1695348 0 0.0
.bss 149240 149240 0 0.0
.data 2656 2656 0 0.0
.text 1535064 1535064 0 0.0
all-clusters-minimal-app default (read only) 882168 882168 0 0.0
(read/write) 1639388 1639388 0 0.0
.bss 148520 148520 0 0.0
.data 2656 2656 0 0.0
.text 1479824 1479824 0 0.0
light-app default (read only) 890488 890488 0 0.0
(read/write) 1558068 1558068 0 0.0
.bss 140408 140408 0 0.0
.data 2448 2448 0 0.0
.text 1406824 1406824 0 0.0
lock-app default (read only) 885992 885992 0 0.0
(read/write) 1595236 1595236 0 0.0
.bss 144888 144888 0 0.0
.data 2464 2464 0 0.0
.text 1439496 1439496 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 807296 807296 0 0.0
bss 71040 71040 0 0.0
noinit 43488 43488 0 0.0
text 570694 570696 2 0.0
lighting-app tlsr9518adk80d (read/write) 829216 829224 8 0.0
bss 71896 71896 0 0.0
noinit 43488 43488 0 0.0
text 588770 588774 4 0.0

@pankore pankore requested a review from Damian-Nordic August 17, 2022 09:45
@pankore pankore force-pushed the fix_nullptr_issue branch from b643115 to 74730a7 Compare August 19, 2022 10:43
@github-actions
Copy link

github-actions bot commented Aug 19, 2022

PR #21854: Size comparison from 3f69587 to 74730a7

Increases (3 builds for cc13x2_26x2, k32w, psoc6)
platform target config section 3f69587 74730a7 change % change
cc13x2_26x2 lock-mtd LP_CC2652R7 (read/write) 180552 180560 8 0.0
k32w light k32w0+release (read/write) 646660 646676 16 0.0
.text 571464 571480 16 0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 21844446 21844448 2 0.0
Decreases (10 builds for bl602, cc13x2_26x2, nrfconnect, psoc6, telink)
platform target config section 3f69587 74730a7 change % change
bl602 lighting-app bl602 .text 1051044 1051040 -4 -0.0
bl602+rpc .text 1082804 1082800 -4 -0.0
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 637747 637739 -8 -0.0
.text 559444 559436 -8 -0.0
lock-mtd LP_CC2652R7 (read only) 656831 656823 -8 -0.0
.text 554592 554584 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814664 814660 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 text 803072 803068 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 26643195 26643194 -1 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26379891 26379890 -1 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 808744 808736 -8 -0.0
text 571318 571314 -4 -0.0
lighting-app tlsr9518adk80d text 589408 589406 -2 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 3f69587 74730a7 change % change
bl602 lighting-app bl602 (read/write) 1383858 1383858 0 0.0
.bss 120258 120258 0 0.0
.data 4480 4480 0 0.0
.text 1051044 1051040 -4 -0.0
bl602+rpc (read/write) 1429370 1429370 0 0.0
.bss 127698 127698 0 0.0
.data 4600 4600 0 0.0
.text 1082804 1082800 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 673027 673027 0 0.0
(read/write) 178468 178468 0 0.0
.bss 74388 74388 0 0.0
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583876 583876 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637747 637739 -8 -0.0
(read/write) 157948 157948 0 0.0
.bss 73660 73660 0 0.0
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559444 559436 -8 -0.0
lock-ftd LP_CC2652R7 (read only) 674079 674079 0 0.0
(read/write) 167616 167616 0 0.0
.bss 71476 71476 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596928 596928 0 0.0
lock-mtd LP_CC2652R7 (read only) 656831 656823 -8 -0.0
(read/write) 180552 180560 8 0.0
.bss 67164 67164 0 0.0
.data 3296 3296 0 0.0
.rodata 101759 101759 0 0.0
.text 554592 554584 -8 -0.0
pump-app LP_CC2652R7 (read only) 684751 684751 0 0.0
(read/write) 157752 157752 0 0.0
.bss 71516 71516 0 0.0
.data 3296 3296 0 0.0
.rodata 89959 89959 0 0.0
.text 594308 594308 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669243 669243 0 0.0
(read/write) 173380 173380 0 0.0
.bss 71636 71636 0 0.0
.data 3292 3292 0 0.0
.rodata 85515 85515 0 0.0
.text 583248 583248 0 0.0
shell LP_CC2652R7 (read only) 665710 665710 0 0.0
(read/write) 181304 181304 0 0.0
.bss 76708 76708 0 0.0
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579612 579612 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586618 586618 0 0.0
.app_xip_area 463284 463284 0 0.0
.bss 65768 65768 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) 592418 592418 0 0.0
.app_xip_area 464300 464300 0 0.0
.bss 70552 70552 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599538 599538 0 0.0
.app_xip_area 476924 476924 0 0.0
.bss 65080 65080 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) 1100980 1100980 0 0.0
.bss 133372 133372 0 0.0
.data 2068 2068 0 0.0
.text 965516 965516 0 0.0
BRD4161A+rpc (read/write) 1155232 1155232 0 0.0
.bss 150060 150060 0 0.0
.data 2280 2280 0 0.0
.text 1002872 1002872 0 0.0
BRD4161A+rs911x (read/write) 990152 990152 0 0.0
.bss 162696 162696 0 0.0
.data 2056 2056 0 0.0
.text 825380 825380 0 0.0
lock-app BRD4161A+wf200 (read/write) 1139636 1139636 0 0.0
.bss 145872 145872 0 0.0
.data 2064 2064 0 0.0
.text 991680 991680 0 0.0
window-app BRD4161A (read/write) 1092420 1092420 0 0.0
.bss 134812 134812 0 0.0
.data 2096 2096 0 0.0
.text 955492 955492 0 0.0
esp32 all-clusters-app c3devkit (read only) 1031268 1031268 0 0.0
(read/write) 1489610 1489610 0 0.0
.dram0.bss 71136 71136 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 218440 218440 0 0.0
.flash.text 1031268 1031268 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1084371 1084371 0 0.0
(read/write) 491544 491544 0 0.0
.dram0.bss 76640 76640 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248764 248764 0 0.0
.flash.text 1078987 1078987 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 646660 646676 16 0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571464 571480 16 0.0
lock k32w0+release (read/write) 704196 704196 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628528 628528 0 0.0
linux all-clusters-app debug (read only) 3038505 3038505 0 0.0
(read/write) 156024 156024 0 0.0
.bss 61920 61920 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85624 85624 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 274667 274667 0 0.0
.text 2584690 2584690 0 0.0
all-clusters-minimal-app debug (read only) 2874353 2874353 0 0.0
(read/write) 147624 147624 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274859 274859 0 0.0
.text 2423122 2423122 0 0.0
bridge-app debug+rpc (read only) 2373001 2373001 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203496 203496 0 0.0
.text 2006882 2006882 0 0.0
chip-tool debug (read only) 10868673 10868673 0 0.0
(read/write) 651296 651296 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 616280 616280 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 562677 562677 0 0.0
.text 8799364 8799364 0 0.0
chip-tool-ipv6only arm64 (read only) 10255980 10255980 0 0.0
(read/write) 699105 699105 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643792 643792 0 0.0
.dynamic 560 560 0 0.0
.got 13784 13784 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493340 493340 0 0.0
.text 8124596 8124596 0 0.0
lighting-app debug+rpc (read only) 2597033 2597033 0 0.0
(read/write) 130176 130176 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72360 72360 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220304 220304 0 0.0
.text 2206018 2206018 0 0.0
lock-app debug (read only) 2580929 2580929 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237360 237360 0 0.0
.text 2176914 2176914 0 0.0
ota-provider-app debug (read only) 2358105 2358105 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209336 209336 0 0.0
.text 1985298 1985298 0 0.0
ota-requestor-app debug (read only) 2523369 2523369 0 0.0
(read/write) 127320 127320 0 0.0
.bss 50336 50336 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68728 68728 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 216160 216160 0 0.0
.text 2134642 2134642 0 0.0
shell debug (read only) 2606793 2606793 0 0.0
(read/write) 142144 142144 0 0.0
.bss 57832 57832 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77224 77224 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 234770 234770 0 0.0
.text 2213602 2213602 0 0.0
thermostat-no-ble arm64 (read only) 2357300 2357300 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140620 140620 0 0.0
.text 1978960 1978960 0 0.0
tv-app debug (read only) 3173993 3173993 0 0.0
(read/write) 257968 257968 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 258952 258952 0 0.0
.text 2725298 2725298 0 0.0
tv-casting-app debug (read only) 5466769 5466769 0 0.0
(read/write) 160400 160400 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 100088 100088 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 343729 343729 0 0.0
.text 4851522 4851522 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454328 2454328 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1416972 1416972 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180603 1180603 0 0.0
bss 143737 143737 0 0.0
rodata 143356 143356 0 0.0
text 814664 814660 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159799 1159799 0 0.0
bss 142964 142964 0 0.0
rodata 134944 134944 0 0.0
text 803072 803068 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 881000 881000 0 0.0
(read/write) 1700996 1700996 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 149688 149688 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 2656 2656 0 0.0
.debug_abbrev 1217459 1217459 0 0.0
.debug_aranges 111528 111528 0 0.0
.debug_frame 372352 372352 0 0.0
.debug_info 26643195 26643194 -1 -0.0
.debug_line 3646638 3646638 0 0.0
.debug_loc 3562036 3562036 0 0.0
.debug_ranges 336576 336576 0 0.0
.debug_str 3393852 3393852 0 0.0
.heap 881000 881000 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 569346 569346 0 0.0
.symtab 420416 420416 0 0.0
.text 1540264 1540264 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 881736 881736 0 0.0
(read/write) 1644204 1644204 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 148952 148952 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 2656 2656 0 0.0
.debug_abbrev 1209298 1209298 0 0.0
.debug_aranges 111000 111000 0 0.0
.debug_frame 375432 375432 0 0.0
.debug_info 26379891 26379890 -1 -0.0
.debug_line 3667042 3667042 0 0.0
.debug_loc 3549673 3549673 0 0.0
.debug_ranges 335192 335192 0 0.0
.debug_str 3382841 3382841 0 0.0
.heap 881736 881736 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 533820 533820 0 0.0
.symtab 407008 407008 0 0.0
.text 1484208 1484208 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 890080 890080 0 0.0
(read/write) 1561436 1561436 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 140816 140816 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 2448 2448 0 0.0
.debug_abbrev 1043971 1043971 0 0.0
.debug_aranges 103168 103168 0 0.0
.debug_frame 345676 345676 0 0.0
.debug_info 21844446 21844448 2 0.0
.debug_line 3238220 3238220 0 0.0
.debug_loc 3249205 3249205 0 0.0
.debug_ranges 301032 301032 0 0.0
.debug_str 3188935 3188935 0 0.0
.heap 890080 890080 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 467101 467101 0 0.0
.symtab 374064 374064 0 0.0
.text 1409784 1409784 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 885584 885584 0 0.0
(read/write) 1598708 1598708 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 145296 145296 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 2464 2464 0 0.0
.debug_abbrev 1051147 1051147 0 0.0
.debug_aranges 103840 103840 0 0.0
.debug_frame 348500 348500 0 0.0
.debug_info 22199615 22199615 0 0.0
.debug_line 3246906 3246906 0 0.0
.debug_loc 3289325 3289325 0 0.0
.debug_ranges 304448 304448 0 0.0
.debug_str 3216366 3216366 0 0.0
.heap 885584 885584 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 473342 473342 0 0.0
.symtab 377248 377248 0 0.0
.text 1442560 1442560 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808744 808736 -8 -0.0
bss 71448 71448 0 0.0
noinit 43488 43488 0 0.0
text 571318 571314 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 830680 830680 0 0.0
bss 72304 72304 0 0.0
noinit 43488 43488 0 0.0
text 589408 589406 -2 -0.0

@andy31415
Copy link
Contributor

/rebase

@andy31415 andy31415 enabled auto-merge (squash) August 23, 2022 13:38
@github-actions
Copy link

github-actions bot commented Aug 23, 2022

PR #21854: Size comparison from ae16a8c to 6e73c81

Increases (4 builds for cc13x2_26x2, psoc6, telink)
platform target config section ae16a8c 6e73c81f change % change
cc13x2_26x2 lock-mtd LP_CC2652R7 (read only) 656903 656911 8 0.0
.text 554656 554664 8 0.0
pump-app LP_CC2652R7 (read only) 684815 684823 8 0.0
.text 594372 594380 8 0.0
psoc6 lock cy8ckit_062s2_43012 .debug_info 22200965 22200966 1 0.0
telink lighting-app tlsr9518adk80d text 589408 589410 2 0.0
Decreases (7 builds for bl602, cc13x2_26x2, esp32, nrfconnect, psoc6)
platform target config section ae16a8c 6e73c81f change % change
bl602 lighting-app bl602 .text 1051100 1051096 -4 -0.0
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 637755 637747 -8 -0.0
.text 559452 559444 -8 -0.0
lock-mtd LP_CC2652R7 (read/write) 180488 180480 -8 -0.0
pump-app LP_CC2652R7 (read/write) 157696 157688 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1031286 1031284 -2 -0.0
.flash.text 1031286 1031284 -2 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814736 814732 -4 -0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 21845799 21845797 -2 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section ae16a8c 6e73c81f change % change
bl602 lighting-app bl602 (read/write) 1383930 1383930 0 0.0
.bss 120266 120266 0 0.0
.data 4480 4480 0 0.0
.text 1051100 1051096 -4 -0.0
bl602+rpc (read/write) 1429586 1429586 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1082856 1082856 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 673035 673035 0 0.0
(read/write) 178460 178460 0 0.0
.bss 74388 74388 0 0.0
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583884 583884 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637755 637747 -8 -0.0
(read/write) 157948 157948 0 0.0
.bss 73660 73660 0 0.0
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559452 559444 -8 -0.0
lock-ftd LP_CC2652R7 (read only) 674151 674151 0 0.0
(read/write) 167552 167552 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 597000 597000 0 0.0
lock-mtd LP_CC2652R7 (read only) 656903 656911 8 0.0
(read/write) 180488 180480 -8 -0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101767 101767 0 0.0
.text 554656 554664 8 0.0
pump-app LP_CC2652R7 (read only) 684815 684823 8 0.0
(read/write) 157696 157688 -8 -0.0
.bss 71524 71524 0 0.0
.data 3296 3296 0 0.0
.rodata 89959 89959 0 0.0
.text 594372 594380 8 0.0
pump-controller-app LP_CC2652R7 (read only) 669331 669331 0 0.0
(read/write) 173300 173300 0 0.0
.bss 71644 71644 0 0.0
.data 3292 3292 0 0.0
.rodata 85515 85515 0 0.0
.text 583336 583336 0 0.0
shell LP_CC2652R7 (read only) 665718 665718 0 0.0
(read/write) 181296 181296 0 0.0
.bss 76708 76708 0 0.0
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579620 579620 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586754 586754 0 0.0
.app_xip_area 463412 463412 0 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) 592546 592546 0 0.0
.app_xip_area 464420 464420 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599682 599682 0 0.0
.app_xip_area 477060 477060 0 0.0
.bss 65088 65088 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) 1107636 1107636 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 969212 969212 0 0.0
BRD4161A+rpc (read/write) 971588 971588 0 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818468 818468 0 0.0
BRD4161A+rs911x (read/write) 1000248 1000248 0 0.0
.bss 169088 169088 0 0.0
.data 2056 2056 0 0.0
.text 829084 829084 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149420 1149420 0 0.0
.bss 152168 152168 0 0.0
.data 2064 2064 0 0.0
.text 995168 995168 0 0.0
window-app BRD4161A (read/write) 1098932 1098932 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 959044 959044 0 0.0
esp32 all-clusters-app c3devkit (read only) 1031286 1031284 -2 -0.0
(read/write) 1489642 1489642 0 0.0
.dram0.bss 71144 71144 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 218456 218456 0 0.0
.flash.text 1031286 1031284 -2 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1084403 1084403 0 0.0
(read/write) 491560 491560 0 0.0
.dram0.bss 76648 76648 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248772 248772 0 0.0
.flash.text 1079019 1079019 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 646676 646676 0 0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571480 571480 0 0.0
lock k32w0+release (read/write) 704220 704220 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628552 628552 0 0.0
linux all-clusters-app debug (read only) 3038505 3038505 0 0.0
(read/write) 156024 156024 0 0.0
.bss 61920 61920 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85624 85624 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 274667 274667 0 0.0
.text 2584690 2584690 0 0.0
all-clusters-minimal-app debug (read only) 2874369 2874369 0 0.0
(read/write) 147624 147624 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274859 274859 0 0.0
.text 2423138 2423138 0 0.0
bridge-app debug+rpc (read only) 2373017 2373017 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203496 203496 0 0.0
.text 2006898 2006898 0 0.0
chip-tool debug (read only) 10877649 10877649 0 0.0
(read/write) 651328 651328 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 616312 616312 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 562901 562901 0 0.0
.text 8808020 8808020 0 0.0
chip-tool-ipv6only arm64 (read only) 10259676 10259676 0 0.0
(read/write) 699137 699137 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643824 643824 0 0.0
.dynamic 560 560 0 0.0
.got 13784 13784 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493564 493564 0 0.0
.text 8127972 8127972 0 0.0
lighting-app debug+rpc (read only) 2597849 2597849 0 0.0
(read/write) 130304 130304 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72488 72488 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220400 220400 0 0.0
.text 2206546 2206546 0 0.0
lock-app debug (read only) 2580945 2580945 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237360 237360 0 0.0
.text 2176930 2176930 0 0.0
ota-provider-app debug (read only) 2358105 2358105 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209336 209336 0 0.0
.text 1985298 1985298 0 0.0
ota-requestor-app debug (read only) 2523705 2523705 0 0.0
(read/write) 127384 127384 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68744 68744 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 216160 216160 0 0.0
.text 2134930 2134930 0 0.0
shell debug (read only) 2606809 2606809 0 0.0
(read/write) 142144 142144 0 0.0
.bss 57832 57832 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77224 77224 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 234770 234770 0 0.0
.text 2213618 2213618 0 0.0
thermostat-no-ble arm64 (read only) 2357300 2357300 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140620 140620 0 0.0
.text 1978960 1978960 0 0.0
tv-app debug (read only) 3182297 3182297 0 0.0
(read/write) 257968 257968 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259016 259016 0 0.0
.text 2733538 2733538 0 0.0
tv-casting-app debug (read only) 5502833 5502833 0 0.0
(read/write) 160464 160464 0 0.0
.bss 51480 51480 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 100120 100120 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 344209 344209 0 0.0
.text 4887010 4887010 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454536 2454536 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1417180 1417180 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180799 1180799 0 0.0
bss 143745 143745 0 0.0
rodata 143360 143360 0 0.0
text 814736 814732 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159883 1159883 0 0.0
bss 142972 142972 0 0.0
rodata 134948 134948 0 0.0
text 803144 803144 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 881000 881000 0 0.0
(read/write) 1700996 1700996 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 149688 149688 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 2656 2656 0 0.0
.debug_abbrev 1217459 1217459 0 0.0
.debug_aranges 111544 111544 0 0.0
.debug_frame 372408 372408 0 0.0
.debug_info 26644547 26644547 0 0.0
.debug_line 3647169 3647169 0 0.0
.debug_loc 3562738 3562738 0 0.0
.debug_ranges 336664 336664 0 0.0
.debug_str 3394161 3394161 0 0.0
.heap 881000 881000 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 569346 569346 0 0.0
.symtab 420416 420416 0 0.0
.text 1540264 1540264 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 881736 881736 0 0.0
(read/write) 1644204 1644204 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 148952 148952 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 2656 2656 0 0.0
.debug_abbrev 1209298 1209298 0 0.0
.debug_aranges 111016 111016 0 0.0
.debug_frame 375488 375488 0 0.0
.debug_info 26381241 26381241 0 0.0
.debug_line 3667573 3667573 0 0.0
.debug_loc 3550375 3550375 0 0.0
.debug_ranges 335280 335280 0 0.0
.debug_str 3383150 3383150 0 0.0
.heap 881736 881736 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 533820 533820 0 0.0
.symtab 407008 407008 0 0.0
.text 1484208 1484208 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 890080 890080 0 0.0
(read/write) 1561436 1561436 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 140816 140816 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 2448 2448 0 0.0
.debug_abbrev 1043971 1043971 0 0.0
.debug_aranges 103184 103184 0 0.0
.debug_frame 345732 345732 0 0.0
.debug_info 21845799 21845797 -2 -0.0
.debug_line 3238757 3238757 0 0.0
.debug_loc 3249995 3249995 0 0.0
.debug_ranges 301120 301120 0 0.0
.debug_str 3189244 3189244 0 0.0
.heap 890080 890080 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 467101 467101 0 0.0
.symtab 374064 374064 0 0.0
.text 1409784 1409784 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 885584 885584 0 0.0
(read/write) 1598724 1598724 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 145296 145296 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 2464 2464 0 0.0
.debug_abbrev 1051147 1051147 0 0.0
.debug_aranges 103856 103856 0 0.0
.debug_frame 348556 348556 0 0.0
.debug_info 22200965 22200966 1 0.0
.debug_line 3247439 3247439 0 0.0
.debug_loc 3290071 3290071 0 0.0
.debug_ranges 304536 304536 0 0.0
.debug_str 3216675 3216675 0 0.0
.heap 885584 885584 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 473342 473342 0 0.0
.symtab 377248 377248 0 0.0
.text 1442576 1442576 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808744 808744 0 0.0
bss 71448 71448 0 0.0
noinit 43488 43488 0 0.0
text 571320 571320 0 0.0
lighting-app tlsr9518adk80d (read/write) 830680 830680 0 0.0
bss 72304 72304 0 0.0
noinit 43488 43488 0 0.0
text 589408 589410 2 0.0

@andy31415 andy31415 merged commit 27ca045 into project-chip:master Aug 23, 2022
@pankore pankore deleted the fix_nullptr_issue branch September 15, 2022 07:39
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
* [KVS] Add NULL pointer check for getPref_bin_new

Invalid read_bytes_size pointer could cause hard fault on getPref_bin_new function.

* [KVS] Pass in dummy_read_bytes when read_bytes is nullptr

* [Restyle] Fix styling

* [KVS] Add nullptr check after pvPortMalloc

* [Restyle] Fix style

Co-authored-by: Andrei Litvin <andy314@gmail.com>
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.

3 participants