fay59 / fcd

An optimizing decompiler
http://zneak.github.io/fcd
Other
705 stars 70 forks source link

Fcd crashes when parsing a parameterless prototype #41

Open fay59 opened 7 years ago

fay59 commented 7 years ago

Fcd crashes when it tries to parse a C header that contains a function prototype that has no parameters, like int foo();. The proper C syntax to mean that foo takes no parameter is int foo(void);, but this probably should be fixed.

fay59 commented 7 years ago

These repro steps are inaccurate. I should take better note next time I see it.