Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Dec 15, 2022
1 parent 573d21e commit 95605ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/python/debuggercontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ def __getitem__(self, name):
def __setitem__(self, name, val):
dbgcore.BNDebuggerSetRegisterValue(self.handle, name, val)

def __len__(self):
return len(self.regs)


class DebugBreakpoint:
"""
Expand Down

0 comments on commit 95605ab

Please sign in to comment.