The DexDeclareAddress command checks the value of a variable at a certain point in the debugged program, and saves that value to be used in other commands. If the value at that point is not a valid address however, it currently causes an error in Dexter when we try to cast it - this is fixed in this patch by catching the error and leaving the address value unresolved.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I've added an inline suggestion but I'm happy with or without that change, LGTM.
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py | ||
---|---|---|
2–1 | Changing the pass here to continue, then dropping the else: may improve readability now that the additional try block is required. |
Changing the pass here to continue, then dropping the else: may improve readability now that the additional try block is required.