summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2023-08-16 12:08:20 -0400
committerBrian Potchik <brian@vector35.com>2023-08-16 12:08:20 -0400
commite613b78c2fda396ffb7d54261681db88a788bd87 (patch)
tree6c8c436c90122bcd69a07a5fecbe9d3f8009b88f /python
parentf67e44770bc4666e725b2f5b1617d93e580996bc (diff)
Add some convenience flags to NotificationType.
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 80edc811..e84b40d1 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -171,6 +171,23 @@ class NotificationType(IntFlag):
ComponentFunctionRemoved = 1 << 36
ComponentDataVariableAdded = 1 << 37
ComponentDataVariableRemoved = 1 << 38
+ BinaryDataUpdates = DataWritten | DataInserted | DataRemoved
+ FunctionLifetime = FunctionAdded | FunctionRemoved
+ FunctionUpdates = FunctionLifetime | FunctionUpdated
+ DataVariableLifetime = DataVariableAdded | DataVariableRemoved
+ DataVariableUpdates = DataVariableLifetime | DataVariableUpdated
+ TagLifetime = TagAdded | TagRemoved
+ TagUpdates = TagLifetime | TagUpdated
+ SymbolLifetime = SymbolAdded | SymbolRemoved
+ SymbolUpdates = SymbolLifetime | SymbolUpdated
+ StringUpdates = StringFound | StringRemoved
+ TypeLifetime = TypeDefined | TypeUndefined
+ TypeUpdates = TypeLifetime | TypeReferenceChanged | TypeFieldReferenceChanged
+ SegmentLifetime = SegmentAdded | SegmentRemoved
+ SegmentUpdates = SegmentLifetime | SegmentUpdated
+ SectionLifetime = SectionAdded | SectionRemoved
+ SectionUpdates = SectionLifetime | SectionUpdated
+ ComponentUpdates = (ComponentAdded | ComponentRemoved | ComponentMoved | ComponentFunctionAdded | ComponentFunctionRemoved | ComponentDataVariableAdded | ComponentDataVariableRemoved)
class BinaryDataNotification: