There are several large C++ source files. We need to find all pointer arithmetic operations in these files. Is it possible to do this task automatically?
Is it possible to disable pointer arithmetic in some compiler and get list of errors?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The short answer is “no”.
However, if you had software that could fully parse and understand your source code, that software would be able to determine this information. This is a major undertaking if you were to write such software yourself.