3
24
Fork
You've already forked krabby
0

Fuzzing the lexer #1

Open
opened 2025年12月07日 12:02:09 +01:00 by bal-e · 0 comments
Owner
Copy link

krabby_lexer provides support for proc-macro2 and rustc-lexer. These alternative implementations should be used for comparison-based fuzz testing, e.g. using AFL. There are several concerns:

  • rustc-lexer supports some nightly-only syntax. These cases need to be ignored.
  • proc-macro2 expands doc comments. When comparing another implementation to it, doc comments need to be compared carefully.
`krabby_lexer` provides support for `proc-macro2` and `rustc-lexer`. These alternative implementations should be used for comparison-based fuzz testing, e.g. using AFL. There are several concerns: - `rustc-lexer` supports some nightly-only syntax. These cases need to be ignored. - `proc-macro2` expands doc comments. When comparing another implementation to it, doc comments need to be compared carefully.
bal-e added this to the (deleted) project 2025年12月07日 12:02:09 +01:00
Sign in to join this conversation.
No Branch/Tag specified
main
decl-macros
diagnostics
query
nameres
type-ir
scalar-lexer
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bal-e/krabby#1
Reference in a new issue
bal-e/krabby
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?