Jump to content
  • Advertisement
Sign in to follow this  
kelaklub

C++ 64 bit migration tools

This topic is 4212 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Testing company code to work in a 64 bit environment. Can anyone recommend any tools that can help find memory problems that may result from a 32 bit to 64 bit migration. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Windows Vista x64 -> run application.

Sure I'm joking, this won't test all flaws, but using an application is the best way to know if it work :)

Share this post


Link to post
Share on other sites
Quote:
Original post by Dunge
Windows Vista x64 -> run application.

Sure I'm joking, this won't test all flaws, but using an application is the best way to know if it work :)
That won't test anything. It'll just run in 32-bit emulation.

I don't know of any tools, but if you just look for casts to/from int/pointer or handle types, it should be obvious.

Share this post


Link to post
Share on other sites
If you're using VC, build with /Wp64 (or Project->Properties->Configuration Properties->C/C++->General->"Detect 64-bit Portability Issues".

The usual mistakes are bad assumptions about the size of int, long, and pointers. In particular there is a ton of code that assumes that they are all the same size and casts between them.

Share this post


Link to post
Share on other sites
Such utility is Viva64. It is the lint-like static analyzer С++ code, developed specially for search of errors of port of applications on 64-bit systems. It on the order surpasses diagnostic opportunities of a key /Wp64. Developers of the given utility also managed to collect on a site many interesting links to resources on the given subjects.
http://www.viva64.com

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!