-
Notifications
You must be signed in to change notification settings - Fork 281
bv.get_modification broken #8046
Copy link
Copy link
Closed
Labels
Component: Python APIIssue needs changes to the python APIIssue needs changes to the python APIEffort: TrivialIssues require < 1 day of workIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaround
Milestone
Description
BN Version 5.3.9319-dev
After fixing the broken "show file modifications" snippet (by len(bv) -> bv.length):
Traceback (most recent call last):
File "<console>", line 2, in <module>
File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/binaryview.py", line 5215, in get_modification
length = core.BNGetModificationArray(self.handle, addr, data, length)
File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/_binaryninjacore.py", line 40716, in BNGetModificationArray
return _BNGetModificationArray(view, offset, result, len)
ctypes.ArgumentError: argument 3: TypeError: expected LP_c_ubyte instance instead of c_int_Array_1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: Python APIIssue needs changes to the python APIIssue needs changes to the python APIEffort: TrivialIssues require < 1 day of workIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaround