MCPcopy 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_typesMethod · 0.95
get_exportsMethod · 0.95
get_importsMethod · 0.95
get_globalsMethod · 0.95
get_startMethod · 0.95
get_functionsMethod · 0.95
get_memoriesMethod · 0.95
get_segmentsMethod · 0.95
get_tablesMethod · 0.95
get_function_typesMethod · 0.95
get_codesec_offsetFunction · 0.80
get_code_section_sizeMethod · 0.80

Calls 2

sectionsMethod · 0.95
nextFunction · 0.50

Tested by 2

get_code_section_sizeMethod · 0.64
has_data_countMethod · 0.64