summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py5
-rw-r--r--python/function.py10
2 files changed, 5 insertions, 10 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 8495255c..014de6ad 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -2765,11 +2765,6 @@ class ReferenceSource(object):
return NotImplemented
return self.address > other.address
- def __gt__(self, other):
- if not isinstance(other, self.__class__):
- return NotImplemented
- return self.address >= other.address
-
def __le__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
diff --git a/python/function.py b/python/function.py
index 75a50f12..76c8de0c 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1639,11 +1639,6 @@ class Function(object):
"""Whether automatic analysis was skipped for this function"""
return core.BNIsFunctionAnalysisSkipped(self.handle)
- @property
- def analysis_skip_reason(self):
- """Function analysis skip reason"""
- return AnalysisSkipReason(core.BNGetAnalysisSkipReason(self.handle))
-
@analysis_skipped.setter
def analysis_skipped(self, skip):
if skip:
@@ -1652,6 +1647,11 @@ class Function(object):
core.BNSetFunctionAnalysisSkipOverride(self.handle, FunctionAnalysisSkipOverride.NeverSkipFunctionAnalysis)
@property
+ def analysis_skip_reason(self):
+ """Function analysis skip reason"""
+ return AnalysisSkipReason(core.BNGetAnalysisSkipReason(self.handle))
+
+ @property
def analysis_skip_override(self):
"""Override for skipping of automatic analysis"""
return FunctionAnalysisSkipOverride(core.BNGetFunctionAnalysisSkipOverride(self.handle))