MCPcopy Create free account
hub / github.com/FastLED/FastLED / loaded_section_for

Function loaded_section_for

ci/bin_bloat_analysis.py:80–89  ·  view source on GitHub ↗
(addr: int, sections: list[Section])

Source from the content-addressed store, hash-verified

78
79
80def loaded_section_for(addr: int, sections: list[Section]) -> Section | None:
81 for s in sections:
82 if not s.is_loadable:
83 continue
84 # PROGBITS only
85 if "W" in s.flags and s.name.startswith(".dram0.dummy"):
86 continue
87 if s.addr <= addr < s.end:
88 return s
89 return None
90
91
92def parse_nm_symbols() -> list[tuple[int, int, str, str]]:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected