Remove the PICK and RPICK ESIL operations

radare2 removed them and r2ghidra no longer emits them.
This commit is contained in:
pancake committed 2026-11-06 21:46:53 +01:00
1 parent f462d70936
commit 3ba122ae11
1 file changed
-14
-14
View File
@@ -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();
}