News for hackers. Stuff that matters.
Re:What happens before main() is executed in C and why is it... by kbumsik on Friday May 04, 2018 @07:53PM (#16999368)
It is certainly possible to do this with C by editing a startup code. In embedded system, a source code of startup is provided and exposed by manufacturer's SDK so it is quite straightforward to do this.

Besides that, I can't see much difference between doing something before main() and just putting some code on the very top of main().

There are no comments on this comment yet.