diff options
| author | Brian Potchik <brian@vector35.com> | 2022-11-20 21:35:06 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2022-11-20 21:35:06 -0500 |
| commit | 0763a5064d53a6ec58b7bd40e8c47679d55a81d0 (patch) | |
| tree | bedd36cb2c0c857ab438389c2ac3e0bdb97b7012 /python/binaryview.py | |
| parent | ae69370eb054e2d1679aff0247ad3e217df62a62 (diff) | |
Initial constant expression builtin outliner.
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 9c318f0a..35be7068 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -6047,6 +6047,9 @@ class BinaryView: raise TypeError("Removal is only supported with a Component or string representing its Guid") + def get_constant_data(self, addr: int) -> 'DataBuffer': + return databuffer.DataBuffer(handle=core.BNGetConstantData(self.handle, addr)) + def get_strings(self, start: Optional[int] = None, length: Optional[int] = None) -> List['StringReference']: """ ``get_strings`` returns a list of strings defined in the binary in the optional virtual address range: |
