Skip to content

fix(parser): update RE_DATA regex to match dotted data segment IDs#3

Open
Owanesh wants to merge 1 commit intoSKKU-SecLab:mainfrom
Owanesh:fix/2-parsing-error
Open

fix(parser): update RE_DATA regex to match dotted data segment IDs#3
Owanesh wants to merge 1 commit intoSKKU-SecLab:mainfrom
Owanesh:fix/2-parsing-error

Conversation

@Owanesh
Copy link

@Owanesh Owanesh commented Mar 11, 2026

The \w character class in RE_DATA excludes periods, causing data segments like $.rodata and $.data (generated by LLVM/clang toolchains) to be silently dropped during WAT roundtrip. [See more: #2 ]

Closes #2

The \w character class in RE_DATA excludes periods, causing data segments like $.rodata and $.data (generated by LLVM/clang toolchains) to be silently dropped during WAT roundtrip.

Closes SKKU-SecLab#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: RE_DATA regex fails to match data segment IDs containing dots (e.g. $.rodata, $.data)

1 participant