From 44cf4311014c0d16a6e809117dcb06400e023da1 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sun, 4 Aug 2019 22:52:47 -0400 Subject: remove .size on function --- python/function.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'python') diff --git a/python/function.py b/python/function.py index 1ac95fb6..0bbd0a99 100644 --- a/python/function.py +++ b/python/function.py @@ -848,11 +848,6 @@ class Function(object): """Function start address (read-only)""" return core.BNGetFunctionStart(self.handle) - @property - def size(self): - """This property is not implemented as its implementation is not well defined. Use `.total_bytes` or `.highest_address-.lowest_address` instead""" - raise NotImplementedError("Intentionally unimplemented--use .total_bytes or .highest_address-.lowest_address.") - @property def total_bytes(self): """Total bytes of a function calculated by summing each basic_block. Because basic blocks can overlap and have gaps between them this may or may not be equivalent to a .size property.""" -- cgit v1.3.1