MCPcopy Create free account
hub / github.com/WebAssembly/wabt / BeginSection

Method BeginSection

src/binary-reader-objdump.cc:242–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 using BinaryReaderObjdumpBase::BinaryReaderObjdumpBase;
241
242 Result BeginSection(Index section_index,
243 BinarySection section_code,
244 Offset size) override {
245 BinaryReaderObjdumpBase::BeginSection(section_index, section_code, size);
246 if (section_code != BinarySection::Custom) {
247 objdump_state_->section_names.Set(section_index,
248 wabt::GetSectionName(section_code));
249 }
250 return Result::Ok;
251 }
252
253 Result BeginCustomSection(Index section_index,
254 Offset size,

Callers

nothing calls this directly

Calls 2

GetSectionNameFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected