by alephnan · 6y ago · 0 comments
Trying to compile Firefox was already a challenge. That, and each compile took an hour. IIRC, Firefox is built on some esoteric architecture / design pattern that's definitely beyond the scope of design patterns undergraduate students are familiar with.
By the end of the term, no one discovered a 0-day, unsurprising considering half the class didn't even try. There were 90 students in the class, and I ended up being the only person to produce a JS payload that would crash Firefox in one of the newer HTML5 libraries. It's neither a zero-day or exciting or profitable vulnerability though.
Realizing everyone in the class would fail, the professor changed the grade of this project to only account for 30% of the grade. I spent most of my time on this project while disregarding the rest of the busy work for the class. In the end, I got a C grade while my peers who didn't even attempt to tackle this project received higher grades.
You don't know him at all, apart from a short anecdotal incident, where even OP does not portray him in a bad light.
That's very unfair imo. The majority of people I know in academia don't fit this profile at all. There is obviously disappointing stuff happening, but people generally still are working/teaching in good faith.
> ... I ended up ... neither a zero-day ...
> Realizing everyone in the class would fail, the professor changed the grade of this project to only account for 30% of the grade.
> I ... disregarding the rest of the busy work for the class.
It sounds like OP could not find a zero day (old_grade=0) and did not do any other homework (new_grade=0), therefore should have received max(0, 0), but received a C.
Things are much better these days, but there is still much inherent complexity in a project like Firefox.
At first glance, this sounds terrible. But when compared to software projects of comparable size, Firefox is hardly unique. Compare to compiling Chromium for example, or even the Linux kernel.
Linux is almost trivially easy, only slightly harder than the usual configure && make and has very few dependencies.
Firefox is pretty painful but it's doable with a decent amount of care and bandwidth.
Chromium is a fairly typical google project where the recommended first step to building it is to become a google employee but some alternative workarounds are also available if that's not practical.
At some point I started wondering if indeed I'd get the fix in faster by starting to practice whiteboard interviews.
For what it's worth, this is how it work's if you're a Google employee too.
https://chromium.googlesource.com/chromium/src/+/master/docs...
[1]: https://techgage.com/wp-content/uploads/2019/11/Compile-Perf...
At one of the FAANG I previously worked at, it took an hour to compile JavaScript.
Them are their users most likely are the #1 source of build documentation, bug reports and fixes in OSS