summaryrefslogtreecommitdiff
path: root/include/wabt/binary-reader-logging.h
diff options
context:
space:
mode:
authorDiego Frias <styx5242@gmail.com>2023-09-15 13:49:31 -0700
committerGitHub <noreply@github.com>2023-09-15 13:49:31 -0700
commitb22be5a08611c53e8a893bbab049e6f18da6c55a (patch)
tree9b998aee94bada6db5b5715afe99d806167c8d52 /include/wabt/binary-reader-logging.h
parent0869da3eb84616b0dabefc34ea0d5326c1f43888 (diff)
downloadwabt-b22be5a08611c53e8a893bbab049e6f18da6c55a.tar.gz
wabt-b22be5a08611c53e8a893bbab049e6f18da6c55a.tar.bz2
wabt-b22be5a08611c53e8a893bbab049e6f18da6c55a.zip
Implement custom section reading/writing (#2284)
Diffstat (limited to 'include/wabt/binary-reader-logging.h')
-rw-r--r--include/wabt/binary-reader-logging.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wabt/binary-reader-logging.h b/include/wabt/binary-reader-logging.h
index ba205a10..4bb16deb 100644
--- a/include/wabt/binary-reader-logging.h
+++ b/include/wabt/binary-reader-logging.h
@@ -346,6 +346,12 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Result OnDylinkExport(std::string_view name, uint32_t flags) override;
Result EndDylinkSection() override;
+ Result BeginGenericCustomSection(Offset size) override;
+ Result OnGenericCustomSection(std::string_view name,
+ const void* data,
+ Offset size) override;
+ Result EndGenericCustomSection() override;
+
Result BeginTargetFeaturesSection(Offset size) override;
Result OnFeatureCount(Index count) override;
Result OnFeature(uint8_t prefix, std::string_view name) override;