DUMA 2.5.14 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News DUMA 2.5.14 (Default branch)
# 1  
Old 04-28-2008
DUMA 2.5.14 (Default branch)

DUMA (Detect Unintended Memory Access) stops your program on the exact instruction that overruns (or underruns) a malloc() memory buffer. GDB will then display the source-code line that causes the bug. It works by using the virtual-memory hardware to create a red-zone at the border of each buffer: touch that, and your program stops. It can catch formerly impossible-to-catch overrun bugs. DUMA is a fork of Bruce Perens' Electric Fence library. License: GNU General Public License (GPL) Changes:
The switch DUMA_ALLOW_MALLOC_0 has been removed. The switches DUMA_MALLOC_0_STRATEGY and DUMA_NEW_0_STRATEGY have been added, and now the allocator for size zero is ANSI/C++ standard compliant. Most compiler warnings have been removed. A suggestion for ~/.gdbinit and a hint on mprotectFailed() have been added. The README has been updated.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
Encode::Detect::Detector(3)				User Contributed Perl Documentation			       Encode::Detect::Detector(3)

NAME
Encode::Detect::Detector - Detects the encoding of data SYNOPSIS
use Encode::Detect::Detector; my $charset = detect($octets); my $d = new Encode::Detect::Detector; $d->handle($octets); $d->handle($more_octets); $d->end; my $charset = $d->getresult; DESCRIPTION
This module provides an interface to Mozilla's universal charset detector, which detects the charset used to encode data. METHODS
$charset = Encode::Detect::Detector->detect($octets) Detect the charset used to encode the data in $octets and return the charset's name. Returns undef if the charset cannot be determined with sufficient confidence. $d = Encode::Detect::Detector->new() Creates a new "Encode::Detect::Detector" object and returns it. $d->handle($octets) Provides an additional chunk of data to be examined by the detector. May be called multiple times. Returns zero on success, nonzero if a memory allocation failed. $d->eof Informs the detector that there is no more data to be examined. In many cases, this is necessary in order for the detector to make a decision on the charset. $d->reset Resets the detector to its initial state. $d->getresult Returns the name of the detected charset or "undef" if no charset has (yet) been decided upon. May be called at any time. SEE ALSO
Encode::Detect AUTHOR
John Gardiner Myers <jgmyers@proofpoint.com> SUPPORT
For help and thank you notes, e-mail the author directly. To report a bug, submit a patch, or add to the wishlist please visit the CPAN bug manager at: http://rt.cpan.org perl v5.18.2 2017-10-06 Encode::Detect::Detector(3)