dart-lang / dart-lang/native

[native_assets_cli] [doc] [example] Using sanitizers

Open
#840 0 comments 0 reactions 0 assignees View on GitHub
package:hooks
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 10h
Merged PRs (30d)
47

Description

As we know, it is often a bit more error-prone when working with FFI. Therefore, when someone uses these FFI-related tools, it may be a good idea to show people how to use sanitizers (e.g. ASAN) to test code.

For my personal usage (flutter_rust_bridge), it is sufficient to see just a brief comment about how to compile it. More generally, it may be helpful to have some doc or a demo doing so. If you like, after it gets working in flutter_rust_bridge's CI, I am happy to write documentations and share to everyone how to do it in more details.

---

Related (but in another repo): https://github.com/dart-lang/sdk/issues/54193

P.S. It seems that this issue can belong to both native_assets_cli and ffigen and other packages.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.