Skip to content

Commit 6711887

Browse files
committed
Remove hardcoded register
1 parent abc1056 commit 6711887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mythril/src/interrupt/idt.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ macro_rules! interrupt_fn_impl {
134134

135135
let rbp: usize;
136136
asm!(
137-
"mov rax, rbp",
138-
out("rax") rbp,
137+
"mov {}, rbp",
138+
out(reg) rbp,
139139
options(nomem, nostack)
140140
);
141141

0 commit comments

Comments
 (0)