3 ms·
Assembly also inherits a lot of the common security problems C has (like buffer overflows), but makes them harder to identify. Actually, I'd say that it has ad
by userbinator 11y ago
Assembly also inherits a lot of the common security problems C has (like buffer overflows), but makes them harder to identify.
Actually, I'd say that it has advantages because the mindset is very different when writing Asm - it naturally forces you to think about things in a low-level and precise fashion, which keeps considerations such as buffer lengths more in the mind than higher-level languages that attempt to abstract it away.
Programming at the instruction level also allows much more fine tuning of instruction ordering and such to resist timing attacks, without any compiler optimisations getting in the way.