Right now, the codegen specs (e.g. read.yml) include hardcoded proto and parm fields that correspond to the prototype and parameter list for each syscall. This is confusing, hard to read, and error prone. We should really use something like pag's cparser to parse syscall.h and generate these fields for us.
Right now, the codegen specs (e.g.
read.yml) include hardcodedprotoandparmfields that correspond to the prototype and parameter list for each syscall. This is confusing, hard to read, and error prone. We should really use something like pag's cparser to parsesyscall.hand generate these fields for us.