Skip navigation.
Home
The QNX Community Portal

View topic - Electric Fence Available for QNX

Electric Fence Available for QNX

QNX Application portings.

Electric Fence Available for QNX

Postby hojbjerg » Mon Aug 05, 2002 1:30 pm

Electric Fence has been ported to QNX and is available at: http://sourceforge.net/projects/openqnx/.

ElectricFence is a dynamic memory debugging library, which helps you find dynamic memory under and over runs. ElectricFence was originally pointed out to me and ported to QNX by Jim Prezorski. I did a minor clean up in the port so it wouldn't break any of the other OS builds.

The library is very simple to use - simply do following steps:

1. Unpack the tgz file
2. Do a make and make install
3. Link libefence.a to your application (-lefence)
4. Run you application and efence will cause a segmentation violation at the point were a memory under/over-run occurs.
5. Use your favorite debugger to determine location of memory under/over-run.

Enjoy,

Jens
hojbjerg
New Member
 
Posts: 3
Joined: Tue Jul 30, 2002 4:22 pm

Postby TheAlien » Wed Aug 07, 2002 2:54 pm

You should really look into making packages. There not hard to make. :P
TheAlien
Active Member
 
Posts: 36
Joined: Wed Jul 10, 2002 4:42 pm
Location: Nova Scotia, Canada

Packages

Postby hojbjerg » Fri Sep 06, 2002 3:10 pm

Alright I will take a look at that the next time.
--
Jens
hojbjerg
New Member
 
Posts: 3
Joined: Tue Jul 30, 2002 4:22 pm


Return to Porting

Who is online

Users browsing this forum: No registered users and 2 guests

cron