mirror of
https://github.com/radareorg/radius2.git
synced 2026-11-07 06:36:03 -10:00
Remove the PICK and RPICK ESIL operations
radare2 removed them and r2ghidra no longer emits them.
This commit is contained in:
1 parent
f462d70936
commit
3ba122ae11
1 file changed
-14
@@ -84,8 +84,6 @@ pub enum Operations {
|
||||
AddressRestore,
|
||||
Swap,
|
||||
Rotate,
|
||||
Pick,
|
||||
ReversePick,
|
||||
Pop,
|
||||
Duplicate,
|
||||
Number,
|
||||
@@ -217,8 +215,6 @@ impl Operations {
|
||||
"-F" => Operations::FloatNegate,
|
||||
"SWAP" => Operations::Swap,
|
||||
"ROT" => Operations::Rotate,
|
||||
"PICK" => Operations::Pick,
|
||||
"RPICK" => Operations::ReversePick,
|
||||
"POP" => Operations::Pop,
|
||||
"DUP" => Operations::Duplicate,
|
||||
"NUM" => Operations::Number,
|
||||
@@ -1076,16 +1072,6 @@ pub fn do_operation(state: &mut State, operation: &Operations) {
|
||||
state.stack.push(item);
|
||||
}
|
||||
}
|
||||
Operations::Pick => {
|
||||
let n = pop_concrete(state, false, false);
|
||||
let item = state.stack[state.stack.len() - n as usize].to_owned();
|
||||
state.stack.push(item);
|
||||
}
|
||||
Operations::ReversePick => {
|
||||
let n = pop_concrete(state, false, false);
|
||||
let item = state.stack[n as usize].to_owned();
|
||||
state.stack.push(item);
|
||||
}
|
||||
Operations::Pop => {
|
||||
state.stack.pop();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user