mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 04:45:01 +00:00
Improve ruff_parse_simple to find UTF-8 violations (#5008)
Improves the `ruff_parse_simple` fuzz harness by adding checks for parsed locations to ensure they all lie on UTF-8 character boundaries. This will allow for faster identification of issues like #5004. This also adds additional details for Apple M1 users and clarifies the importance of using `init-fuzzer.sh` (thanks for the feedback, @jasikpark 🙂).
This commit is contained in:
parent
9db622afe1
commit
70e6c212d9
6 changed files with 57 additions and 1976 deletions
|
@ -1,2 +1,3 @@
|
|||
pub use crate::node::AstNode;
|
||||
pub use rustpython_ast::*;
|
||||
pub use rustpython_parser::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue