From 16e302df4a6c762af67a8b0453aa42d591421ed6 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 15 Oct 2019 09:24:50 -0400 Subject: Expose Segment auto_defined property --- python/binaryview.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index 9c67b097..3f69c7d3 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -812,6 +812,10 @@ class Segment(object): def relocation_count(self): return core.BNSegmentGetRelocationsCount(self.handle) + @property + def auto_defined(self): + return core.BNSegmentIsAutoDefined(self.handle) + @property def relocation_ranges(self): """List of relocation range tuples (read-only)""" -- cgit v1.3.1