-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We'll use DTRACEFLT_BADSIZE to distinguish in error messages between out-of-bounds errors in bcopy and the like, and size-too-large errors. (Without this, it's hard to tell if a, say, 0x12 in the fault value is a nearly-NULL pointer or a wrong size.) We'll use DTRACEFLT_INTERR to indicate can-never-happen errors where we have tested the actual condition already (and emitted a proper error) followed by a check to placate the verifier (which will always succeed if the actual condition check failed). The latter failure happening at runtime always indicates a bug in DTrace, not in the user's code, so indicate as much. Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
- Loading branch information
1 parent
9033301
commit a651809
Showing
3 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters