Stack corruption in C++

前端 未结 6 915
囚心锁ツ
囚心锁ツ 2020-12-04 22:44

In C++, in which way the stack may get corrupted. One way I guess is to overwriting the stack variables by accessing an array beyond its boundaries. Is there any other way t

6条回答
  •  再見小時候
    2020-12-04 23:02

    Calling a function with the wrong calling convention.

    (though this is technically compiler-specific, not a question of C++, every C++ compiler has to deal with that.)

提交回复
热议问题