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

Method update

python/flowgraph.py:857–869  ·  view source on GitHub ↗

``update`` can be overridden by subclasses to allow a graph to be updated after it has been presented in the UI. This will automatically occur if the function referenced by the :py:attr:`function` property has been updated. Return a new :class:`FlowGraph` object with the new information if

(self)

Source from the content-addressed store, hash-verified

855 interaction.show_graph_report(title, self)
856
857 def update(self):
858 """
859 ``update`` can be overridden by subclasses to allow a graph to be updated after it has been
860 presented in the UI. This will automatically occur if the function referenced by the :py:attr:`function`
861 property has been updated.
862
863 Return a new :class:`FlowGraph` object with the new information if updates are desired. If the graph
864 does not need updating, ``None`` can be returned to leave the graph in its current state.
865
866 :return: Updated graph, or ``None``
867 :rtype: FlowGraph
868 """
869 return NotImplemented
870
871 def set_option(self, option, value=True):
872 core.BNSetFlowGraphOption(self.handle, option, value)

Callers 2

_updateMethod · 0.95
attr_matchesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected