3 ms·
People expect to check source code before running it. They do not expect to have to check it before compiling it. Malware works by taking advantage of peoples'
by WalterBright 5y ago
People expect to check source code before running it. They do not expect to have to check it before compiling it.
Malware works by taking advantage of peoples' expectations.
- SubjectToChange 5y agoPeople expect to check source code before running it. They do not expect to have to check it before compiling it. Why are they compiling untrusted code? To see if it's syntactically correct? If the code you're compiling is using a build system, you're already compromised. Compilation of untrusted code should always be sandboxed, regardless of compile-time programming capabilities.
- gpderetta 5y agoGiven the way modern IDEs work, unrestricted compile time evaluation would make it dangerous to even open potentially malicious code.