MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / replace

Method replace

python/workflow.py:534–543  ·  view source on GitHub ↗

``replace`` Replace the specified ``activity``. :param str activity: the Activity to replace :param str new_activity: the replacement Activity :return: True on success, False otherwise :rtype: bool

(self, activity: ActivityType, new_activity: str)

Source from the content-addressed store, hash-verified

532 return core.BNWorkflowRemove(self.handle, str(activity))
533
534 def replace(self, activity: ActivityType, new_activity: str) -> bool:
535 """
536 ``replace`` Replace the specified ``activity``.
537
538 :param str activity: the Activity to replace
539 :param str new_activity: the replacement Activity
540 :return: True on success, False otherwise
541 :rtype: bool
542 """
543 return core.BNWorkflowReplace(self.handle, str(activity), str(new_activity))
544
545 def graph(self, activity: ActivityType = "", sequential: bool = False, show: bool = True) -> Optional[FlowGraph]:
546 """

Callers 6

_load_moduleMethod · 0.45
get_instruction_textMethod · 0.45
parse_pdb_infoFunction · 0.45
insertMethod · 0.45
demangle_to_typeMethod · 0.45
get_infoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected