News for hackers. Stuff that matters.
Re:Pretty.c by nneonneo on Thursday October 24, 2024 @06:36PM (#41940544)
Now I have a very evil idea: what about registering a binfmt handler for the header bytes “#include”? Sure, it doesn’t handle all C/C++ programs (notably any program that dares to start with a comment), but it would not require modifying any source code!

(For even more insanity I guess you could also trigger on // and /*, although there’s some risk of false positives then!)

There are no comments on this comment yet.