-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various native functions are not hidden from mirrors. #15274
Comments
r35289 Added Fixed label. |
There is still a blacklist with cases where the VM throws uncatchable API errors: // These either cause the VM to segfault or throw uncatchable API errors. |
Added Triaged label. |
r43053. Remainder is a bug in io not mirrors. Added Fixed label. |
Change type checks in embedding API functions to return UnhandledExceptionErrors instead of APIErrors so they are catchable by Dart. Fixes invocation_fuzz_test. Bug: #15274 Bug: #23869 Change-Id: Ia6103e7ffceda897e475c1a3ba534c2f4b910475 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110020 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
This reverts commit ba72890. Reason for revert: Crash in bytecode modes Original change's description: > Add various missing argument checks to dart:io natives. > > Change type checks in embedding API functions to return UnhandledExceptionErrors instead of APIErrors so they are catchable by Dart. > > Fixes invocation_fuzz_test. > > Bug: #15274 > Bug: #23869 > Change-Id: Ia6103e7ffceda897e475c1a3ba534c2f4b910475 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110020 > Commit-Queue: Ryan Macnak <rmacnak@google.com> > Reviewed-by: Siva Annamalai <asiva@google.com> TBR=sortie@google.com,rmacnak@google.com,asiva@google.com Change-Id: Ib52ec03caf4b177cd91bb1d366df51588bf23177 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: #15274, #23869 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110580 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
Avoid reflective access to mirrors creating invalid reflectees. Change type checks in embedding API functions to return UnhandledExceptionErrors instead of APIErrors so they are catchable by Dart. Fixes invocation_fuzz_test. Bug: #15274 Bug: #23869 Bug: #37680 Change-Id: Ife3e3cb894c59620b0318e4e08947a3d1d45bab9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110620 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
mirrors/invoke_natives_test: Crash
The text was updated successfully, but these errors were encountered: