Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For seeding formats #9

Open
dengpeiyao0515 opened this issue Mar 22, 2021 · 1 comment
Open

For seeding formats #9

dengpeiyao0515 opened this issue Mar 22, 2021 · 1 comment

Comments

@dengpeiyao0515
Copy link

Hi there,

I am wondering if the hex format for collected system call sequences was defined by you?
0
If so, would it be possible for you to give some documentation links to understand the format?

@MartijnB
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants