def check_sym(self,v): if v._is_cst: x = self.bin.functions.get(v.value,None) or self.bin.variables.get(v.value,None) if x is not None: if isinstance(x,str): x=cpu.ext(x,size=64) else: x=cpu.sym(x[0],v.value,v.size) return x return None
def check_sym(self, v): if v._is_cst: x = self.bin.functions.get( v.value, None) or self.bin.variables.get(v.value, None) if x is not None: if isinstance(x, str): x = cpu.ext(x, size=64) else: x = cpu.sym(x[0], v.value, v.size) return x return None
def check_sym(self,v): if v._is_cst: x = self.symbols.get(v.value,None) if x is not None: if isinstance(x,str): x=cpu.ext(x,size=64) else: x=cpu.sym(x[0],v.value,v.size) return x return None