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

Add missed code review comments #28626

Merged
merged 15 commits into from
Aug 10, 2023

Conversation

andy31415
Copy link
Contributor

I pushed to my own branch for #28524 (forgot I was updating a PR as maintainer) and mergify merged as soon as I resolved the comments :(

This is my branch with changes I was intending to add to that PR.

tennessee-google and others added 14 commits August 4, 2023 10:38
Problem:

- Removing KeySet index 0 is not allowed by spec, but SDK allowed it.
- Checking that we ran without accessing fabric is not done, so
  error is FAILURE instead of UNSUPPORTED_ACCESS.
- Fixes project-chip#28518

This PR:

- Adds the check and tests against removing fabric index zero
- Improves error reporting for several errors in the cluster
- Combines validation logic for accessing fabric that was missing

Testing:

- Added unit tests and integration tests for additions
  (except for the unsupported access that requires PASE to check)
@andy31415 andy31415 added the hotfix urgent fix needed, can bypass review label Aug 10, 2023
@github-actions github-actions bot added the app label Aug 10, 2023
@github-actions
Copy link

github-actions bot commented Aug 10, 2023

PR #28626: Size comparison from ceb14fd to 1a7649f

Increases (50 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ceb14fd 1a7649f change % change
bl602 lighting-app bl602 (read/write) 1364990 1365090 100 0.0
.text 1057832 1057842 10 0.0
bl602+rpc (read/write) 1412458 1412550 92 0.0
.text 1089764 1089776 12 0.0
bl702 lighting-app bl702 (read/write) 1168019 1168111 92 0.0
.debug_abbrev 1567409 1567425 16 0.0
.debug_line 5484861 5484885 24 0.0
.rodata 107112 107196 84 0.1
.text 954980 954988 8 0.0
bl702+rpc (read/write) 1266955 1267047 92 0.0
.debug_abbrev 1744539 1744555 16 0.0
.debug_line 5897383 5897407 24 0.0
.rodata 121764 121848 84 0.1
.text 1029662 1029672 10 0.0
bl702l lighting-app bl702l (read/write) 1153628 1153724 96 0.0
.debug_abbrev 1569628 1569644 16 0.0
.debug_line 5400555 5400579 24 0.0
.rodata 100996 101080 84 0.1
.text 943732 943742 10 0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 615850 615906 56 0.0
.debug_abbrev 962016 962032 16 0.0
.rodata 106402 106458 56 0.1
cyw30739 ota-requestor cyw930739m2evb_01 (read/write) 574271 574327 56 0.0
.app_xip_area 466641 466697 56 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1012228 1012316 88 0.0
.text 825032 825120 88 0.0
BRD4187C (read/write) 1036868 1036940 72 0.0
.text 869492 869564 72 0.0
window-app BRD4187C (read/write) 1108256 1108344 88 0.0
.text 957956 958044 88 0.0
esp32 all-clusters-app c3devkit (read/write) 1702284 1702364 80 0.0
.flash.rodata 266408 266488 80 0.0
m5stack (read only) 1192951 1192971 20 0.0
(read/write) 550486 550566 80 0.0
.flash.rodata 297392 297472 80 0.0
.flash.text 1187567 1187587 20 0.0
linux all-clusters-app debug (read only) 5517057 5517169 112 0.0
.rodata 336016 336080 64 0.0
.text 4803171 4803219 48 0.0
all-clusters-minimal-app debug (read only) 4901777 4901937 160 0.0
.rodata 272070 272166 96 0.0
.text 4399507 4399571 64 0.0
bridge-app debug (read only) 2769505 2769633 128 0.0
.rodata 214664 214728 64 0.0
.text 2377315 2377379 64 0.0
chip-tool debug (read only) 17605697 17605761 64 0.0
.rodata 900241 900305 64 0.0
lighting-app debug+rpc+ui (read only) 5240929 5241057 128 0.0
.rodata 337140 337204 64 0.0
.text 4661715 4661779 64 0.0
lock-app debug (read only) 4471937 4472097 160 0.0
.rodata 248006 248102 96 0.0
.text 4014579 4014643 64 0.0
ota-provider-app debug (read only) 4128121 4128249 128 0.0
.rodata 201190 201254 64 0.0
.text 3736611 3736675 64 0.0
ota-requestor-app debug (read only) 4222001 4222145 144 0.0
.rodata 204550 204646 96 0.0
.text 3822803 3822851 48 0.0
shell debug (read only) 2937961 2938089 128 0.0
.rodata 212402 212466 64 0.0
.text 2554594 2554658 64 0.0
thermostat-no-ble arm64 (read only) 4451140 4451300 160 0.0
.rodata 162172 162252 80 0.0
.text 3950888 3950968 80 0.0
tv-app debug (read only) 5316257 5316385 128 0.0
.rodata 272598 272662 64 0.0
.text 4800019 4800083 64 0.0
tv-casting-app debug (read only) 8295633 8295761 128 0.0
.rodata 367836 367900 64 0.0
.text 7527635 7527699 64 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2522360 2522440 80 0.0
.text 1485044 1485124 80 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1220280 1220332 52 0.0
rodata 141644 141696 52 0.0
text 845068 845072 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157196 1157248 52 0.0
rodata 112984 113036 52 0.0
text 810432 810436 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1768660 1768740 80 0.0
.debug_abbrev 1382412 1382428 16 0.0
.debug_loclists 2248842 2248862 20 0.0
.text 1564620 1564700 80 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1674420 1674508 88 0.0
.debug_abbrev 1285119 1285135 16 0.0
.debug_loclists 2149213 2149233 20 0.0
.text 1472340 1472428 88 0.0
light cy8ckit_062s2_43012 (read/write) 1605916 1606012 96 0.0
.debug_abbrev 1125342 1125358 16 0.0
.debug_loclists 1986328 1986348 20 0.0
.text 1410100 1410196 96 0.0
lock cy8ckit_062s2_43012 (read/write) 1639420 1639516 96 0.0
.debug_abbrev 1116806 1116822 16 0.0
.debug_loclists 1966737 1966757 20 0.0
.text 1416084 1416180 96 0.0
qpg lighting-app qpg6105+debug (read/write) 1178300 1178348 48 0.0
.text 625144 625192 48 0.0
lock-app qpg6105+debug (read/write) 1135364 1135420 56 0.0
.text 582204 582260 56 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1072216 1072268 52 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 977332 977384 52 0.0
bridge-app tlsr9518adk80d (read/write) 944732 944784 52 0.0
contact-sensor-app tlsr9518adk80d (read/write) 876688 876740 52 0.0
light-switch-app tlsr9518adk80d (read/write) 908000 908052 52 0.0
lighting-app tlsr9518adk80d (read/write) 982980 983032 52 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 994344 994404 60 0.0
text 693608 693610 2 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1052512 1052564 52 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1083840 1083884 44 0.0
lock-app tlsr9518adk80d (read/write) 934140 934192 52 0.0
ota-requestor-app tlsr9518adk80d (read/write) 899268 899320 52 0.0
pump-app tlsr9518adk80d (read/write) 882088 882140 52 0.0
pump-controller-app tlsr9518adk80d (read/write) 869268 869320 52 0.0
smoke_co_alarm-app tlsr9518adk80d (read/write) 879172 879224 52 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 865448 865492 44 0.0
thermostat tlsr9518adk80d (read/write) 911280 911324 44 0.0
window-covering tlsr9518adk80d (read/write) 907060 907120 60 0.0
text 617076 617080 4 0.0
Decreases (16 builds for bl702, bl702l, cc32xx, psoc6, telink)
platform target config section ceb14fd 1a7649f change % change
bl702 lighting-app bl702 .debug_info 41507734 41507683 -51 -0.0
.debug_loc 3565156 3565126 -30 -0.0
.debug_ranges 384536 384504 -32 -0.0
bl702+rpc .debug_info 46402432 46402382 -50 -0.0
.debug_loc 3771312 3771282 -30 -0.0
.debug_ranges 410288 410256 -32 -0.0
bl702l lighting-app bl702l .debug_info 4150884 41508793 -50 -0.0
.debug_loc 3501281 3501265 -16 -0.0
.debug_ranges 389744 389712 -32 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19421763 19421692 -71 -0.0
.debug_line 2814056 2814036 -20 -0.0
.debug_loclists 1597099 1597077 -22 -0.0
.debug_rnglists 100578 100566 -12 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 30260994 30260941 -53 -0.0
.debug_line 4150206 4150198 -8 -0.0
.debug_rnglists 142386 142374 -12 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27229017 27228965 -52 -0.0
.debug_line 3961346 3961338 -8 -0.0
.debug_rnglists 135486 135474 -12 -0.0
light cy8ckit_062s2_43012 .debug_info 22371357 22371304 -53 -0.0
.debug_line 3526651 3526643 -8 -0.0
.debug_rnglists 125256 125244 -12 -0.0
lock cy8ckit_062s2_43012 .debug_info 22284908 22284855 -53 -0.0
.debug_line 3482102 3482094 -8 -0.0
.debug_rnglists 123432 123420 -12 -0.0
telink all-clusters-app tlsr9518adk80d text 730716 730714 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d text 670088 670086 -2 -0.0
bridge-app tlsr9518adk80d text 647340 647338 -2 -0.0
lighting-app-shell tlsr9518adk80d text 751130 751128 -2 -0.0
pump-app tlsr9518adk80d text 596334 596330 -4 -0.0
pump-controller-app tlsr9518adk80d text 586798 586794 -4 -0.0
temperature-measurement-app tlsr9518adk80d text 582442 582440 -2 -0.0
thermostat tlsr9518adk80d text 621770 621768 -2 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ceb14fd 1a7649f change % change
bl602 lighting-app bl602 (read/write) 1364990 1365090 100 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057832 1057842 10 0.0
bl602+rpc (read/write) 1412458 1412550 92 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089764 1089776 12 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168019 1168111 92 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567409 1567425 16 0.0
.debug_aranges 140400 140400 0 0.0
.debug_frame 516636 516636 0 0.0
.debug_info 41507734 41507683 -51 -0.0
.debug_line 5484861 5484885 24 0.0
.debug_loc 3565156 3565126 -30 -0.0
.debug_ranges 384536 384504 -32 -0.0
.debug_str 4012456 4012456 0 0.0
.hbn 544 544 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 107112 107196 84 0.1
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589680 589680 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
954980 954988 8 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1266955 1267047 92 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744539 1744555 16 0.0
.debug_aranges 148944 148944 0 0.0
.debug_frame 545540 545540 0 0.0
.debug_info 46402432 46402382 -50 -0.0
.debug_line 5897383 5897407 24 0.0
.debug_loc 3771312 3771282 -30 -0.0
.debug_ranges 410288 410256 -32 -0.0
.debug_str 4432321 4432321 0 0.0
.hbn 544 544 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 121764 121848 84 0.1
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652643 652643 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029662 1029672 10 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153628 1153724 96 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569628 1569644 16 0.0
.debug_aranges 134904 134904 0 0.0
.debug_frame 496324 496324 0 0.0
.debug_info 4150884 41508793 -50 -0.0
.debug_line 5400555 5400579 24 0.0
.debug_loc 3501281 3501265 -16 -0.0
.debug_ranges 389744 389712 -32 -0.0
.debug_str 4024925 4024925 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100996 101080 84 0.1
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589895 589895 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943732 943742 10 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615850 615906 56 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 962016 962032 16 0.0
.debug_aranges 109056 109056 0 0.0
.debug_frame 369852 369852 0 0.0
.debug_info 19421763 19421692 -71 -0.0
.debug_line 2814056 2814036 -20 -0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1597099 1597077 -22 -0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100578 100566 -12 -0.0
.debug_str 3427071 3427071 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106402 106458 56 0.1
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496459 496459 0 0.0
.symtab 293440 293440 0 0.0
.text 507328 507328 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550567 550567 0 0.0
.app_xip_area 441857 441857 0 0.0
.bss 63728 63728 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 537663 537663 0 0.0
.app_xip_area 423905 423905 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574271 574327 56 0.0
.app_xip_area 466641 466697 56 0.0
.bss 62720 62720 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 549319 549319 0 0.0
.app_xip_area 438681 438681 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1012228 1012316 88 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 825032 825120 88 0.0
BRD4187C (read/write) 1036868 1036940 72 0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869492 869564 72 0.0
lock-app BRD4161A+wf200 (read/write) 1089120 1089120 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 907848 907848 0 0.0
window-app BRD4187C (read/write) 1108256 1108344 88 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 957956 958044 88 0.0
esp32 all-clusters-app c3devkit (read only) 1151282 1151282 0 0.0
(read/write) 1702284 1702364 80 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266408 266488 80 0.0
.flash.text 1151282 1151282 0 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1192951 1192971 20 0.0
(read/write) 550486 550566 80 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297392 297472 80 0.0
.flash.text 1187567 1187587 20 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 590932 590932 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590396 590396 0 0.0
light k32w0+release (read only) 589732 589732 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589196 589196 0 0.0
lock k32w0+release (read only) 562068 562068 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561532 561532 0 0.0
linux all-clusters-app debug (read only) 5517057 5517169 112 0.0
(read/write) 418144 418144 0 0.0
.bss 130464 130464 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276320 276320 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 336016 336080 64 0.0
.text 4803171 4803219 48 0.0
all-clusters-minimal-app debug (read only) 4901777 4901937 160 0.0
(read/write) 231392 231392 0 0.0
.bss 126016 126016 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 94376 94376 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272070 272166 96 0.0
.text 4399507 4399571 64 0.0
bridge-app debug (read only) 2769505 2769633 128 0.0
(read/write) 132816 132816 0 0.0
.bss 51480 51480 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71400 71400 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214664 214728 64 0.0
.text 2377315 2377379 64 0.0
chip-tool debug (read only) 17605697 17605761 64 0.0
(read/write) 1046144 1046144 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 939952 939952 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 900241 900305 64 0.0
.text 14672051 14672051 0 0.0
chip-tool-ipv6only arm64 (read only) 16838852 16838852 0 0.0
(read/write) 1113528 1113528 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 977304 977304 0 0.0
.dynamic 512 512 0 0.0
.got 23272 23272 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 812400 812400 0 0.0
.text 13808520 13808520 0 0.0
lighting-app debug+rpc+ui (read only) 5240929 5241057 128 0.0
(read/write) 222056 222056 0 0.0
.bss 117712 117712 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92240 92240 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337140 337204 64 0.0
.text 4661715 4661779 64 0.0
lock-app debug (read only) 4471937 4472097 160 0.0
(read/write) 202808 202808 0 0.0
.bss 113328 113328 0 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78960 78960 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248006 248102 96 0.0
.text 4014579 4014643 64 0.0
ota-provider-app debug (read only) 4128121 4128249 128 0.0
(read/write) 191872 191872 0 0.0
.bss 113504 113504 0 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201190 201254 64 0.0
.text 3736611 3736675 64 0.0
ota-requestor-app debug (read only) 4222001 4222145 144 0.0
(read/write) 196184 196184 0 0.0
.bss 114560 114560 0 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204550 204646 96 0.0
.text 3822803 3822851 48 0.0
shell debug (read only) 2937961 2938089 128 0.0
(read/write) 150720 150720 0 0.0
.bss 60008 60008 0 0.0
.data 784 784 0 0.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212402 212466 64 0.0
.text 2554594 2554658 64 0.0
thermostat-no-ble arm64 (read only) 4451140 4451300 160 0.0
(read/write) 243848 243848 0 0.0
.bss 122280 122280 0 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162172 162252 80 0.0
.text 3950888 3950968 80 0.0
tv-app debug (read only) 5316257 5316385 128 0.0
(read/write) 349856 349856 0 0.0
.bss 241280 241280 0 0.0
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272598 272662 64 0.0
.text 4800019 4800083 64 0.0
tv-casting-app debug (read only) 8295633 8295761 128 0.0
(read/write) 210568 210568 0 0.0
.bss 54208 54208 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367836 367900 64 0.0
.text 7527635 7527699 64 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522360 2522440 80 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485044 1485124 80 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220280 1220332 52 0.0
bss 154612 154612 0 0.0
rodata 141644 141696 52 0.0
text 845068 845072 4 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1338544 1338544 0 0.0
bss 140070 140070 0 0.0
rodata 135688 135688 0 0.0
text 772100 772100 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157196 1157248 52 0.0
bss 154791 154791 0 0.0
rodata 112984 113036 52 0.0
text 810432 810436 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768660 1768740 80 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 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 2536 2536 0 0.0
.debug_abbrev 1382412 1382428 16 0.0
.debug_aranges 143944 143944 0 0.0
.debug_frame 479448 479448 0 0.0
.debug_info 30260994 30260941 -53 -0.0
.debug_line 4150206 4150198 -8 -0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2248842 2248862 20 0.0
.debug_rnglists 142386 142374 -12 -0.0
.debug_str 4124872 4124872 0 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 806017 806017 0 0.0
.symtab 501808 501808 0 0.0
.text 0 0 0 0.0
1564620 1564700 80 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674420 1674508 88 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 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 1285119 1285135 16 0.0
.debug_aranges 137208 137208 0 0.0
.debug_frame 462396 462396 0 0.0
.debug_info 27229017 27228965 -52 -0.0
.debug_line 3961346 3961338 -8 -0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2149213 2149233 20 0.0
.debug_rnglists 135486 135474 -12 -0.0
.debug_str 3979293 3979293 0 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713468 713468 0 0.0
.symtab 465936 465936 0 0.0
.text 1472340 1472428 88 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1605916 1606012 96 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 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 2352 2352 0 0.0
.debug_abbrev 1125342 1125358 16 0.0
.debug_aranges 127336 127336 0 0.0
.debug_frame 425540 425540 0 0.0
.debug_info 22371357 22371304 -53 -0.0
.debug_line 3526651 3526643 -8 -0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986328 1986348 20 0.0
.debug_rnglists 125256 125244 -12 -0.0
.debug_str 3787365 3787365 0 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634460 634460 0 0.0
.symtab 430576 430576 0 0.0
.text 1410100 1410196 96 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639420 1639516 96 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 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 2368 2368 0 0.0
.debug_abbrev 1116806 1116822 16 0.0
.debug_aranges 126248 126248 0 0.0
.debug_frame 421568 421568 0 0.0
.debug_info 22284908 22284855 -53 -0.0
.debug_line 3482102 3482094 -8 -0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1966737 1966757 20 0.0
.debug_rnglists 123432 123420 -12 -0.0
.debug_str 3751903 3751903 0 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608360 608360 0 0.0
.symtab 422704 422704 0 0.0
.text 1416084 1416180 96 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178300 1178348 48 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625144 625192 48 0.0
lock-app qpg6105+debug (read/write) 1135364 1135420 56 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582204 582260 56 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072216 1072268 52 0.0
bss 107308 107308 0 0.0
text 730716 730714 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977332 977384 52 0.0
bss 105284 105284 0 0.0
text 670088 670086 -2 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944732 944784 52 0.0
bss 109660 109660 0 0.0
text 647340 647338 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876688 876740 52 0.0
bss 98840 98840 0 0.0
text 590726 590726 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 908000 908052 52 0.0
bss 99464 99464 0 0.0
text 618462 618462 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 982980 983032 52 0.0
bss 107516 107516 0 0.0
text 686092 686092 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994344 994404 60 0.0
bss 111764 111764 0 0.0
text 693608 693610 2 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052512 1052564 52 0.0
bss 109088 109088 0 0.0
text 731024 731024 0 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1083840 1083884 44 0.0
bss 120164 120164 0 0.0
text 751130 751128 -2 -0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934140 934192 52 0.0
bss 99560 99560 0 0.0
text 621402 621402 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899268 899320 52 0.0
bss 100148 100148 0 0.0
text 612570 612570 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882088 882140 52 0.0
bss 98972 98972 0 0.0
text 596334 596330 -4 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869268 869320 52 0.0
bss 98772 98772 0 0.0
text 586798 586794 -4 -0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744196 0 0.0
bss 97208 97208 0 0.0
text 478658 478658 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879172 879224 52 0.0
bss 98952 98952 0 0.0
text 594204 594204 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865448 865492 44 0.0
bss 98680 98680 0 0.0
text 582442 582440 -2 -0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911280 911324 44 0.0
bss 99224 99224 0 0.0
text 621770 621768 -2 -0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907060 907120 60 0.0
bss 99560 99560 0 0.0
text 617076 617080 4 0.0

@andy31415 andy31415 merged commit ba490f6 into project-chip:master Aug 10, 2023
48 checks passed
abpoth pushed a commit to abpoth/connectedhomeip that referenced this pull request Aug 15, 2023
* Fix KeySetRemove to fail on key set index 0

Problem:

- Removing KeySet index 0 is not allowed by spec, but SDK allowed it.
- Checking that we ran without accessing fabric is not done, so
  error is FAILURE instead of UNSUPPORTED_ACCESS.
- Fixes project-chip#28518

This PR:

- Adds the check and tests against removing fabric index zero
- Improves error reporting for several errors in the cluster
- Combines validation logic for accessing fabric that was missing

Testing:

- Added unit tests and integration tests for additions
  (except for the unsupported access that requires PASE to check)

* Regen tests with ZAP

* Restyled by clang-format

* Remove explicit check for undefined fabric index

* Fix build

* Rename ValidateAndGetProviderAndFabric to just GetProviderAndFabric

* Added back cleanup for VerifyOrDie argument checking

* Restyle

* Update based on code review comments

* Remove two more flight check comments

* Restyle

* Fix merge error

---------

Co-authored-by: tennessee.carmelveilleux@gmail.com <tennessee@google.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
s07641069 pushed a commit to s07641069/connectedhomeip that referenced this pull request Aug 22, 2023
* Fix KeySetRemove to fail on key set index 0

Problem:

- Removing KeySet index 0 is not allowed by spec, but SDK allowed it.
- Checking that we ran without accessing fabric is not done, so
  error is FAILURE instead of UNSUPPORTED_ACCESS.
- Fixes project-chip#28518

This PR:

- Adds the check and tests against removing fabric index zero
- Improves error reporting for several errors in the cluster
- Combines validation logic for accessing fabric that was missing

Testing:

- Added unit tests and integration tests for additions
  (except for the unsupported access that requires PASE to check)

* Regen tests with ZAP

* Restyled by clang-format

* Remove explicit check for undefined fabric index

* Fix build

* Rename ValidateAndGetProviderAndFabric to just GetProviderAndFabric

* Added back cleanup for VerifyOrDie argument checking

* Restyle

* Update based on code review comments

* Remove two more flight check comments

* Restyle

* Fix merge error

---------

Co-authored-by: tennessee.carmelveilleux@gmail.com <tennessee@google.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app hotfix urgent fix needed, can bypass review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants