Match disassembly SSA ID names for annotated resource handles

This commit is contained in:
Jake Turner
2025-05-08 10:25:00 +01:00
parent dbe2d9dd2e
commit 41eb7483cc
+3 -1
View File
@@ -2403,8 +2403,10 @@ bool ThreadState::ExecuteInstruction(DebugAPIWrapper *apiWrapper,
{
resName = m_Program.GetHandleAlias(baseResource);
}
// Use the handle alias of the result SSA ID to match the disassembly
rdcstr handleAlias = m_Program.GetHandleAlias(result.name);
result = resource;
result.name = resName;
result.name = handleAlias;
// Parse the packed annotate handle properties
// resKind : {compType, compCount} | {structStride}