[Bug] Fixed VPTERNLOG[D|Q] RW info when the predicate doesn't influence DST

This commit is contained in:
kobalicek
2023-04-26 01:11:05 +02:00
parent ff6775f424
commit 42894f67e5
4 changed files with 41 additions and 10 deletions

View File

@@ -2236,7 +2236,17 @@ class InstRWInfoTable extends core.Task {
}
}
}
return { category: "Generic", rwOps };
const name = dbInsts.length ? dbInsts[0].name : "";
switch (name) {
case "vpternlogd":
case "vpternlogq":
return { category: "GenericEx", rwOps };
default:
return { category: "Generic", rwOps };
}
}
function queryRwByData(dbInsts, rwOpsArray) {