In scene1, cppcheck reports an error : Address of local auto-variable assigned to a function parameter. [autoVariables].
In scene2, 3, 4, cppcheck reports no error.
From source code, I found you use exhaustive attack method to detect such problem. Is there a better method ?
Last edit: houzhengtao 2020-08-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In scene1, cppcheck reports an error : Address of local auto-variable assigned to a function parameter. [autoVariables].
In scene2, 3, 4, cppcheck reports no error.
From source code, I found you use exhaustive attack method to detect such problem. Is there a better method ?
Last edit: houzhengtao 2020-08-07