Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ get_section
Method
get_section
tools/webassembly.py:491–492 ·
view source on GitHub ↗
(self, section_code)
Source
from the content-addressed store, hash-verified
489
return
memories
490
491
def
get_section(self, section_code):
492
return
next((s
for
s in self.sections()
if
s.type == section_code), None)
493
494
@memoize
495
def
get_custom_section(self, name):
Callers
13
get_types
Method · 0.95
get_exports
Method · 0.95
get_imports
Method · 0.95
get_globals
Method · 0.95
get_start
Method · 0.95
get_functions
Method · 0.95
get_memories
Method · 0.95
get_segments
Method · 0.95
get_tables
Method · 0.95
get_function_types
Method · 0.95
get_codesec_offset
Function · 0.80
get_code_section_size
Method · 0.80
Calls
2
sections
Method · 0.95
next
Function · 0.50
Tested by
2
get_code_section_size
Method · 0.64
has_data_count
Method · 0.64