Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: CodeGuard


This question is not answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Oct 1, 2015 4:25 AM Last Post By: bernard roussely
bernard roussely

Posts: 106
Registered: 2/8/05
CodeGuard  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2015 7:22 AM
Hello,
CodeGuard is a very useful tool to check what may be going wrong with memory use. Questions:
- who is maintaining it?
- what is the issue with a 64 bit version?
- is there a way to trace uninitialized variables accessed at run-time?

Thanks,

bernard
Alex Belo

Posts: 626
Registered: 10/8/06
Re: CodeGuard
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 30, 2015 9:49 AM   in response to: bernard roussely in response to: bernard roussely
bernard roussely wrote:

CodeGuard is a very useful tool to check what may be going wrong with
memory use. Questions:
- who is maintaining it?

Embarcadero, of course.

- what is the issue with a 64 bit version?

There is no 64-bit version because CG does not work with clang.
AFAIUI the same is true for new bcc32c based on clang.

- is there a way to trace uninitialized variables accessed at
run-time?

AFAIR there is no such option; CG does not detect using of
uninitialized vars.

--
Alex
bernard roussely

Posts: 106
Registered: 2/8/05
Re: CodeGuard  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 30, 2015 11:28 AM   in response to: Alex Belo in response to: Alex Belo
Thanks Alex,

So my new questions are:
- is there something equivalent to Code Guard for the "new" compilers?
- what about Valgrind use with C++Builder? Did anyone try a port?

bernard
david hoke

Posts: 616
Registered: 2/9/07
Re: CodeGuard  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 30, 2015 1:01 PM   in response to: bernard roussely in response to: bernard roussely
bernard roussely wrote:

Thanks Alex,

So my new questions are:
- is there something equivalent to Code Guard for the "new" compilers?
- what about Valgrind use with C++Builder? Did anyone try a port?

FWIW -

I haven't used this, but might be worth looking at this:
http://www.drmemory.org/

for memory related issues. I realize CG looked at more than that -
maybe you'd like to extend DrMemory - :) .

Its web page does mention a system call tracer for windows, as well,
apparently included as part of Dr.Memory.
bernard roussely

Posts: 106
Registered: 2/8/05
Re: CodeGuard  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 1, 2015 4:25 AM   in response to: david hoke in response to: david hoke
Thanks David,

I'll have a look.

bernard
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02