[GSoC] apps/wasm: add WASM 1.0 binary parser and disassembler #397
Open
dannydod
wants to merge 1 commits from
dannydod/kolibrios:wasm-parser into main
pull from: dannydod/kolibrios:wasm-parser
merge into: KolibriOS:main
KolibriOS:main
KolibriOS:animage-menu-fix
KolibriOS:kfm-update
KolibriOS:chore/update-cmm_apps
KolibriOS:asm-xml-lib
KolibriOS:cpu-task-manager
KolibriOS:opendial-update
KolibriOS:kernel-socket-ring-sparse
KolibriOS:kernel-net-tsc-seed
KolibriOS:kernel-tcp-sender-fixes
KolibriOS:nvme
KolibriOS:docpack-rework
KolibriOS:kernel-unload-driver
KolibriOS:net-arp-nowait
KolibriOS:tcp-close-rst
KolibriOS:kernel-tcp-send-after-close
KolibriOS:kernel-tcp-rexmt-timer
KolibriOS:drivers-usbrndis-throughput
KolibriOS:kernel-arp-remove-index
KolibriOS:usbstor-media-poll
KolibriOS:setup-rework
KolibriOS:sweetbread-meos-copyrights
KolibriOS:kernel-tcp-reassembly-queue
KolibriOS:iconv-cp866-dash
KolibriOS:vesa20-putimage-runs
KolibriOS:bcm57xx
KolibriOS:open-fix-587
KolibriOS:drivers-include-linux49-backports
KolibriOS:MarvellYukon-II
KolibriOS:MarvellYukon-I
KolibriOS:egor00f-patch-1
KolibriOS:rdsave-rewrite
KolibriOS:fix_602
KolibriOS:kernel-tcp-socket-list-locking
KolibriOS:network/getsockname
KolibriOS:rewrite_ide_drv
KolibriOS:apps/table-msvc-to-tcc
KolibriOS:netsurf-4
KolibriOS:vidmode-s3ide-clgd54xx-kms-etc
KolibriOS:updf-1.5
KolibriOS:pr-fs-unhardcode
KolibriOS:kbd-busoff
KolibriOS:webview-4
KolibriOS:workflow-fuse
KolibriOS:add-license-file-header-to-guide
KolibriOS:shell-improve-cpuid
KolibriOS:qrcodegen
KolibriOS:ci/update
KolibriOS:laser-tank-fix-win-height
KolibriOS:improvement/commit-and-branch-styles
KolibriOS:docs/libs
No Reviewers
Labels
Clear labels
Influence/Text/TYPO
AI
Eolite
FS
GSoC
Good First PR
HLL
HardwareTested
IRCC
Influence/Settings
Lang/C
Lang/FASM
Pay for the code
Subsystem/API
Subsystem/Audio
Subsystem/Graphics
Subsystem/IPC and events
Subsystem/Memory
Subsystem/Network
Subsystem/Services(daemon)
Subsystem/Taskmanager
Subsystem/VFS
Subsystem/Window
This issue or PR in the Google Source of Code program
The issue is suitable to beginners
Paid task
infinity service, audio drivers, midi, speacker, audio programs
vesa, vga, framebuffer, cursors, blitter, and video drivers
pipes, signals, events, shared memory
virt and phys memory allocators, malloc and other
userspace and kernel(for example: serial) services
process, threads, run apps, scheduler
drivers from filesystem, fs api, blkdev, programs that work with the file system
windows, skins, buttons, mouse and keyboard code for windows (not the base code)
Category
Applications
Category
Drivers
Category
General
Category
Kernel
Category
Libraries
Kind
Breaking
Breaking change that won't be backward compatible
Kind
Bug
Something is not working
Kind
Build
Kind
Documentation
Documentation changes
Kind
Enhancement
Improve existing functionality
Kind
Feature
New functionality
Kind
Security
This is security issue
Kind
Testing
Issue or pull request related to testing
PR
Ready to merge
Pull request is ready for merge
PR
Conflicts
PR conflicts with main
PR
Dependent
This PR is dependent on another PR
PR
Request changes
Changes requested in pull request
PR
Review required
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KolibriOS/kolibrios#397
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add a WASM parser/disassembler for KolibriOS in x86 FASM.
Parses all 12 sections of the WASM binary format and prints out output.
Tested on real WASM binaries (QEMU).
Sections: type, import, function, table, memory, global, export,
start, element, data, custom.
Note:
leb128_decode_i64 is not implemented yet correctly
i64.const parser function is currently stubbed
Code section is currently being skipped
46d867f307toe16589e95ewasm: add WASM 1.0 binary parser and disassemblerto [GSoC] apps/wasm: add WASM 1.0 binary parser and disassemblerView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.