MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / funcNameEA

Method funcNameEA

src/disassembler/IDA/ida_analysis_api.py:44–56  ·  view source on GitHub ↗

Return the name of the function that was defined in the given address (including windows name fixes). Args: func_ea (int): effective address of the wanted function Return Value: The actual (wanted) name of the wanted function

(self, func_ea)

Source from the content-addressed store, hash-verified

42 return base_name
43
44 def funcNameEA(self, func_ea):
45 """Return the name of the function that was defined in the given address (including windows name fixes).
46
47 Args:
48 func_ea (int): effective address of the wanted function
49
50 Return Value:
51 The actual (wanted) name of the wanted function
52 """
53 func = self.disas.funcAt(func_ea)
54 if func is not None:
55 return self.funcNameInner(func.name)
56 return self.funcNameInner(self.disas.nameAt(func_ea))
57
58 def analyzeFunctionBlock(self, block_ea):
59 """Return pairs indicating function calls (or fptr refs) from the lines in the basic block instance.

Callers

nothing calls this directly

Calls 3

funcNameInnerMethod · 0.95
funcAtMethod · 0.45
nameAtMethod · 0.45

Tested by

no test coverage detected