mirror of
https://github.com/cemu-project/idapython.git
synced 2025-02-25 22:13:48 +01:00
added idautils.IsBatchMode()
This commit is contained in:
parent
960a670de9
commit
49dcdc5ed3
@ -750,6 +750,14 @@ def ProcessUiActions(actions, flags=0):
|
|||||||
helper = __process_ui_actions_helper(actions, flags)
|
helper = __process_ui_actions_helper(actions, flags)
|
||||||
return False if len(helper) < 1 else idaapi.execute_ui_requests((helper,))
|
return False if len(helper) < 1 else idaapi.execute_ui_requests((helper,))
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
def IsBatchMode():
|
||||||
|
"""
|
||||||
|
Checks if batch mode is enabled
|
||||||
|
|
||||||
|
@return: True if batch mode is enabled and False otherwise
|
||||||
|
"""
|
||||||
|
return idaapi.cvar.batch != 0
|
||||||
|
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
class peutils_t(object):
|
class peutils_t(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user