Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Use LambdaBridge to safely invoke functions in GLib Matter context #35777

Merged
merged 15 commits into from
Sep 27, 2024

Conversation

Alami-Amine
Copy link
Contributor

@Alami-Amine Alami-Amine commented Sep 25, 2024

Problem

  • UBSan Builds omit checks for "function" by having "-fno-sanitize=vptr,function" in the config.
  • The check for function detects "Indirect call of a function through a function pointer of the wrong type", which is considered undefined behaviour by C99 and C++ standards.
  • activating the check and running the Fuzzed-all-clusters-app showed a UBSan Error which happened because of the cast of function pointer from CHIP_ERROR(*)(T*) to CHIP_ERROR(*)(void*) :
    CHIP_ERROR GLibMatterContextInvokeSync(CHIP_ERROR (*func)(T *), T * userData)
    {
        return _GLibMatterContextInvokeSync((CHIP_ERROR(*)(void *)) func, (void *) userData);
    }
  • The UBSan Error:
../../src/platform/Linux/PlatformManagerImpl.cpp:307:27: runtime error: call to function chip::DeviceLayer::Internal::BluezObjectManager::Init()::$_0::__invoke(chip::DeviceLayer::Internal::BluezObjectManager*) through pointer to incorrect function type 'chip::ChipError (*)(void *)'
/src/connectedhomeip/out/fuzz_targets/../../src/platform/Linux/bluez/BluezObjectManager.cpp:55: note: chip::DeviceLayer::Internal::BluezObjectManager::Init()::$_0::__invoke(chip::DeviceLayer::Internal::BluezObjectManager*) defined here
    #0 0x557bf861b359 in operator() /src/connectedhomeip/out/fuzz_targets/../../src/platform/Linux/PlatformManagerImpl.cpp:307:27
    #1 0x557bf861b359 in chip::DeviceLayer::PlatformManagerImpl::_GLibMatterContextInvokeSync(chip::ChipError (*)(void*), void*)::$_0::__invoke(void*) /src/connectedhomeip/out/fuzz_targets/../../src/platform/Linux/PlatformManagerImpl.cpp:297:9
    #2 0x557bf83e4dcd in g_main_context_dispatch (/tmp/not-out/tmp7c65mdbo/fuzz-chip-all-clusters-app+0xbaedcd)
DEDUP_TOKEN: operator()--chip::DeviceLayer::PlatformManagerImpl::_GLibMatterContextInvokeSync(chip::ChipError (*)(void*), void*)::$_0::__invoke(void*)--g_main_context_dispatch
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../../src/platform/Linux/PlatformManagerImpl.cpp:307:27 in

Fix

  • Fix involves using LambdaBridge to safely cast and call the invoked function in the GLib Matter Context.

  • the Lambda that is passed to GLibMatterContextInvokeSync() will be stored and passed as a LambdaBridge to the g_main_context_invoke_full for execution.

  • Fix was Added to Linux, Tizen and NuttX platforms.

Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Sep 25, 2024

PR #35777: Size comparison from 6f93ec2 to 09e28f5

Full report (13 builds for cc13x4_26x4, cc32xx, nrfconnect, nxp, stm32)
platform target config section 6f93ec25 09e28f5 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829356 829356 0 0.0
RAM 123300 123300 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814392 814392 0 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760396 760396 0 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 744632 744632 0 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 616162 616162 0 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 656218 656218 0 0.0
RAM 205548 205548 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913412 913412 0 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885020 885020 0 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846920 846920 0 0.0
RAM 141093 141093 0 0.0
nxp contact mcxw71+release FLASH 595392 595392 0 0.0
RAM 62992 62992 0 0.0
light mcxw71+release FLASH 681608 681608 0 0.0
RAM 48632 48632 0 0.0
lock mcxw71+release FLASH 703936 703928 -8 -0.0
RAM 67132 67132 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481040 0 0.0
RAM 144692 144692 0 0.0

Copy link

github-actions bot commented Sep 25, 2024

PR #35777: Size comparison from e8554de to 38d3ed7

Increases above 0.2%:

