IDA allows one to rename a program entity (e.g. register, variable, function) using
N shortcut. Is it possible to get a list of such user-defined names in IDA?
idautils.Names function might be of interest to you, as it returns a list of
(ea, name) tuples for all names defined in the IDB and the ea at which they're located.
Additionally, you can use the answer to the question Igor linked (Get a list of global variables with IDA python) to get a list of all functions.
Once you have the
eas you can do the following to figure out if a function or ea was named by the user:
def is_user_name(ea): f = idc.GetFlags(ea) return idc.hasUserName(f)
This function will return true if an EA has a name set by the user either programatically or manually.
You can use View->Open subview->Names or Shift-F4. Note that the list included all names, both user-defined as well as generated by IDA (e.g. ASCII string names).
See also related Get a list of global variables with IDA python