google / sandboxed-api

Generate sandboxes for C/C++ libraries automatically
https://developers.google.com/sandboxed-api/
Apache License 2.0
1.65k stars 189 forks source link

fd_set causes code generator to generate bogus code #129

Open DemiMarie opened 2 years ago

DemiMarie commented 2 years ago

If a function uses fd_set as an argument, the generator generates bogus and syntactically incorrect code. It should fail with a better error message instead.

cblichmann commented 2 years ago

Can you provide an example of the bogus and incorrect code? That would make it easier for me to verify and reproduce the problem.

DemiMarie commented 2 years ago

cares_sapi.sapi.h.gz