False) ndefs = xrefs.size() if ea not in xrefs: xrefs.append(ea) if gco.is_def(): if ea not in xrefs: xrefs.append(ea) ndefs = len(xrefs) collect_xrefs(xrefs, ctx, mop, mlist, du, True) show_xrefs(ea, gco, xrefs, ndefs) else: w("Could not find the operand in the microcode, sorry" ) else: w("Failed to represent %s as microcode list" % gco.name) else: w("%08x: %s" % (errea, ida_hexrays.get_merror_desc(merr, mba))) else: w("%08x: %s" % (hf.errea, hf.str)) else: w("Could not find a register or stkvar in the current operand") else: w("Please position the cursor on an instruction") else: w("Please position the cursor within a function") else: print('vds12: Hex-rays is not available.')
ud = graph.get_ud(ida_hexrays.GC_REGS_AND_STKVARS) du = graph.get_du(ida_hexrays.GC_REGS_AND_STKVARS) if gco.is_use(): collect_xrefs(xrefs, ctx, mop, mlist, ud, False) ndefs = xrefs.size() if ea not in xrefs: xrefs.append(ea) if gco.is_def(): if ea not in xrefs: xrefs.append(ea) ndefs = len(xrefs) collect_xrefs(xrefs, ctx, mop, mlist, du, True) show_xrefs(ea, gco, xrefs, ndefs) else: w("Could not find the operand in the microcode, sorry") else: w("Failed to represent %s as microcode list" % gco.name) else: w("%08x: %s" % (errea, ida_hexrays.get_merror_desc(merr, mba))) else: w("%08x: %s" % (hf.errea, hf.str)) else: w("Could not find a register or stkvar in the current operand") else: w("Please position the cursor on an instruction") else: w("Please position the cursor within a function") else: print('vds12: Hex-rays is not available.')