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

Stop using explicit BitMapObjectPool. #20058

Conversation

bzbarsky-apple
Copy link
Contributor

There were only two consumers (the retrans table and exchanges) left, which both
used to fail unit tests if using ObjectPool due to use-after-free.

One of those tests is now fixed; the other is fixed in this PR. So we can move
to using ObjectPool everywhere.

Fixes #14509
Fixes #14446

Problem

We have use-after-free that is being covered up by using pool allocation.

Change overview

Fix the use-after-free in WriteHandler, switch to ObjectPool for the last BitMapObjectPool holdouts.

Testing

Should pass CI.

@github-actions
Copy link

github-actions bot commented Jun 28, 2022

PR #20058: Size comparison from 41e474d to 805a28a

Increases (17 builds for cc13x2_26x2, linux, nrfconnect, telink)
platform target config section 41e474d 805a28a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667439 667447 8 0.0
.text 590976 590984 8 0.0
linux all-clusters-app debug (read only) 2952905 2953705 800 0.0
.text 2512834 2513634 800 0.0
all-clusters-minimal-app debug (read only) 2807017 2807817 800 0.0
.text 2367458 2368258 800 0.0
bridge-app debug+rpc (read only) 2310481 2311281 800 0.0
.text 1951266 1952066 800 0.0
chip-tool debug (read only) 10171909 10172741 832 0.0
.text 8254149 8254981 832 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904516 9905444 928 0.0
.text 7892724 7893652 928 0.0
lighting-app debug+rpc (read only) 2547001 2547801 800 0.0
.text 2163378 2164178 800 0.0
lock-app debug (read only) 2508233 2509033 800 0.0
.text 2115106 2115906 800 0.0
ota-provider-app debug (read only) 2317401 2318201 800 0.0
.text 1951522 1952322 800 0.0
ota-requestor-app debug (read only) 2434521 2435321 800 0.0
.text 2056258 2057058 800 0.0
shell debug (read only) 2542665 2543465 800 0.0
.text 2159250 2160050 800 0.0
thermostat-no-ble arm64 (read only) 2590428 2591084 656 0.0
.text 2185696 2186352 656 0.0
tv-app debug (read only) 3096529 3097345 816 0.0
.text 2660002 2660818 816 0.0
tv-casting-app debug (read only) 5554449 5555281 832 0.0
.text 4934594 4935426 832 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155447 1155463 16 0.0
text 799424 799428 4 0.0
telink light-switch-app tlsr9518adk80d text 564546 564548 2 0.0
lighting-app tlsr9518adk80d text 581092 581094 2 0.0
Decreases (15 builds for cc13x2_26x2, cyw30739, efr32, linux, nrfconnect)
platform target config section 41e474d 805a28a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 175688 175680 -8 -0.0
cyw30739 lock cyw930739m2evb_01 (read/write) 582014 582006 -8 -0.0
.app_xip_area 458832 458824 -8 -0.0
efr32 window-app BRD4161A (read/write) 1066660 1066644 -16 -0.0
.text 929724 929708 -16 -0.0
linux all-clusters-app debug (read/write) 178136 155288 -22848 -12.8
.bss 84960 62112 -22848 -26.9
all-clusters-minimal-app debug (read/write) 170072 147224 -22848 -13.4
.bss 84288 61440 -22848 -27.1
bridge-app debug+rpc (read/write) 148896 126048 -22848 -15.3
.bss 72352 49504 -22848 -31.6
lighting-app debug+rpc (read/write) 152952 130104 -22848 -14.9
.bss 72896 50048 -22848 -31.3
lock-app debug (read/write) 147896 125048 -22848 -15.4
.bss 71264 48416 -22848 -32.1
ota-provider-app debug (read/write) 141736 118888 -22848 -16.1
.bss 70944 48096 -22848 -32.2
ota-requestor-app debug (read/write) 148608 125760 -22848 -15.4
.bss 73280 50432 -22848 -31.2
shell debug (read/write) 164488 141640 -22848 -13.9
.bss 80904 58056 -22848 -28.2
thermostat-no-ble arm64 (read/write) 181761 158913 -22848 -12.6
.bss 88705 65857 -22848 -25.8
tv-app debug (read/write) 279240 256392 -22848 -8.2
.bss 188648 165800 -22848 -12.1
tv-casting-app debug (read/write) 185136 162288 -22848 -12.3
.bss 73704 50856 -22848 -31.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 809720 809716 -4 -0.0
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 41e474d 805a28a change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664907 664907 0 0.0
(read/write) 188076 188076 0 0.0
.bss 75876 75876 0 0.0
.data 3356 3356 0 0.0
.rodata 87891 87891 0 0.0
.text 576700 576700 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653639 653639 0 0.0
(read/write) 198640 198640 0 0.0
.bss 75172 75172 0 0.0
.data 3356 3356 0 0.0
.rodata 91359 91359 0 0.0
.text 561964 561964 0 0.0
lock-ftd LP_CC2652R7 (read only) 667439 667447 8 0.0
(read/write) 175688 175680 -8 -0.0
.bss 72908 72908 0 0.0
.data 3280 3280 0 0.0
.rodata 75983 75983 0 0.0
.text 590976 590984 8 0.0
lock-mtd LP_CC2652R7 (read only) 616855 616855 0 0.0
(read/write) 146024 146024 0 0.0
.bss 68628 68628 0 0.0
.data 3280 3280 0 0.0
.rodata 75863 75863 0 0.0
.text 540504 540504 0 0.0
pump-app LP_CC2652R7 (read only) 677007 677007 0 0.0
(read/write) 166976 166976 0 0.0
.bss 72996 72996 0 0.0
.data 3280 3280 0 0.0
.rodata 88367 88367 0 0.0
.text 588156 588156 0 0.0
pump-controller-app LP_CC2652R7 (read only) 662919 662919 0 0.0
(read/write) 181184 181184 0 0.0
.bss 73116 73116 0 0.0
.data 3276 3276 0 0.0
.rodata 84215 84215 0 0.0
.text 578224 578224 0 0.0
shell LP_CC2652R7 (read only) 657362 657362 0 0.0
(read/write) 191124 191124 0 0.0
.bss 78180 78180 0 0.0
.data 3360 3360 0 0.0
.rodata 84650 84650 0 0.0
.text 572396 572396 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 580446 580446 0 0.0
.app_xip_area 457456 457456 0 0.0
.bss 65952 65952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 582014 582006 -8 -0.0
.app_xip_area 458832 458824 -8 -0.0
.bss 66144 66144 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583494 583494 0 0.0
.app_xip_area 461352 461352 0 0.0
.bss 65160 65160 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081380 1081380 0 0.0
.bss 134756 134756 0 0.0
.data 2048 2048 0 0.0
.text 944556 944556 0 0.0
BRD4161A+rpc (read/write) 1135668 1135668 0 0.0
.bss 151444 151444 0 0.0
.data 2260 2260 0 0.0
.text 981944 981944 0 0.0
BRD4161A+rs911x (read/write) 943880 943880 0 0.0
.bss 140472 140472 0 0.0
.data 2048 2048 0 0.0
.text 801340 801340 0 0.0
lock-app BRD4161A+wf200 (read/write) 1121040 1121040 0 0.0
.bss 140920 140920 0 0.0
.data 2060 2060 0 0.0
.text 978040 978040 0 0.0
window-app BRD4161A (read/write) 1066660 1066644 -16 -0.0
.bss 134836 134836 0 0.0
.data 2076 2076 0 0.0
.text 929724 929708 -16 -0.0
k32w light k32w061+release (read/write) 659688 659688 0 0.0
.bss 71276 71276 0 0.0
.data 1992 1992 0 0.0
.text 580620 580620 0 0.0
lock k32w061+release (read/write) 685944 685944 0 0.0
.bss 71748 71748 0 0.0
.data 2004 2004 0 0.0
.text 606392 606392 0 0.0
linux all-clusters-app debug (read only) 2952905 2953705 800 0.0
(read/write) 178136 155288 -22848 -12.8
.bss 84960 62112 -22848 -26.9
.data 2048 2048 0 0.0
.data.rel.ro 84936 84936 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263005 263005 0 0.0
.text 2512834 2513634 800 0.0
all-clusters-minimal-app debug (read only) 2807017 2807817 800 0.0
(read/write) 170072 147224 -22848 -13.4
.bss 84288 61440 -22848 -27.1
.data 2048 2048 0 0.0
.data.rel.ro 77576 77576 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 264669 264669 0 0.0
.text 2367458 2368258 800 0.0
bridge-app debug+rpc (read only) 2310481 2311281 800 0.0
(read/write) 148896 126048 -22848 -15.3
.bss 72352 49504 -22848 -31.6
.data 3824 3824 0 0.0
.data.rel.ro 66952 66952 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197600 197600 0 0.0
.text 1951266 1952066 800 0.0
chip-tool debug (read only) 10171909 10172741 832 0.0
(read/write) 610824 610824 0 0.0
.bss 24384 24384 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 579056 579056 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 509029 509029 0 0.0
.text 8254149 8254981 832 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904516 9905444 928 0.0
(read/write) 675665 675665 0 0.0
.bss 42625 42625 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614640 614640 0 0.0
.dynamic 528 528 0 0.0
.got 13440 13440 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 472196 472196 0 0.0
.text 7892724 7893652 928 0.0
lighting-app debug+rpc (read only) 2547001 2547801 800 0.0
(read/write) 152952 130104 -22848 -14.9
.bss 72896 50048 -22848 -31.3
.data 2096 2096 0 0.0
.data.rel.ro 72088 72088 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213416 213416 0 0.0
.text 2163378 2164178 800 0.0
lock-app debug (read only) 2508233 2509033 800 0.0
(read/write) 147896 125048 -22848 -15.4
.bss 71264 48416 -22848 -32.1
.data 1712 1712 0 0.0
.data.rel.ro 69064 69064 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228104 228104 0 0.0
.text 2115106 2115906 800 0.0
ota-provider-app debug (read only) 2317401 2318201 800 0.0
(read/write) 141736 118888 -22848 -16.1
.bss 70944 48096 -22848 -32.2
.data 1944 1944 0 0.0
.data.rel.ro 63064 63064 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203224 203224 0 0.0
.text 1951522 1952322 800 0.0
ota-requestor-app debug (read only) 2434521 2435321 800 0.0
(read/write) 148608 125760 -22848 -15.4
.bss 73280 50432 -22848 -31.2
.data 2232 2232 0 0.0
.data.rel.ro 67240 67240 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207232 207232 0 0.0
.text 2056258 2057058 800 0.0
shell debug (read only) 2542665 2543465 800 0.0
(read/write) 164488 141640 -22848 -13.9
.bss 80904 58056 -22848 -28.2
.data 1264 1264 0 0.0
.data.rel.ro 76672 76672 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227122 227122 0 0.0
.text 2159250 2160050 800 0.0
thermostat-no-ble arm64 (read only) 2590428 2591084 656 0.0
(read/write) 181761 158913 -22848 -12.6
.bss 88705 65857 -22848 -25.8
.data 1704 1704 0 0.0
.data.rel.ro 83256 83256 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165004 165004 0 0.0
.text 2185696 2186352 656 0.0
tv-app debug (read only) 3096529 3097345 816 0.0
(read/write) 279240 256392 -22848 -8.2
.bss 188648 165800 -22848 -12.1
.data 4848 4848 0 0.0
.data.rel.ro 79312 79312 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 248768 248768 0 0.0
.text 2660002 2660818 816 0.0
tv-casting-app debug (read only) 5554449 5555281 832 0.0
(read/write) 185136 162288 -22848 -12.3
.bss 73704 50856 -22848 -31.0
.data 2416 2416 0 0.0
.data.rel.ro 102776 102776 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343049 343049 0 0.0
.text 4934594 4935426 832 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2446672 2446672 0 0.0
.bss 215716 215716 0 0.0
.data 5872 5872 0 0.0
.text 1409316 1409316 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174595 1174595 0 0.0
bss 144650 144650 0 0.0
rodata 141284 141284 0 0.0
text 809720 809716 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155447 1155463 16 0.0
bss 143886 143886 0 0.0
rodata 133216 133216 0 0.0
text 799424 799428 4 0.0
p6 all-clusters-app default (read/write) 2562568 2562568 0 0.0
.bss 150896 150896 0 0.0
.data 2776 2776 0 0.0
.text 1520832 1520832 0 0.0
all-clusters-minimal-app default (read/write) 2508416 2508416 0 0.0
.bss 150176 150176 0 0.0
.data 2776 2776 0 0.0
.text 1466680 1466680 0 0.0
light-app default (read/write) 2438584 2438584 0 0.0
.bss 142232 142232 0 0.0
.data 2592 2592 0 0.0
.text 1396848 1396848 0 0.0
lock-app default (read/write) 2464856 2464856 0 0.0
.bss 142080 142080 0 0.0
.data 2600 2600 0 0.0
.text 1423120 1423120 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 797712 797712 0 0.0
bss 72344 72344 0 0.0
noinit 40416 40416 0 0.0
text 564546 564548 2 0.0
lighting-app tlsr9518adk80d (read/write) 817780 817780 0 0.0
bss 73164 73164 0 0.0
noinit 40416 40416 0 0.0
text 581092 581094 2 0.0

