Fix icicle deprecation warning

This commit is contained in:
Maurice Heumann
2025-07-13 12:07:46 +02:00
parent fe213743a3
commit cc8aa65aec

View File

@@ -476,7 +476,7 @@ pub(crate) struct X86RegisterNodes {
impl X86RegisterNodes {
pub fn new(arch: &icicle_cpu::Arch) -> Self {
let r = |name: &str| arch.sleigh.get_reg(name).unwrap().var;
let r = |name: &str| arch.sleigh.get_varnode(name).unwrap();
let nodes = [
"CF", "F1", "PF", "F3", "AF", "F5", "ZF", "SF", "TF", "IF", "DF", "OF", "IOPL", "NT",
"F15", "RF", "VM", "AC", "VIF", "VIP", "ID",