platform target config section e8554de 38d3ed7 change % change
linux chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
Full report (45 builds for cyw30739, efr32, esp32, linux, nxp, psoc6, stm32)
platform target config section e8554de 38d3ed7 change % change
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677725 677725 0 0.0
RAM 78516 78516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697569 697569 0 0.0
RAM 81148 81148 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697569 697569 0 0.0
RAM 81148 81148 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654513 654513 0 0.0
RAM 73584 73584 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613789 613789 0 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633425 633425 0 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633425 633425 0 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 633085 633085 0 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652793 652793 0 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652793 652793 0 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608429 608429 0 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628289 628289 0 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628289 628289 0 0.0
RAM 71236 71236 0 0.0
efr32 lighting-app BRD4187C FLASH 933324 933324 0 0.0
RAM 135884 135884 0 0.0
lock-app BRD2605a FLASH 740992 740984 -8 -0.0
RAM 230240 230240 0 0.0
BRD4338a FLASH 741640 741632 -8 -0.0
RAM 230272 230272 0 0.0
window-app BRD4187C FLASH 1016408 1016400 -8 -0.0
RAM 127804 127804 0 0.0
esp32 all-clusters-app c3devkit DRAM 94080 94080 0 0.0
FLASH 1537598 1537602 4 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115032 0 0.0
FLASH 1548050 1548054 4 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2764623 2769243 4620 0.2
RAM 129424 129424 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6068112 6072732 4620 0.1
RAM 507392 507392 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5401442 5406062 4620 0.1
RAM 241136 241136 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4735064 4739684 4620 0.1
RAM 218304 218304 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12546958 12550274 3316 0.0
RAM 555122 555122 0 0.0
chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
FLASH 11204704 11206672 1968 0.0
RAM 605368 605368 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 10908791 10912107 3316 0.0
RAM 554266 554266 0 0.0
fabric-bridge-app debug unknown 4640 4640 0 0.0
FLASH 4561676 4563288 1612 0.0
RAM 204888 204888 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5676033 5680657 4624 0.1
RAM 228552 228552 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4785166 4788928 3762 0.1
RAM 204376 204376 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4417388 4419000 1612 0.0
RAM 198112 198112 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4556168 4557780 1612 0.0
RAM 202680 202680 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3095405 3099165 3760 0.1
RAM 159184 159184 0 0.0
thermostat-no-ble arm64 unknown 9432 9448 16 0.2
FLASH 4306728 4307672 944 0.0
RAM 242808 242808 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6013397 6017173 3776 0.1
RAM 580928 580928 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10740221 10744413 4192 0.0
RAM 643008 643008 0 0.0
nxp contact k32w0+release FLASH 581728 581728 0 0.0
RAM 70776 70776 0 0.0
k32w1+release FLASH 595640 595632 -8 -0.0
RAM 62992 62992 0 0.0
light k32w0+release FLASH 617780 617780 0 0.0
RAM 70248 70248 0 0.0
k32w1+release FLASH 681592 681592 0 0.0
RAM 48632 48632 0 0.0
lock k32w1+release FLASH 703912 703904 -8 -0.0
RAM 67132 67132 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645348 1645348 0 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551332 1551332 0 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467148 1467148 0 0.0
RAM 200696 200696 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463892 1463892 0 0.0
RAM 225048 225048 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481040 0 0.0
RAM 144692 144692 0 0.0

Copy link

github-actions bot commented Sep 26, 2024

PR #35777: Size comparison from 648f088 to af70f8a

Increases above 0.2%:

