Detect pointer arithmetics because of LARGEADDRESSAWARE

Posted by Suma on Stack Overflow See other posts from Stack Overflow or by Suma
Published on 2010-06-16T09:23:32Z Indexed on 2010/06/16 9:32 UTC
Read the original article Hit count: 158

I would like to switch my application to LARGEADDRESSAWARE. One of issues to watch for is pointer arithmetic, as pointer difference can no longer be represented as signed 32b.

Is there some way how to find automatically all instances of pointer subtraction in a large C++ project?

If not, is there some "least effort" manual or semi-automatic method how to achieve this?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio