diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-05-30 11:28:49 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-05-30 11:28:49 -0400 |
| commit | d2877cfdea1ee2f960b014de5ad07c6a352da4c4 (patch) | |
| tree | 817494bfd719562588a73a917d7ea9af8d96b6c3 /python | |
| parent | 5e61fe0e0f4cb2e7747acc6f2cd73858d7bfe452 (diff) | |
nes.py : Add missing perform_get_address_size function
Diffstat (limited to 'python')
| -rw-r--r-- | python/examples/nes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/examples/nes.py b/python/examples/nes.py index 747dac83..8eefb0d2 100644 --- a/python/examples/nes.py +++ b/python/examples/nes.py @@ -707,6 +707,9 @@ class NESView(BinaryView): def perform_is_executable(self) -> bool: return True + def perform_get_address_size(self) -> int: + return self.address_size + def perform_get_entry_point(self) -> int: return struct.unpack("<H", self.read(0xfffc, 2))[0] |
