MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_custom_section

Method get_custom_section

tools/webassembly.py:495–499  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

493
494 @memoize
495 def get_custom_section(self, name):
496 for section in self.sections():
497 if section.type == SecType.CUSTOM and section.name == name:
498 return section
499 return None
500
501 @memoize
502 def get_segments(self):

Callers 10

get_function_namesMethod · 0.95
has_name_sectionMethod · 0.95
get_target_featuresMethod · 0.95
get_sourceMappingURLMethod · 0.95
has_debug_line_sectionFunction · 0.80
has_name_sectionFunction · 0.80
has_linking_sectionFunction · 0.80
has_debug_sectionMethod · 0.80

Calls 1

sectionsMethod · 0.95

Tested by 3

has_debug_sectionMethod · 0.64