Hi, All.
I am posting this same thread in C sub-forum.
I am working with a big app, which has been originally developed on C (but I suspect it has C++ modules also).
I do not know which kind of tools the Development team is using to compile and debug the app. (The app is working in UNIX, Linux, Windows, z/OS and other platforms). I apologize in advance for not providing more details.
The problems are:
1) I am finding inconsistent data in some containers.
2) I am finding also garbage data in some containers.
Reviewing the code, I have found several (or many) void pointers typecasting, from complex data structures to other complex data structures.
And I suspect here can be the possible the root cause of the mentioned issues.
Of course, we all know the problems related with void pointers typecasting; and the difference of this problems both in C and C++ programming.
But I feel I need to go deeper to give a strong backboard to my research to support it in front of my managers (I cannot just say: "Look, read this post"; or even: "Look, read the standard". I need some kind of previous investigation which someone might already have done).
So:
- Can anyone suggest me any document (book or authoritative documentation) where I can go deeply on void pointers typecasting issues?
- Can anyone suggest me any document (book or authoritative documentation) where I can find testing and proved solutions for the mentioned issues?
Any help would be much appreciate!
Thanks a lot in advance!
Pablo.