3 ms·
It's pretty hard with strcmp. On modern x86_64 strcmp is vectorised and the first N bytes are compared simultaneously. I have code samples + remote exploit cod
by l_zzie 10y ago
It's pretty hard with strcmp. On modern x86_64 strcmp is vectorised and the first N bytes are compared simultaneously.
I have code samples + remote exploit code against nonvectorised strcmp; I can write this up if anyone thinks it would be helpful.