Skip to content

Commit c36e96b

Browse files
committed
Refine the error message
1 parent 51c4140 commit c36e96b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/error.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ pub enum Error {
5151
Unexpected(String),
5252
#[display("yield")]
5353
Yield,
54-
#[display("shadow stack lpad not 4-byte aligned")]
54+
#[display("cfi: lpad not 4-byte aligned")]
5555
CFILpadNot4ByteAligned,
56-
#[display("shadow stack not lpad")]
56+
#[display("cfi: lpad not found")]
5757
CFILpadNotFound,
58-
#[display("shadow stack label wrong")]
58+
#[display("cfi: lpad label mismatched")]
5959
CFILpadLabelMismatched,
60-
#[display("shadow stack value wrong")]
60+
#[display("cfi: shadow stack value fault")]
6161
CFIShadowStackValueFault,
62-
#[display("shadow stack out of stack")]
62+
#[display("cfi: shadow stack out of stack")]
6363
CFIShadowStackOutOfStack,
6464
}
6565

0 commit comments

Comments
 (0)