mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Merge pull request #45 from lallouslab/idc_get_proc_name
+ idc.py: added missing get_processor_name()
This commit is contained in:
@@ -2077,6 +2077,12 @@ SETPROC_USER = ida_idp.SETPROC_USER
|
||||
|
||||
def SetPrcsr(processor): return set_processor_type(processor, SETPROC_USER)
|
||||
|
||||
def get_processor_name():
|
||||
"""
|
||||
Get name of the current processor
|
||||
@return: processor name
|
||||
"""
|
||||
return ida_ida.inf_get_procname()
|
||||
|
||||
set_target_assembler = ida_idp.set_target_assembler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user