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

Make ReadClient::Callback non-movable #29191

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

mspang
Copy link
Contributor

@mspang mspang commented Sep 12, 2023

The purpose of this interface is be called polymorphically through a pointer. Moving it will invalidate the original instance and is very likely to be a bug.

Make this type non-movable; this will fail compilation if a derived class is stored in an inappropriate container that moves its elements.

As an example, ClusterStateCache is also currently movable, but moving it retains a pointer to the moved-from instance via mBufferedReader, so any further usage is likely to result in a invalid memory access.

@github-actions github-actions bot added the app label Sep 12, 2023
@mspang mspang force-pushed the for-chip/non-movable branch from cf60cb8 to 9e333f4 Compare September 12, 2023 18:37
The purpose of this interface is be called polymorphically through a
pointer. Moving it will invalidate the original instance and is very
likely to be a bug.

Make this type non-movable; this will fail compilation if a derived
class is stored in an inappropriate container that moves its elements.

As an example, ClusterStateCache is also currently movable, but moving
it retains a pointer to the moved-from instance via mBufferedReader, so
any further usage is likely to result in a invalid memory access.
@github-actions
Copy link

github-actions bot commented Sep 12, 2023

PR #29191: Size comparison from 4442906 to fcb4f0b

Increases (7 builds for bl702, cc32xx, psoc6)
platform target config section 4442906 fcb4f0b change % change
bl702 lighting-app bl706-eth .debug_loc 3022262 3022304 42 0.0
bl706-wifi .debug_loc 3106405 3106432 27 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_abbrev 966876 966877 1 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1425528 1425591 63 0.0
.debug_info 33722220 33722674 454 0.0
.debug_str 4539757 4540094 337 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1290839 1290840 1 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1130664 1130665 1 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1121628 1121629 1 0.0
Decreases (17 builds for bl702, bl702l, cc32xx, efr32, linux, psoc6)
platform target config section 4442906 fcb4f0b change % change
bl702 lighting-app bl702 .debug_abbrev 1576743 1576721 -22 -0.0
.debug_info 42318983 42318974 -9 -0.0
.debug_line 5466228 5466224 -4 -0.0
.debug_loc 3524343 3524329 -14 -0.0
.debug_str 3958260 3958218 -42 -0.0
bl702+rpc .debug_abbrev 1753557 1753535 -22 -0.0
.debug_info 47228426 47228417 -9 -0.0
.debug_line 5873967 5873963 -4 -0.0
.debug_loc 3729384 3729370 -14 -0.0
.debug_str 4379025 4378983 -42 -0.0
bl706-eth .debug_abbrev 1114820 1114798 -22 -0.0
.debug_info 23313050 23313041 -9 -0.0
.debug_line 4410455 4410451 -4 -0.0
.debug_str 3528218 3528176 -42 -0.0
bl706-wifi .debug_abbrev 1207661 1207639 -22 -0.0
.debug_info 24478764 24478755 -9 -0.0
.debug_line 4631741 4631737 -4 -0.0
.debug_str 3589619 3589577 -42 -0.0
bl702l lighting-app bl702l .debug_abbrev 1579111 1579089 -22 -0.0
.debug_info 42325788 42325779 -9 -0.0
.debug_line 5382474 5382470 -4 -0.0
.debug_loc 3460124 3460111 -13 -0.0
.debug_str 3970706 3970664 -42 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 21280846 21280707 -139 -0.0
.debug_line 2799230 2799215 -15 -0.0
.debug_loclists 1569906 1569879 -27 -0.0
.debug_str 3371166 3371124 -42 -0.0
efr32 lighting-app BRD4187C (read/write) 1079212 1079204 -8 -0.0
.text 889928 889920 -8 -0.0
linux all-clusters-app debug (read only) 5651041 5650993 -48 -0.0
.text 4930067 4930019 -48 -0.0
chip-tool debug (read only) 10346817 10346769 -48 -0.0
.text 9361011 9360963 -48 -0.0
chip-tool-ipv6only arm64 (read only) 10185868 10185820 -48 -0.0
.text 9104184 9104136 -48 -0.0
shell debug (read only) 3051393 3051345 -48 -0.0
.text 2662290 2662242 -48 -0.0
tv-app debug (read only) 5321313 5321265 -48 -0.0
.text 4804339 4804291 -48 -0.0
tv-casting-app debug (read only) 8293545 8293497 -48 -0.0
.text 7553603 7553555 -48 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_line 4248877 4248854 -23 -0.0
.debug_loclists 2307990 2307975 -15 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 29341460 29341321 -139 -0.0
.debug_line 3950399 3950384 -15 -0.0
.debug_loclists 2123252 2123226 -26 -0.0
.debug_str 3925416 3925374 -42 -0.0
light cy8ckit_062s2_43012 .debug_info 24384551 24384412 -139 -0.0
.debug_line 3514836 3514821 -15 -0.0
.debug_loclists 1960035 1960009 -26 -0.0
.debug_str 3732659 3732617 -42 -0.0
lock cy8ckit_062s2_43012 .debug_info 2419494 24194801 -139 -0.0
.debug_line 3467853 3467838 -15 -0.0
.debug_loclists 1938541 1938515 -26 -0.0
.debug_str 3696048 3696006 -42 -0.0
Full report (65 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 4442906 fcb4f0b change % change
bl602 lighting-app bl602 (read/write) 1365478 1365478 0 0.0
.bss 73446 73446 0 0.0
.data 9600 9600 0 0.0
.text 1058534 1058534 0 0.0
bl602+rpc (read/write) 1412618 1412618 0 0.0
.bss 81486 81486 0 0.0
.data 9952 9952 0 0.0
.text 1090212 1090212 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168559 1168559 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41301 41301 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 3584 3584 0 0.0
.debug_abbrev 1576743 1576721 -22 -0.0
.debug_aranges 138224 138224 0 0.0
.debug_frame 508112 508112 0 0.0
.debug_info 42318983 42318974 -9 -0.0
.debug_line 5466228 5466224 -4 -0.0
.debug_loc 3524343 3524329 -14 -0.0
.debug_ranges 380848 380848 0 0.0
.debug_str 3958260 3958218 -42 -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 107036 107036 0 0.0
.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 590904 590904 0 0.0
.symtab 176064 176064 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955668 955668 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265379 1265379 0 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 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1753557 1753535 -22 -0.0
.debug_aranges 146816 146816 0 0.0
.debug_frame 537196 537196 0 0.0
.debug_info 47228426 47228417 -9 -0.0
.debug_line 5873967 5873963 -4 -0.0
.debug_loc 3729384 3729370 -14 -0.0
.debug_ranges 406688 406688 0 0.0
.debug_str 4379025 4378983 -42 -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 121908 121908 0 0.0
.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 655065 655065 0 0.0
.symtab 195248 195248 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028118 1028118 0 0.0
bl706-eth (read/write) 1014668 1014668 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25586 25586 0 0.0
.bss_psram 94415 94415 0 0.0
.comment 48 48 0 0.0
.data 3304 3304 0 0.0
.debug_abbrev 1114820 1114798 -22 -0.0
.debug_aranges 114360 114360 0 0.0
.debug_frame 424672 424672 0 0.0
.debug_info 23313050 23313041 -9 -0.0
.debug_line 4410455 4410451 -4 -0.0
.debug_loc 3022262 3022304 42 0.0
.debug_ranges 317536 317536 0 0.0
.debug_str 3528218 3528176 -42 -0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 97232 97232 0 0.0
.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 455889 455889 0 0.0
.symtab 138032 138032 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
773724 773724 0 0.0
bl706-wifi (read/write) 1086883 1086883 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9981 9981 0 0.0
.bss_psram 95151 95151 0 0.0
.comment 48 48 0 0.0
.data 3624 3624 0 0.0
.debug_abbrev 1207661 1207639 -22 -0.0
.debug_aranges 118624 118624 0 0.0
.debug_frame 440124 440124 0 0.0
.debug_info 24478764 24478755 -9 -0.0
.debug_line 4631741 4631737 -4 -0.0
.debug_loc 3106405 3106432 27 0.0
.debug_ranges 326432 326432 0 0.0
.debug_str 3589619 3589577 -42 -0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109508 109508 0 0.0
.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 492654 492654 0 0.0
.symtab 150544 150544 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3402 3402 0 0.0
.text 0 0 0 0.0
847474 847474 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153788 1153788 0 0.0
.boot2 292 292 0 0.0
.bss 16004 16004 0 0.0
.bss_psram 77648 77648 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1579111 1579089 -22 -0.0
.debug_aranges 132744 132744 0 0.0
.debug_frame 487828 487828 0 0.0
.debug_info 42325788 42325779 -9 -0.0
.debug_line 5382474 5382470 -4 -0.0
.debug_loc 3460124 3460111 -13 -0.0
.debug_ranges 386168 386168 0 0.0
.debug_str 3970706 3970664 -42 -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 100900 100900 0 0.0
.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 591098 591098 0 0.0
.symtab 175600 175600 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944162 944162 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 735131 735131 0 0.0
(read/write) 166664 166664 0 0.0
.bss 89076 89076 0 0.0
.data 3424 3424 0 0.0
.rodata 84535 84535 0 0.0
.text 650208 650208 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 756483 756483 0 0.0
(read/write) 177056 177056 0 0.0
.bss 99436 99436 0 0.0
.data 3440 3440 0 0.0
.rodata 80015 80015 0 0.0
.text 676076 676076 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 744355 744355 0 0.0
(read/write) 171528 171528 0 0.0
.bss 93908 93908 0 0.0
.data 3440 3440 0 0.0
.rodata 106263 106263 0 0.0
.text 637704 637704 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 694803 694803 0 0.0
(read/write) 165900 165900 0 0.0
.bss 88080 88080 0 0.0
.data 3412 3412 0 0.0
.rodata 80423 80423 0 0.0
.text 613988 613988 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 680387 680387 0 0.0
(read/write) 166032 166032 0 0.0
.bss 88224 88224 0 0.0
.data 3408 3408 0 0.0
.rodata 76263 76263 0 0.0
.text 603732 603732 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617170 617170 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966876 966877 1 0.0
.debug_aranges 106864 106864 0 0.0
.debug_frame 361452 361452 0 0.0
.debug_info 21280846 21280707 -139 -0.0
.debug_line 2799230 2799215 -15 -0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1569906 1569879 -27 -0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 99031 99031 0 0.0
.debug_str 3371166 3371124 -42 -0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499912 499912 0 0.0
.symtab 294240 294240 0 0.0
.text 508540 508540 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 553087 553087 0 0.0
.app_xip_area 444105 444105 0 0.0
.bss 63952 63952 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) 539543 539543 0 0.0
.app_xip_area 425625 425625 0 0.0
.bss 68856 68856 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) 574895 574895 0 0.0
.app_xip_area 467113 467113 0 0.0
.bss 62824 62824 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) 558655 558655 0 0.0
.app_xip_area 447665 447665 0 0.0
.bss 65936 65936 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) 1005276 1005276 0 0.0
.bss 172132 172132 0 0.0
.data 2668 2668 0 0.0
.text 830456 830456 0 0.0
BRD4187C (read/write) 1079212 1079204 -8 -0.0
.bss 186008 186008 0 0.0
.data 3256 3256 0 0.0
.text 889928 889920 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1103124 1103124 0 0.0
.bss 186956 186956 0 0.0
.data 2684 2684 0 0.0
.text 913464 913464 0 0.0
window-app BRD4187C (read/write) 1128120 1128120 0 0.0
.bss 168768 168768 0 0.0
.data 3132 3132 0 0.0
.text 956200 956200 0 0.0
esp32 all-clusters-app c3devkit (read only) 1173194 1173194 0 0.0
(read/write) 1703852 1703852 0 0.0
.dram0.bss 79056 79056 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268800 268800 0 0.0
.flash.text 1173194 1173194 0 0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1214051 1214051 0 0.0
(read/write) 553322 553322 0 0.0
.dram0.bss 85672 85672 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 299996 299996 0 0.0
.flash.text 1208667 1208667 0 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 590060 590060 0 0.0
(read/write) 87920 87920 0 0.0
.bss 71168 71168 0 0.0
.data 2128 2128 0 0.0
.text 589524 589524 0 0.0
light k32w0+release (read only) 589884 589884 0 0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589348 589348 0 0.0
lock k32w0+release (read only) 561220 561220 0 0.0
(read/write) 85372 85372 0 0.0
.bss 68688 68688 0 0.0
.data 2060 2060 0 0.0
.text 560684 560684 0 0.0
linux all-clusters-app debug (read only) 5651041 5650993 -48 -0.0
(read/write) 420616 420616 0 0.0
.bss 130400 130400 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 278808 278808 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339412 339412 0 0.0
.text 4930067 4930019 -48 -0.0
all-clusters-minimal-app debug (read only) 4915577 4915577 0 0.0
(read/write) 232352 232352 0 0.0
.bss 126336 126336 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 95024 95024 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 272552 272552 0 0.0
.text 4412275 4412275 0 0.0
bridge-app debug (read only) 2772633 2772633 0 0.0
(read/write) 133136 133136 0 0.0
.bss 51768 51768 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 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 214504 214504 0 0.0
.text 2380483 2380483 0 0.0
chip-tool debug (read only) 10346817 10346769 -48 -0.0
(read/write) 442744 442744 0 0.0
.bss 93688 93688 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 336720 336720 0 0.0
.dynamic 624 624 0 0.0
.got 5808 5808 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388977 388977 0 0.0
.text 9361011 9360963 -48 -0.0
chip-tool-ipv6only arm64 (read only) 10185868 10185820 -48 -0.0
(read/write) 505192 505192 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 374080 374080 0 0.0
.dynamic 512 512 0 0.0
.got 18208 18208 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316296 316296 0 0.0
.text 9104184 9104136 -48 -0.0
lighting-app debug+rpc+ui (read only) 5247481 5247481 0 0.0
(read/write) 222504 222504 0 0.0
.bss 118032 118032 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92376 92376 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 336820 336820 0 0.0
.text 4668227 4668227 0 0.0
lock-app debug (read only) 4479025 4479025 0 0.0
(read/write) 203096 203096 0 0.0
.bss 113456 113456 0 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 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 248456 248456 0 0.0
.text 4021075 4021075 0 0.0
ota-provider-app debug (read only) 4130465 4130465 0 0.0
(read/write) 192032 192032 0 0.0
.bss 113600 113600 0 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68480 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 201128 201128 0 0.0
.text 3738899 3738899 0 0.0
ota-requestor-app debug (read only) 4223945 4223945 0 0.0
(read/write) 196344 196344 0 0.0
.bss 114656 114656 0 0.0
.data 4272 4272 0 0.0
.data.rel.ro 71480 71480 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 204456 204456 0 0.0
.text 3824723 3824723 0 0.0
shell debug (read only) 3051393 3051345 -48 -0.0
(read/write) 153520 153520 0 0.0
.bss 60808 60808 0 0.0
.data 784 784 0 0.0
.data.rel.ro 85992 85992 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 214610 214610 0 0.0
.text 2662290 2662242 -48 -0.0
thermostat-no-ble arm64 (read only) 4358124 4358124 0 0.0
(read/write) 241896 241896 0 0.0
.bss 122200 122200 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100512 100512 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11824 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161236 161236 0 0.0
.text 3862824 3862824 0 0.0
tv-app debug (read only) 5321313 5321265 -48 -0.0
(read/write) 350824 350824 0 0.0
.bss 242016 242016 0 0.0
.data 5136 5136 0 0.0
.data.rel.ro 96256 96256 0 0.0
.dynamic 624 624 0 0.0
.got 5608 5608 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272920 272920 0 0.0
.text 4804339 4804291 -48 -0.0
tv-casting-app debug (read only) 8293545 8293497 -48 -0.0
(read/write) 211640 211640 0 0.0
.bss 54720 54720 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147576 147576 0 0.0
.dynamic 624 624 0 0.0
.got 5080 5080 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 338524 338524 0 0.0
.text 7553603 7553555 -48 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219416 219416 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1241316 1241316 0 0.0
bss 155438 155438 0 0.0
rodata 143144 143144 0 0.0
text 863684 863684 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1359540 1359540 0 0.0
bss 140904 140904 0 0.0
rodata 136988 136988 0 0.0
text 790948 790948 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1161192 1161192 0 0.0
bss 154836 154836 0 0.0
rodata 113796 113796 0 0.0
text 813608 813608 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837184 837184 0 0.0
(read/write) 1794180 1794180 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193604 193604 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 2552 2552 0 0.0
.debug_abbrev 1425528 1425591 63 0.0
.debug_aranges 145424 145424 0 0.0
.debug_frame 483772 483772 0 0.0
.debug_info 33722220 33722674 454 0.0
.debug_line 4248877 4248854 -23 -0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2307990 2307975 -15 -0.0
.debug_rnglists 144627 144627 0 0.0
.debug_str 4539757 4540094 337 0.0
.heap 837184 837184 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 852092 852092 0 0.0
.symtab 515712 515712 0 0.0
.text 1589636 1589636 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839944 839944 0 0.0
(read/write) 1678772 1678772 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190932 190932 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 1290839 1290840 1 0.0
.debug_aranges 135144 135144 0 0.0
.debug_frame 454856 454856 0 0.0
.debug_info 29341460 29341321 -139 -0.0
.debug_line 3950399 3950384 -15 -0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2123252 2123226 -26 -0.0
.debug_rnglists 134084 134084 0 0.0
.debug_str 3925416 3925374 -42 -0.0
.heap 839944 839944 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 719967 719967 0 0.0
.symtab 467744 467744 0 0.0
.text 1476988 1476988 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846280 846280 0 0.0
(read/write) 1607084 1607084 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184708 184708 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 1130664 1130665 1 0.0
.debug_aranges 125240 125240 0 0.0
.debug_frame 417900 417900 0 0.0
.debug_info 24384551 24384412 -139 -0.0
.debug_line 3514836 3514821 -15 -0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1960035 1960009 -26 -0.0
.debug_rnglists 123781 123781 0 0.0
.debug_str 3732659 3732617 -42 -0.0
.heap 846280 846280 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 637532 637532 0 0.0
.symtab 431280 431280 0 0.0
.text 1411636 1411636 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1640356 1640356 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 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 1121628 1121629 1 0.0
.debug_aranges 124048 124048 0 0.0
.debug_frame 413552 413552 0 0.0
.debug_info 2419494 24194801 -139 -0.0
.debug_line 3467853 3467838 -15 -0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1938541 1938515 -26 -0.0
.debug_rnglists 121877 121877 0 0.0
.debug_str 3696048 3696006 -42 -0.0
.heap 818880 818880 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 611607 611607 0 0.0
.symtab 423328 423328 0 0.0
.text 1417508 1417508 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177980 1177980 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624824 624824 0 0.0
lock-app qpg6105+debug (read/write) 1134228 1134228 0 0.0
.bss 95728 95728 0 0.0
.data 748 748 0 0.0
.text 581068 581068 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1100528 1100528 0 0.0
bss 112252 112252 0 0.0
text 753348 753348 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1038036 1038036 0 0.0
bss 110032 110032 0 0.0
text 704416 704416 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 948896 948896 0 0.0
bss 113748 113748 0 0.0
text 648306 648306 0 0.0
contact-sensor-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 931948 931948 0 0.0
bss 103372 103372 0 0.0
text 620804 620804 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 925856 925856 0 0.0
bss 103616 103616 0 0.0
text 632376 632376 0 0.0
lighting-app-rpc-shell-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 999472 999472 0 0.0
bss 115848 115848 0 0.0
text 695486 695486 0 0.0
tlsr9528a (read only) 4 4 0 0.0
(read/write) 1051820 1051820 0 0.0
bss 116452 116452 0 0.0
text 725480 725480 0 0.0
lock-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 990028 990028 0 0.0
bss 104092 104092 0 0.0
text 651950 651950 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 903584 903584 0 0.0
bss 104108 104108 0 0.0
text 613730 613730 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 937388 937388 0 0.0
bss 103504 103504 0 0.0
text 626450 626450 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 872084 872084 0 0.0
bss 102708 102708 0 0.0
text 586756 586756 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 748852 748852 0 0.0
bss 101572 101572 0 0.0
text 479376 479376 0 0.0
smoke_co_alarm-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 935680 935680 0 0.0
bss 103484 103484 0 0.0
text 625326 625326 0 0.0
temperature-measurement-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 920684 920684 0 0.0
bss 103212 103212 0 0.0
text 612498 612498 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 893516 893516 0 0.0
bss 103000 103000 0 0.0
text 602466 602466 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889140 889140 0 0.0
bss 103324 103324 0 0.0
text 597796 597796 0 0.0

@mergify mergify bot merged commit c0bf847 into project-chip:master Sep 12, 2023
52 checks passed
@mspang mspang deleted the for-chip/non-movable branch September 12, 2023 21:14
HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
The purpose of this interface is be called polymorphically through a
pointer. Moving it will invalidate the original instance and is very
likely to be a bug.

Make this type non-movable; this will fail compilation if a derived
class is stored in an inappropriate container that moves its elements.

As an example, ClusterStateCache is also currently movable, but moving
it retains a pointer to the moved-from instance via mBufferedReader, so
any further usage is likely to result in a invalid memory access.
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