There were only two consumers (the retrans table and exchanges) left, which both
used to fail unit tests if using ObjectPool due to use-after-free.

One of those tests is now fixed; the other is fixed in this PR.  So we can move
to using ObjectPool everywhere.

Fixes project-chip#14509
Fixes project-chip#14446
@github-actions
Copy link

github-actions bot commented Jun 28, 2022

PR #20058: Size comparison from cab048f to 440a727

Increases (14 builds for esp32, linux)
platform target config section cab048f 440a727 change % change
esp32 all-clusters-app c3devkit (read only) 1018280 1018282 2 0.0
.flash.text 1018280 1018282 2 0.0
linux all-clusters-app debug (read only) 2952761 2953545 784 0.0
.text 2512786 2513570 784 0.0
all-clusters-minimal-app debug (read only) 2806857 2807657 800 0.0
.text 2367394 2368194 800 0.0
bridge-app debug+rpc (read only) 2310289 2311089 800 0.0
.text 1951202 1952002 800 0.0
chip-tool debug (read only) 10171717 10172549 832 0.0
.text 8254053 8254885 832 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904404 9905332 928 0.0
.text 7892612 7893540 928 0.0
lighting-app debug+rpc (read only) 2546153 2546953 800 0.0
.text 2162690 2163490 800 0.0
lock-app debug (read only) 2508073 2508873 800 0.0
.text 2115042 2115842 800 0.0
ota-provider-app debug (read only) 2317241 2318041 800 0.0
.text 1951458 1952258 800 0.0
ota-requestor-app debug (read only) 2434329 2435129 800 0.0
.text 2056194 2056994 800 0.0
shell debug (read only) 2542489 2543273 784 0.0
.text 2159202 2159986 784 0.0
thermostat-no-ble arm64 (read only) 2590364 2591020 656 0.0
.text 2185632 2186288 656 0.0
tv-app debug (read only) 3095697 3096513 816 0.0
.text 2659330 2660146 816 0.0
tv-casting-app debug (read only) 5553617 5554449 832 0.0
.text 4933922 4934754 832 0.0
Decreases (15 builds for cyw30739, efr32, linux)
platform target config section cab048f 440a727 change % change
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583194 583186 -8 -0.0
.app_xip_area 461044 461036 -8 -0.0
efr32 lighting-app BRD4161A (read/write) 1081132 1081116 -16 -0.0
.text 944300 944284 -16 -0.0
BRD4161A+rpc (read/write) 1135428 1135412 -16 -0.0
.text 981696 981680 -16 -0.0
BRD4161A+rs911x (read/write) 943664 943648 -16 -0.0
.text 801116 801100 -16 -0.0
linux all-clusters-app debug (read/write) 178136 155288 -22848 -12.8
.bss 84960 62112 -22848 -26.9
all-clusters-minimal-app debug (read/write) 170072 147224 -22848 -13.4
.bss 84288 61440 -22848 -27.1
bridge-app debug+rpc (read/write) 148896 126048 -22848 -15.3
.bss 72352 49504 -22848 -31.6
lighting-app debug+rpc (read/write) 152952 130104 -22848 -14.9
.bss 72896 50048 -22848 -31.3
lock-app debug (read/write) 147896 125048 -22848 -15.4
.bss 71264 48416 -22848 -32.1
ota-provider-app debug (read/write) 141704 118856 -22848 -16.1
.bss 70912 48064 -22848 -32.2
ota-requestor-app debug (read/write) 148608 125760 -22848 -15.4
.bss 73280 50432 -22848 -31.2
shell debug (read/write) 164456 141608 -22848 -13.9
.bss 80872 58024 -22848 -28.3
thermostat-no-ble arm64 (read/write) 181745 158897 -22848 -12.6
.bss 88689 65841 -22848 -25.8
tv-app debug (read/write) 279240 256392 -22848 -8.2
.bss 188648 165800 -22848 -12.1
tv-casting-app debug (read/write) 185136 162288 -22848 -12.3
.bss 73704 50856 -22848 -31.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cab048f 440a727 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664779 664779 0 0.0
(read/write) 188212 188212 0 0.0
.bss 75884 75884 0 0.0
.data 3356 3356 0 0.0
.rodata 87891 87891 0 0.0
.text 576572 576572 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653511 653511 0 0.0
(read/write) 198776 198776 0 0.0
.bss 75180 75180 0 0.0
.data 3356 3356 0 0.0
.rodata 91359 91359 0 0.0
.text 561836 561836 0 0.0
lock-ftd LP_CC2652R7 (read only) 667319 667319 0 0.0
(read/write) 175816 175816 0 0.0
.bss 72916 72916 0 0.0
.data 3280 3280 0 0.0
.rodata 75983 75983 0 0.0
.text 590856 590856 0 0.0
lock-mtd LP_CC2652R7 (read only) 616727 616727 0 0.0
(read/write) 146032 146032 0 0.0
.bss 68636 68636 0 0.0
.data 3280 3280 0 0.0
.rodata 75863 75863 0 0.0
.text 540376 540376 0 0.0
pump-app LP_CC2652R7 (read only) 676759 676759 0 0.0
(read/write) 167232 167232 0 0.0
.bss 73004 73004 0 0.0
.data 3280 3280 0 0.0
.rodata 88215 88215 0 0.0
.text 588060 588060 0 0.0
pump-controller-app LP_CC2652R7 (read only) 662611 662611 0 0.0
(read/write) 181500 181500 0 0.0
.bss 73124 73124 0 0.0
.data 3276 3276 0 0.0
.rodata 84067 84067 0 0.0
.text 578064 578064 0 0.0
shell LP_CC2652R7 (read only) 657250 657250 0 0.0
(read/write) 191244 191244 0 0.0
.bss 78188 78188 0 0.0
.data 3360 3360 0 0.0
.rodata 84650 84650 0 0.0
.text 572284 572284 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 580398 580398 0 0.0
.app_xip_area 457400 457400 0 0.0
.bss 65960 65960 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 581974 581974 0 0.0
.app_xip_area 458784 458784 0 0.0
.bss 66152 66152 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583194 583186 -8 -0.0
.app_xip_area 461044 461036 -8 -0.0
.bss 65168 65168 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081132 1081116 -16 -0.0
.bss 134764 134764 0 0.0
.data 2048 2048 0 0.0
.text 944300 944284 -16 -0.0
BRD4161A+rpc (read/write) 1135428 1135412 -16 -0.0
.bss 151452 151452 0 0.0
.data 2260 2260 0 0.0
.text 981696 981680 -16 -0.0
BRD4161A+rs911x (read/write) 943664 943648 -16 -0.0
.bss 140480 140480 0 0.0
.data 2048 2048 0 0.0
.text 801116 801100 -16 -0.0
lock-app BRD4161A+wf200 (read/write) 1120920 1120920 0 0.0
.bss 140912 140912 0 0.0
.data 2060 2060 0 0.0
.text 977928 977928 0 0.0
window-app BRD4161A (read/write) 1066396 1066396 0 0.0
.bss 134844 134844 0 0.0
.data 2076 2076 0 0.0
.text 929452 929452 0 0.0
esp32 all-clusters-app c3devkit (read only) 1018280 1018282 2 0.0
(read/write) 1486482 1486482 0 0.0
.dram0.bss 71856 71856 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 214576 214576 0 0.0
.flash.text 1018280 1018282 2 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072455 1072455 0 0.0
(read/write) 488576 488576 0 0.0
.dram0.bss 77376 77376 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245060 245060 0 0.0
.flash.text 1067071 1067071 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 659568 659568 0 0.0
.bss 71284 71284 0 0.0
.data 1992 1992 0 0.0
.text 580492 580492 0 0.0
lock k32w061+release (read/write) 685824 685824 0 0.0
.bss 71756 71756 0 0.0
.data 2004 2004 0 0.0
.text 606264 606264 0 0.0
linux all-clusters-app debug (read only) 2952761 2953545 784 0.0
(read/write) 178136 155288 -22848 -12.8
.bss 84960 62112 -22848 -26.9
.data 2048 2048 0 0.0
.data.rel.ro 84936 84936 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 262909 262909 0 0.0
.text 2512786 2513570 784 0.0
all-clusters-minimal-app debug (read only) 2806857 2807657 800 0.0
(read/write) 170072 147224 -22848 -13.4
.bss 84288 61440 -22848 -27.1
.data 2048 2048 0 0.0
.data.rel.ro 77576 77576 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 264573 264573 0 0.0
.text 2367394 2368194 800 0.0
bridge-app debug+rpc (read only) 2310289 2311089 800 0.0
(read/write) 148896 126048 -22848 -15.3
.bss 72352 49504 -22848 -31.6
.data 3824 3824 0 0.0
.data.rel.ro 66952 66952 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197472 197472 0 0.0
.text 1951202 1952002 800 0.0
chip-tool debug (read only) 10171717 10172549 832 0.0
(read/write) 610824 610824 0 0.0
.bss 24384 24384 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 579056 579056 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 508933 508933 0 0.0
.text 8254053 8254885 832 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904404 9905332 928 0.0
(read/write) 675649 675649 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614640 614640 0 0.0
.dynamic 528 528 0 0.0
.got 13440 13440 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 472196 472196 0 0.0
.text 7892612 7893540 928 0.0
lighting-app debug+rpc (read only) 2546153 2546953 800 0.0
(read/write) 152952 130104 -22848 -14.9
.bss 72896 50048 -22848 -31.3
.data 2096 2096 0 0.0
.data.rel.ro 72088 72088 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213256 213256 0 0.0
.text 2162690 2163490 800 0.0
lock-app debug (read only) 2508073 2508873 800 0.0
(read/write) 147896 125048 -22848 -15.4
.bss 71264 48416 -22848 -32.1
.data 1712 1712 0 0.0
.data.rel.ro 69064 69064 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228008 228008 0 0.0
.text 2115042 2115842 800 0.0
ota-provider-app debug (read only) 2317241 2318041 800 0.0
(read/write) 141704 118856 -22848 -16.1
.bss 70912 48064 -22848 -32.2
.data 1944 1944 0 0.0
.data.rel.ro 63064 63064 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203128 203128 0 0.0
.text 1951458 1952258 800 0.0
ota-requestor-app debug (read only) 2434329 2435129 800 0.0
(read/write) 148608 125760 -22848 -15.4
.bss 73280 50432 -22848 -31.2
.data 2232 2232 0 0.0
.data.rel.ro 67240 67240 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207104 207104 0 0.0
.text 2056194 2056994 800 0.0
shell debug (read only) 2542489 2543273 784 0.0
(read/write) 164456 141608 -22848 -13.9
.bss 80872 58024 -22848 -28.3
.data 1264 1264 0 0.0
.data.rel.ro 76672 76672 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 226994 226994 0 0.0
.text 2159202 2159986 784 0.0
thermostat-no-ble arm64 (read only) 2590364 2591020 656 0.0
(read/write) 181745 158897 -22848 -12.6
.bss 88689 65841 -22848 -25.8
.data 1704 1704 0 0.0
.data.rel.ro 83256 83256 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165004 165004 0 0.0
.text 2185632 2186288 656 0.0
tv-app debug (read only) 3095697 3096513 816 0.0
(read/write) 279240 256392 -22848 -8.2
.bss 188648 165800 -22848 -12.1
.data 4848 4848 0 0.0
.data.rel.ro 79312 79312 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 248608 248608 0 0.0
.text 2659330 2660146 816 0.0
tv-casting-app debug (read only) 5553617 5554449 832 0.0
(read/write) 185136 162288 -22848 -12.3
.bss 73704 50856 -22848 -31.0
.data 2416 2416 0 0.0
.data.rel.ro 102776 102776 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 342889 342889 0 0.0
.text 4933922 4934754 832 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2446560 2446560 0 0.0
.bss 215708 215708 0 0.0
.data 5872 5872 0 0.0
.text 1409204 1409204 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174287 1174287 0 0.0
bss 144658 144658 0 0.0
rodata 141136 141136 0 0.0
text 809564 809564 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155155 1155155 0 0.0
bss 143894 143894 0 0.0
rodata 133068 133068 0 0.0
text 799268 799268 0 0.0
p6 all-clusters-app default (read/write) 2562440 2562440 0 0.0
.bss 150888 150888 0 0.0
.data 2776 2776 0 0.0
.text 1520704 1520704 0 0.0
all-clusters-minimal-app default (read/write) 2508288 2508288 0 0.0
.bss 150168 150168 0 0.0
.data 2776 2776 0 0.0
.text 1466552 1466552 0 0.0
light-app default (read/write) 2438440 2438440 0 0.0
.bss 142224 142224 0 0.0
.data 2592 2592 0 0.0
.text 1396704 1396704 0 0.0
lock-app default (read/write) 2464704 2464704 0 0.0
.bss 142072 142072 0 0.0
.data 2600 2600 0 0.0
.text 1422968 1422968 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 797580 797580 0 0.0
bss 72336 72336 0 0.0
noinit 40416 40416 0 0.0
text 564538 564538 0 0.0
lighting-app tlsr9518adk80d (read/write) 817440 817440 0 0.0
bss 73172 73172 0 0.0
noinit 40416 40416 0 0.0
text 580902 580902 0 0.0

@bzbarsky-apple bzbarsky-apple merged commit d4bb6ee into project-chip:master Jun 28, 2022
@bzbarsky-apple bzbarsky-apple deleted the no-mode-explicit-bitmap-pool branch June 28, 2022 23:10
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.

Write after free in WriteClient + ExchangeContext Write after free of RetransTableEntry
3 participants