Does the size of the hidden parameter (which is passed by value) containing the length of a string argument change with architecture? It appears to be 4 bytes on 32-bit, but I'm having a difficult time deciphering the generated assembler to determine if it is 4 or 8 bytes on an x86_64 compilation. The documentation that I've found is a little unclear on this. I'm having bizarre program behavior which leads me to believe I have stack corruption. The program is unfortunately crashing both valgrind and Intel Inspector.
↧