optee_fuzzer
optee_fuzzer copied to clipboard
For seeding formats
Hi there,
I am wondering if the hex format for collected system call sequences was defined by you?
If so, would it be possible for you to give some documentation links to understand the format?
Yes, this is my own format. There is no documentation about it. The data structures can be found here: https://github.com/Riscure/optee_fuzzer/blob/master/shared/include/afl-tee.h#L45-L102
It is basically an array of SYSCALL_INVOKEs followed by arbitrary data that can be referenced by an ARG_DATA_* argument. The different argument types allow providing values, pointers to buffers, a value by dereferencing a pointer, etc. This way you can construct pretty much any chain of function calls.