Closed riesentoaster closed 1 year ago
Closes #38 as well.
Testing related to #38 (only excerpts of the yaml file in examples):
hooks:
libc:
memcmp:
Broken, should either throw custom error or just ignore it since no data is there and it's not like we'd lose anything.
hooks:
libc:
Broken, should either throw custom error or just ignore it since no data is there and it's not like we'd lose anything.
hooks:
Broken, should either throw custom error or just ignore it since no data is there and it's not like we'd lose anything.
Throws a custom error. One could also argue that this isn't necessarily required, one might have a trace without hooks.
Works correctly (nothing added, no errors).
info:
Works correctly (nothing added, no errors).
info: { arch: armv7 }
Works correctly (nothing added, no errors) (well or at least it doesn't throw and we don't claim to do syntax checking).
instructions:
- ['0x004006a4']
Works correctly, throws custom error
instructions:
Broken, throws random error. Should throw custom error (since a trace without any instructions makes no sense) or ignore it (in case a user wants no coloring but just the diff view).
Throws custom error, is fine (except we might want to ignore it with the same reasoning as above, but I'm fine with either).
states
entry)Is ignored, fine by me.
Is ignored, fine by me.
Is ignored, fine by me.
Is ignored, fine by me
Broken, throws random exception. Should either throw custom exception or be ignored.
Throws custom exception, works.
Also, something else: The file picker for the importing should not be the save as dialog. And while you're at it: If no file is chosen, don't show an error message, just ignore it.
Three more bug:
states.entry.addr
or states.leave.addr
is empty or not present at all, a random exception is thrown.states.entry
or states.leave
is not present, a random exception is thrown.states
is not present, a random exception is thrown.Good job otherwise!
Screenshot
Abridged YAML
Color meanings
Further ToDos