|
| 1 | +********* "unicode_ident" [Rlib] has reached 12 instances ********* |
| 2 | +********* "build_script_build" [Executable] has reached 156 instances ********* |
| 3 | +********* "proc_macro2" [Rlib] has reached 1106 instances ********* |
| 4 | +********* "quote" [Rlib] has reached 505 instances ********* |
| 5 | +********* "syn" [Rlib] has reached 6924 instances ********* |
| 6 | +********* "safety_tool_parser" [Rlib] has reached 707 instances ********* |
| 7 | +********* "safety_tool_macro" [ProcMacro] has reached 35 instances ********* |
| 8 | +********* "safety_tool_lib" [Rlib] has reached 0 instances ********* |
| 9 | +********* "demo" [Rlib] has reached 8 instances ********* |
| 10 | +"test" ("src/lib.rs:12:1: 12:26") |
| 11 | + => "#[Safety::inner(UnReachable, kind = \"precond\", memo =\n\"It's undefined behavior to reach code marked with this intrinsic function.\")]\n" |
| 12 | + |
| 13 | +"MyStruct::get" ("src/lib.rs:40:5: 40:42") |
| 14 | + => "#[Safety::inner(Init(self.ptr, u8, self.len), kind = \"precond\", memo =\n\"The ptr must be initialized first!\")]\n" |
| 15 | + |
| 16 | +"MyStruct::get" ("src/lib.rs:40:5: 40:42") |
| 17 | + => "#[Safety::inner(InBound(self.ptr, u8, self.len), kind = \"precond\", memo =\n\"The ptr must be within the length.\")]\n" |
| 18 | + |
| 19 | +"MyStruct::get" ("src/lib.rs:40:5: 40:42") |
| 20 | + => "#[Safety::inner(ValidNum(self.len * sizeof(u8), [0, isize :: MAX]), kind =\n\"precond\", memo =\n\"Slice length can't exceed isize::MAX due to allocation limit.\")]\n" |
| 21 | + |
| 22 | +"MyStruct::get" ("src/lib.rs:40:5: 40:42") |
| 23 | + => "#[Safety::inner(Alias(self.ptr), kind = \"hazard\", memo =\n\"Make sure don't alias the ptr.\")]\n" |
| 24 | + |
| 25 | +********* "demo" [Executable] has reached 18 instances ********* |
| 26 | +"demo::MyStruct::get" ("/home/gh-zjp-CN/tag-std/demo/rustc_driver/tests/basic/src/lib.rs:40:5: 40:42") |
| 27 | + => "#[Safety::inner(Init(self.ptr, u8, self.len), kind = \"precond\", memo =\n\"The ptr must be initialized first!\")]\n" |
| 28 | + |
| 29 | +"demo::MyStruct::get" ("/home/gh-zjp-CN/tag-std/demo/rustc_driver/tests/basic/src/lib.rs:40:5: 40:42") |
| 30 | + => "#[Safety::inner(InBound(self.ptr, u8, self.len), kind = \"precond\", memo =\n\"The ptr must be within the length.\")]\n" |
| 31 | + |
| 32 | +"demo::MyStruct::get" ("/home/gh-zjp-CN/tag-std/demo/rustc_driver/tests/basic/src/lib.rs:40:5: 40:42") |
| 33 | + => "#[Safety::inner(ValidNum(self.len * sizeof(u8), [0, isize :: MAX]), kind =\n\"precond\", memo =\n\"Slice length can't exceed isize::MAX due to allocation limit.\")]\n" |
| 34 | + |
| 35 | +"demo::MyStruct::get" ("/home/gh-zjp-CN/tag-std/demo/rustc_driver/tests/basic/src/lib.rs:40:5: 40:42") |
| 36 | + => "#[Safety::inner(Alias(self.ptr), kind = \"hazard\", memo =\n\"Make sure don't alias the ptr.\")]\n" |
| 37 | + |
0 commit comments