platform target config section 648f088 af70f8a change % change
linux chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
Full report (86 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 648f088 af70f8a change % change
bl602 lighting-app bl602 FLASH 1280488 1280510 22 0.0
RAM 95848 95848 0 0.0
bl602+mfd FLASH 1294354 1294376 22 0.0
RAM 95992 95992 0 0.0
bl602+rpc FLASH 1320438 1320460 22 0.0
RAM 104272 104272 0 0.0
bl702 lighting-app bl702 FLASH 944328 944332 4 0.0
RAM 15145 15145 0 0.0
bl702+mfd FLASH 946728 946732 4 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039892 1039896 4 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646790 646786 -4 -0.0
RAM 25233 25233 0 0.0
bl706-wifi FLASH 894604 894624 20 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960988 960992 4 0.0
RAM 16804 16804 0 0.0
bl702l+mfd FLASH 963610 963614 4 0.0
RAM 16964 16964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829356 829404 48 0.0
RAM 123300 123300 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814392 814448 56 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760396 760444 48 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 744632 744680 48 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 616162 616218 56 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 656218 656274 56 0.0
RAM 205548 205548 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677725 677765 40 0.0
RAM 78516 78516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697569 697609 40 0.0
RAM 81148 81148 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697569 697609 40 0.0
RAM 81148 81148 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654513 654545 32 0.0
RAM 73584 73584 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613789 613829 40 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633425 633457 32 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633425 633457 32 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 633085 633125 40 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652793 652833 40 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652793 652833 40 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608429 608469 40 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628289 628329 40 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628289 628329 40 0.0
RAM 71236 71236 0 0.0
efr32 lighting-app BRD4187C FLASH 933324 933356 32 0.0
RAM 135884 135884 0 0.0
lock-app BRD2605a FLASH 740992 741128 136 0.0
RAM 230240 230240 0 0.0
BRD4338a FLASH 741640 741776 136 0.0
RAM 230272 230272 0 0.0
window-app BRD4187C FLASH 1016408 1016592 184 0.0
RAM 127804 127804 0 0.0
esp32 all-clusters-app c3devkit DRAM 94080 94080 0 0.0
FLASH 1537598 1537612 14 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115032 0 0.0
FLASH 1548050 1548058 8 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2764623 2769083 4460 0.2
RAM 129424 129424 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6068112 6072572 4460 0.1
RAM 507392 507392 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5401442 5405902 4460 0.1
RAM 241136 241136 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4735064 4739524 4460 0.1
RAM 218304 218304 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12546958 12549790 2832 0.0
RAM 555122 555122 0 0.0
chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
FLASH 11204704 11206944 2240 0.0
RAM 605368 605368 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 10908791 10911623 2832 0.0
RAM 554266 554266 0 0.0
fabric-bridge-app debug unknown 4640 4640 0 0.0
FLASH 4561676 4563294 1618 0.0
RAM 204888 204888 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5676033 5680497 4464 0.1
RAM 228552 228552 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4785166 4788692 3526 0.1
RAM 204376 204376 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4417388 4419006 1618 0.0
RAM 198112 198112 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4556168 4557850 1682 0.0
RAM 202680 202680 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3095405 3098957 3552 0.1
RAM 159184 159184 0 0.0
thermostat-no-ble arm64 unknown 9432 9448 16 0.2
FLASH 4306728 4307992 1264 0.0
RAM 242808 242808 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6013397 6016997 3600 0.1
RAM 580928 580928 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10740221 10744093 3872 0.0
RAM 643008 643008 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913412 913428 16 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885020 885048 28 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846920 846948 28 0.0
RAM 141093 141093 0 0.0
nxp contact k32w0+release FLASH 581728 581776 48 0.0
RAM 70776 70776 0 0.0
k32w1+release FLASH 595640 595680 40 0.0
RAM 62992 62992 0 0.0
mcxw71+release FLASH 595392 595416 24 0.0
RAM 62992 62992 0 0.0
light k32w0+release FLASH 617780 617812 32 0.0
RAM 70248 70248 0 0.0
k32w1+release FLASH 681592 681632 40 0.0
RAM 48632 48632 0 0.0
mcxw71+release FLASH 681608 681632 24 0.0
RAM 48632 48632 0 0.0
lock k32w1+release FLASH 703912 703944 32 0.0
RAM 67132 67132 0 0.0
mcxw71+release FLASH 703936 703968 32 0.0
RAM 67132 67132 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645348 1645428 80 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551332 1551412 80 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467148 1467228 80 0.0
RAM 200696 200696 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463892 1463972 80 0.0
RAM 225048 225048 0 0.0
qpg lighting-app qpg6105+debug FLASH 659488 659552 64 0.0
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 617444 617516 72 0.0
RAM 99704 99704 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481072 32 0.0
RAM 144692 144692 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620046 620044 -2 -0.0
RAM 50988 50988 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687280 687276 -4 -0.0
RAM 148328 148328 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 780214 780214 0 0.0
RAM 110780 110780 0 0.0
bridge-app tlsr9258a FLASH 681050 681050 0 0.0
RAM 91644 91644 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 619808 619806 -2 -0.0
RAM 50940 50940 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707750 707758 8 0.0
RAM 74280 74280 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 624772 624776 4 0.0
RAM 144316 144316 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810424 810432 8 0.0
RAM 99448 99448 0 0.0
lock-app-dfu tlsr9528a FLASH 655654 655652 -2 -0.0
RAM 67000 67000 0 0.0
ota-requestor-app tlsr9258a FLASH 697026 697034 8 0.0
RAM 91236 91236 0 0.0
pump-app-usb tlsr9518adk80d FLASH 633432 633430 -2 -0.0
RAM 55816 55816 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610622 610620 -2 -0.0
RAM 53060 53060 0 0.0
shell tlsr9518adk80d FLASH 467336 467336 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 626938 626936 -2 -0.0
RAM 52660 52660 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652758 652764 6 0.0
RAM 56608 56608 0 0.0
thermostat tlsr9518adk80d FLASH 637352 637350 -2 -0.0
RAM 53452 53452 0 0.0
window-covering tlsr9118bdk40d FLASH 523538 523532 -6 -0.0
RAM 97284 97284 0 0.0

@Alami-Amine Alami-Amine changed the title Testing Use LambdaBridge to safely invoke functions in GLib Matter context Sep 26, 2024
@Alami-Amine Alami-Amine marked this pull request as ready for review September 26, 2024 13:41
@github-actions github-actions bot added the tizen For Tizen platform label Sep 26, 2024
Copy link

github-actions bot commented Sep 26, 2024

PR #35777: Size comparison from 648f088 to 4601183

Full report (47 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section 648f088 4601183 change % change
bl602 lighting-app bl602 FLASH 1280488 1280510 22 0.0
RAM 95848 95848 0 0.0
bl602+mfd FLASH 1294354 1294376 22 0.0
RAM 95992 95992 0 0.0
bl602+rpc FLASH 1320438 1320460 22 0.0
RAM 104272 104272 0 0.0
bl702 lighting-app bl702 FLASH 944328 944332 4 0.0
RAM 15145 15145 0 0.0
bl702+mfd FLASH 946728 946732 4 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039892 1039896 4 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646790 646786 -4 -0.0
RAM 25233 25233 0 0.0
bl706-wifi FLASH 894604 894624 20 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960988 960992 4 0.0
RAM 16804 16804 0 0.0
bl702l+mfd FLASH 963610 963614 4 0.0
RAM 16964 16964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829356 829404 48 0.0
RAM 123300 123300 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814392 814448 56 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760396 760444 48 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 744632 744680 48 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 616162 616218 56 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 656218 656274 56 0.0
RAM 205548 205548 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677725 677765 40 0.0
RAM 78516 78516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697569 697609 40 0.0
RAM 81148 81148 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697569 697609 40 0.0
RAM 81148 81148 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654513 654545 32 0.0
RAM 73584 73584 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613789 613829 40 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633425 633457 32 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633425 633457 32 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 633085 633125 40 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652793 652833 40 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652793 652833 40 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608429 608469 40 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628289 628329 40 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628289 628329 40 0.0
RAM 71236 71236 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913412 913428 16 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885020 885048 28 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846920 846948 28 0.0
RAM 141093 141093 0 0.0
nxp contact k32w0+release FLASH 581728 581776 48 0.0
RAM 70776 70776 0 0.0
k32w1+release FLASH 595640 595680 40 0.0
RAM 62992 62992 0 0.0
mcxw71+release FLASH 595392 595416 24 0.0
RAM 62992 62992 0 0.0
light k32w0+release FLASH 617780 617812 32 0.0
RAM 70248 70248 0 0.0
k32w1+release FLASH 681592 681632 40 0.0
RAM 48632 48632 0 0.0
mcxw71+release FLASH 681608 681632 24 0.0
RAM 48632 48632 0 0.0
lock k32w1+release FLASH 703912 703944 32 0.0
RAM 67132 67132 0 0.0
mcxw71+release FLASH 703936 703968 32 0.0
RAM 67132 67132 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645348 1645428 80 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551332 1551412 80 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467148 1467228 80 0.0
RAM 200696 200696 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463892 1463972 80 0.0
RAM 225048 225048 0 0.0
qpg lighting-app qpg6105+debug FLASH 659488 659552 64 0.0
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 617444 617516 72 0.0
RAM 99704 99704 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481072 32 0.0
RAM 144692 144692 0 0.0

Copy link

github-actions bot commented Sep 26, 2024

PR #35777: Size comparison from 648f088 to db933d5

Increases above 0.2%:

platform target config section 648f088 db933d5 change % change
linux chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
Full report (49 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, linux, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section 648f088 db933d5 change % change
bl602 lighting-app bl602 FLASH 1280488 1280488 0 0.0
RAM 95848 95848 0 0.0
bl602+mfd FLASH 1294354 1294354 0 0.0
RAM 95992 95992 0 0.0
bl602+rpc FLASH 1320438 1320438 0 0.0
RAM 104272 104272 0 0.0
bl702 lighting-app bl702 FLASH 944328 944328 0 0.0
RAM 15145 15145 0 0.0
bl702+mfd FLASH 946728 946728 0 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039892 1039892 0 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646790 646790 0 0.0
RAM 25233 25233 0 0.0
bl706-wifi FLASH 894604 894604 0 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960988 960988 0 0.0
RAM 16804 16804 0 0.0
bl702l+mfd FLASH 963610 963610 0 0.0
RAM 16964 16964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829356 829356 0 0.0
RAM 123300 123300 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814392 814392 0 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760396 760396 0 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 744632 744632 0 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 616162 616162 0 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 656218 656218 0 0.0
RAM 205548 205548 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677725 677725 0 0.0
RAM 78516 78516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697569 697569 0 0.0
RAM 81148 81148 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697569 697569 0 0.0
RAM 81148 81148 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654513 654513 0 0.0
RAM 73584 73584 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613789 613789 0 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633425 633425 0 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633425 633425 0 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 633085 633085 0 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652793 652793 0 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652793 652793 0 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608429 608429 0 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628289 628289 0 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628289 628289 0 0.0
RAM 71236 71236 0 0.0
linux chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
FLASH 11204704 11207312 2608 0.0
RAM 605368 605368 0 0.0
thermostat-no-ble arm64 unknown 9432 9448 16 0.2
FLASH 4306728 4307784 1056 0.0
RAM 242808 242808 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913412 913412 0 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885020 885020 0 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846920 846920 0 0.0
RAM 141093 141093 0 0.0
nxp contact k32w0+release FLASH 581728 581728 0 0.0
RAM 70776 70776 0 0.0
k32w1+release FLASH 595640 595640 0 0.0
RAM 62992 62992 0 0.0
mcxw71+release FLASH 595392 595392 0 0.0
RAM 62992 62992 0 0.0
light k32w0+release FLASH 617780 617780 0 0.0
RAM 70248 70248 0 0.0
k32w1+release FLASH 681592 681592 0 0.0
RAM 48632 48632 0 0.0
mcxw71+release FLASH 681608 681608 0 0.0
RAM 48632 48632 0 0.0
lock k32w1+release FLASH 703912 703912 0 0.0
RAM 67132 67132 0 0.0
mcxw71+release FLASH 703936 703936 0 0.0
RAM 67132 67132 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645348 1645348 0 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551332 1551332 0 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467148 1467148 0 0.0
RAM 200696 200696 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463892 1463892 0 0.0
RAM 225048 225048 0 0.0
qpg lighting-app qpg6105+debug FLASH 659488 659488 0 0.0
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 617444 617444 0 0.0
RAM 99704 99704 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481040 0 0.0
RAM 144692 144692 0 0.0

Copy link

github-actions bot commented Sep 26, 2024

PR #35777: Size comparison from 648f088 to 25bc05c

Increases above 0.2%:

platform target config section 648f088 25bc05c change % change
linux air-purifier-app debug FLASH 2764623 2770249 5626 0.2
chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
tizen all-clusters-app arm unknown 4876 4904 28 0.6
chip-tool-ubsan arm unknown 10316 10344 28 0.3
Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 648f088 25bc05c change % change
bl602 lighting-app bl602 FLASH 1280488 1280532 44 0.0
RAM 95848 95848 0 0.0
bl602+mfd FLASH 1294354 1294398 44 0.0
RAM 95992 95992 0 0.0
bl602+rpc FLASH 1320438 1320482 44 0.0
RAM 104272 104272 0 0.0
bl702 lighting-app bl702 FLASH 944328 944362 34 0.0
RAM 15145 15145 0 0.0
bl702+mfd FLASH 946728 946762 34 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039892 1039926 34 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646790 646824 34 0.0
RAM 25233 25233 0 0.0
bl706-wifi FLASH 894604 894654 50 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960988 961022 34 0.0
RAM 16804 16804 0 0.0
bl702l+mfd FLASH 963610 963644 34 0.0
RAM 16964 16964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829356 829380 24 0.0
RAM 123300 123300 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814392 814424 32 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760396 760420 24 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 744632 744656 24 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 616162 616202 40 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 656218 656258 40 0.0
RAM 205548 205548 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677725 677757 32 0.0
RAM 78516 78516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697569 697601 32 0.0
RAM 81148 81148 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697569 697601 32 0.0
RAM 81148 81148 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654513 654537 24 0.0
RAM 73584 73584 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613789 613821 32 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633425 633449 24 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633425 633449 24 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 633085 633117 32 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652793 652825 32 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652793 652825 32 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608429 608461 32 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628289 628321 32 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628289 628321 32 0.0
RAM 71236 71236 0 0.0
efr32 lighting-app BRD4187C FLASH 933324 933356 32 0.0
RAM 135884 135884 0 0.0
lock-app BRD2605a FLASH 740992 741016 24 0.0
RAM 230240 230240 0 0.0
BRD4338a FLASH 741640 741680 40 0.0
RAM 230272 230272 0 0.0
window-app BRD4187C FLASH 1016408 1016432 24 0.0
RAM 127804 127804 0 0.0
esp32 all-clusters-app c3devkit DRAM 94080 94080 0 0.0
FLASH 1537598 1537628 30 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115032 0 0.0
FLASH 1548050 1548078 28 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2764623 2770249 5626 0.2
RAM 129424 129424 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6068112 6073738 5626 0.1
RAM 507392 507392 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5401442 5407068 5626 0.1
RAM 241136 241136 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4735064 4740690 5626 0.1
RAM 218304 218304 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12546958 12551242 4284 0.0
RAM 555122 555122 0 0.0
chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
FLASH 11204704 11208144 3440 0.0
RAM 605368 605368 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 10908791 10913075 4284 0.0
RAM 554266 554266 0 0.0
fabric-bridge-app debug unknown 4640 4640 0 0.0
FLASH 4561676 4563900 2224 0.0
RAM 204888 204888 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5676033 5681665 5632 0.1
RAM 228552 228552 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4785166 4789808 4642 0.1
RAM 204376 204376 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4417388 4419644 2256 0.1
RAM 198112 198112 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4556168 4558456 2288 0.1
RAM 202680 202680 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3095405 3100109 4704 0.2
RAM 159184 159184 0 0.0
thermostat-no-ble arm64 unknown 9432 9448 16 0.2
FLASH 4306728 4308632 1904 0.0
RAM 242808 242808 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6013397 6018069 4672 0.1
RAM 580928 580928 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10740221 10745405 5184 0.0
RAM 643008 643008 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913412 913440 28 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885020 885020 0 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846920 846948 28 0.0
RAM 141093 141093 0 0.0
nxp contact k32w0+release FLASH 581728 581760 32 0.0
RAM 70776 70776 0 0.0
k32w1+release FLASH 595640 595664 24 0.0
RAM 62992 62992 0 0.0
mcxw71+release FLASH 595392 595416 24 0.0
RAM 62992 62992 0 0.0
light k32w0+release FLASH 617780 617812 32 0.0
RAM 70248 70248 0 0.0
k32w1+release FLASH 681592 681624 32 0.0
RAM 48632 48632 0 0.0
mcxw71+release FLASH 681608 681640 32 0.0
RAM 48632 48632 0 0.0
lock k32w1+release FLASH 703912 703944 32 0.0
RAM 67132 67132 0 0.0
mcxw71+release FLASH 703936 703968 32 0.0
RAM 67132 67132 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645348 1645380 32 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551332 1551364 32 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467148 1467180 32 0.0
RAM 200696 200696 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463892 1463924 32 0.0
RAM 225048 225048 0 0.0
qpg lighting-app qpg6105+debug FLASH 659488 659512 24 0.0
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 617444 617476 32 0.0
RAM 99704 99704 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481072 32 0.0
RAM 144692 144692 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620046 620082 36 0.0
RAM 50988 50988 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687280 687314 34 0.0
RAM 148328 148328 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 780214 780248 34 0.0
RAM 110780 110780 0 0.0
bridge-app tlsr9258a FLASH 681050 681084 34 0.0
RAM 91644 91644 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 619808 619844 36 0.0
RAM 50940 50940 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707750 707786 36 0.0
RAM 74280 74280 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 624772 624806 34 0.0
RAM 144316 144316 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810424 810458 34 0.0
RAM 99448 99448 0 0.0
lock-app-dfu tlsr9528a FLASH 655654 655690 36 0.0
RAM 67000 67000 0 0.0
ota-requestor-app tlsr9258a FLASH 697026 697060 34 0.0
RAM 91236 91236 0 0.0
pump-app-usb tlsr9518adk80d FLASH 633432 633468 36 0.0
RAM 55816 55816 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610622 610658 36 0.0
RAM 53060 53060 0 0.0
shell tlsr9518adk80d FLASH 467336 467336 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 626938 626974 36 0.0
RAM 52660 52660 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652758 652794 36 0.0
RAM 56608 56608 0 0.0
thermostat tlsr9518adk80d FLASH 637352 637388 36 0.0
RAM 53452 53452 0 0.0
window-covering tlsr9118bdk40d FLASH 523538 523574 36 0.0
RAM 97284 97284 0 0.0
tizen all-clusters-app arm unknown 4876 4904 28 0.6
FLASH 1722360 1724120 1760 0.1
RAM 89076 89076 0 0.0
chip-tool-ubsan arm unknown 10316 10344 28 0.3
FLASH 17351778 17357842 6064 0.0
RAM 7559896 7562912 3016 0.0

Copy link

github-actions bot commented Sep 26, 2024

PR #35777: Size comparison from 648f088 to 4940638

Increases above 0.2%:

platform target config section 648f088 4940638 change % change
linux air-purifier-app debug FLASH 2764623 2770249 5626 0.2
chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
tizen all-clusters-app arm unknown 4876 4904 28 0.6
chip-tool-ubsan arm unknown 10316 10344 28 0.3
Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 648f088 4940638 change % change
bl602 lighting-app bl602 FLASH 1280488 1280532 44 0.0
RAM 95848 95848 0 0.0
bl602+mfd FLASH 1294354 1294398 44 0.0
RAM 95992 95992 0 0.0
bl602+rpc FLASH 1320438 1320482 44 0.0
RAM 104272 104272 0 0.0
bl702 lighting-app bl702 FLASH 944328 944362 34 0.0
RAM 15145 15145 0 0.0
bl702+mfd FLASH 946728 946762 34 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039892 1039926 34 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646790 646824 34 0.0
RAM 25233 25233 0 0.0
bl706-wifi FLASH 894604 894654 50 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960988 961022 34 0.0
RAM 16804 16804 0 0.0
bl702l+mfd FLASH 963610 963644 34 0.0
RAM 16964 16964 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829356 829380 24 0.0
RAM 123300 123300 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814392 814424 32 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760396 760420 24 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 744632 744656 24 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 616162 616202 40 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 656218 656258 40 0.0
RAM 205548 205548 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677725 677757 32 0.0
RAM 78516 78516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697569 697601 32 0.0
RAM 81148 81148 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697569 697601 32 0.0
RAM 81148 81148 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654513 654537 24 0.0
RAM 73584 73584 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613789 613821 32 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633425 633449 24 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633425 633449 24 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 633085 633117 32 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652793 652825 32 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652793 652825 32 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608429 608461 32 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628289 628321 32 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628289 628321 32 0.0
RAM 71236 71236 0 0.0
efr32 lighting-app BRD4187C FLASH 933324 933356 32 0.0
RAM 135884 135884 0 0.0
lock-app BRD2605a FLASH 740992 741016 24 0.0
RAM 230240 230240 0 0.0
BRD4338a FLASH 741640 741680 40 0.0
RAM 230272 230272 0 0.0
window-app BRD4187C FLASH 1016408 1016432 24 0.0
RAM 127804 127804 0 0.0
esp32 all-clusters-app c3devkit DRAM 94080 94080 0 0.0
FLASH 1537598 1537628 30 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115032 0 0.0
FLASH 1548050 1548078 28 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2764623 2770249 5626 0.2
RAM 129424 129424 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6068112 6073738 5626 0.1
RAM 507392 507392 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5401442 5407068 5626 0.1
RAM 241136 241136 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4735064 4740690 5626 0.1
RAM 218304 218304 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12546958 12551242 4284 0.0
RAM 555122 555122 0 0.0
chip-tool-ipv6only arm64 unknown 20456 20512 56 0.3
FLASH 11204704 11208144 3440 0.0
RAM 605368 605368 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 10908791 10913075 4284 0.0
RAM 554266 554266 0 0.0
fabric-bridge-app debug unknown 4640 4640 0 0.0
FLASH 4561676 4563900 2224 0.0
RAM 204888 204888 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5676033 5681665 5632 0.1
RAM 228552 228552 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4785166 4789808 4642 0.1
RAM 204376 204376 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4417388 4419644 2256 0.1
RAM 198112 198112 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4556168 4558456 2288 0.1
RAM 202680 202680 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3095405 3100109 4704 0.2
RAM 159184 159184 0 0.0
thermostat-no-ble arm64 unknown 9432 9448 16 0.2
FLASH 4306728 4308632 1904 0.0
RAM 242808 242808 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6013397 6018069 4672 0.1
RAM 580928 580928 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10740221 10745405 5184 0.0
RAM 643008 643008 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913412 913440 28 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885020 885020 0 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846920 846948 28 0.0
RAM 141093 141093 0 0.0
nxp contact k32w0+release FLASH 581728 581760 32 0.0
RAM 70776 70776 0 0.0
k32w1+release FLASH 595640 595664 24 0.0
RAM 62992 62992 0 0.0
mcxw71+release FLASH 595392 595416 24 0.0
RAM 62992 62992 0 0.0
light k32w0+release FLASH 617780 617812 32 0.0
RAM 70248 70248 0 0.0
k32w1+release FLASH 681592 681624 32 0.0
RAM 48632 48632 0 0.0
mcxw71+release FLASH 681608 681640 32 0.0
RAM 48632 48632 0 0.0
lock k32w1+release FLASH 703912 703944 32 0.0
RAM 67132 67132 0 0.0
mcxw71+release FLASH 703936 703968 32 0.0
RAM 67132 67132 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1645348 1645380 32 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551332 1551364 32 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467148 1467180 32 0.0
RAM 200696 200696 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463892 1463924 32 0.0
RAM 225048 225048 0 0.0
qpg lighting-app qpg6105+debug FLASH 659488 659512 24 0.0
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 617444 617476 32 0.0
RAM 99704 99704 0 0.0
stm32 light STM32WB5MM-DK FLASH 481040 481072 32 0.0
RAM 144692 144692 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620046 620082 36 0.0
RAM 50988 50988 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687280 687314 34 0.0
RAM 148328 148328 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 780214 780248 34 0.0
RAM 110780 110780 0 0.0
bridge-app tlsr9258a FLASH 681050 681084 34 0.0
RAM 91644 91644 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 619808 619844 36 0.0
RAM 50940 50940 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707750 707786 36 0.0
RAM 74280 74280 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 624772 624806 34 0.0
RAM 144316 144316 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810424 810458 34 0.0
RAM 99448 99448 0 0.0
lock-app-dfu tlsr9528a FLASH 655654 655690 36 0.0
RAM 67000 67000 0 0.0
ota-requestor-app tlsr9258a FLASH 697026 697060 34 0.0
RAM 91236 91236 0 0.0
pump-app-usb tlsr9518adk80d FLASH 633432 633468 36 0.0
RAM 55816 55816 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610622 610658 36 0.0
RAM 53060 53060 0 0.0
shell tlsr9518adk80d FLASH 467336 467336 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 626938 626974 36 0.0
RAM 52660 52660 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652758 652794 36 0.0
RAM 56608 56608 0 0.0
thermostat tlsr9518adk80d FLASH 637352 637388 36 0.0
RAM 53452 53452 0 0.0
window-covering tlsr9118bdk40d FLASH 523538 523574 36 0.0
RAM 97284 97284 0 0.0
tizen all-clusters-app arm unknown 4876 4904 28 0.6
FLASH 1722360 1724132 1772 0.1
RAM 89076 89076 0 0.0
chip-tool-ubsan arm unknown 10316 10344 28 0.3
FLASH 17351778 17357914 6136 0.0
RAM 7559896 7562952 3056 0.0

@mergify mergify bot merged commit 1b1719a into project-chip:master Sep 27, 2024
69 checks passed
DavidKorczynski pushed a commit to google/oss-fuzz that referenced this pull request Sep 30, 2024
- Reactivating UndefinedBehaviorSanitizer after having fixed UBSan
issue: project-chip/connectedhomeip#35777

- MemorySanitizer can not be activated due to false positives showing
for `glib`. Apparently all dependencies including glib will need to be
re-compiled with MSan to avoid these false-positives.
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
…roject-chip#35777)

* using LambdaBridge to cast function pointer

* adding support for Lambda that returns a CHIP_ERROR to LambdaBridge

* pass an out pointer to capture function return result

* Tizen Platform: Using LambdaBridge to safely invoke functions in GLib Matter context

* Update to not modify lambdabridge

* Potentiall cleaner code

* Update code to make it compile

* Update tizen code too

* Tizen platform fix

* Duplicating Changes to NuttX platform

* Tizen Platform Fix

---------

Co-authored-by: Andrei Litvin <[email protected]>
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.

4 participants