diff --git a/ChangeLog b/ChangeLog index 092a2fd..b6be320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,10 @@ -0.4.0b2 Mon Aug 3 22:14:21 CEST 2015 +0.4.0 Thu Sep 10 08:52:33 CEST 2015 - libunwind backtracing performance optimized 0.4.0b Sun Aug 2 22:20:42 CEST 2015 - use libunwind for backtrace if available - - scripts modified to support decoding of libuwind based backtrace + - scripts modified to support decoding of libunwind based backtrace 0.3.0 Sun Nov 23 21:12:54 CET 2014 - add manpages diff --git a/include/log-malloc2.h b/include/log-malloc2.h index 7a148de..732a492 100644 --- a/include/log-malloc2.h +++ b/include/log-malloc2.h @@ -4,7 +4,7 @@ * log-malloc2 * Malloc logging library with backtrace and byte-exact memory tracking. * - * Author: Samuel Behan <_samuel_._behan_(at)_dob_._sk> (C) 2011-2014 + * Author: Samuel Behan <_samuel_._behan_(at)_dob_._sk> (C) 2011-2015 * * License: GNU LGPLv3 (http://www.gnu.org/licenses/lgpl.html) * diff --git a/include/log-malloc2_util.h b/include/log-malloc2_util.h index 8cb7fb0..29c31f6 100644 --- a/include/log-malloc2_util.h +++ b/include/log-malloc2_util.h @@ -4,7 +4,7 @@ * log-malloc2_util * Helper function, all inlined, no linking required. * - * Author: Samuel Behan <_samuel_._behan_(at)_dob_._sk> (C) 2011-2014 + * Author: Samuel Behan <_samuel_._behan_(at)_dob_._sk> (C) 2011-2015 * * License: MIT (http://opensource.org/licenses/MIT) (free to use, modify, relicense...) * diff --git a/scripts/backtrace2line.pl b/scripts/backtrace2line.pl index 6820760..50542d0 100755 --- a/scripts/backtrace2line.pl +++ b/scripts/backtrace2line.pl @@ -3,7 +3,7 @@ # log-malloc2 / backtrace2line # Translate backtrace() output into functions, file names and line numbers (supports ASLR) # -# Author: Samuel Behan <_samuel_._behan_(at)_dob_._sk> (C) 2013-2014 +# Author: Samuel Behan <_samuel_._behan_(at)_dob_._sk> (C) 2013-2015 # # License: GNU GPLv3 (http://www.gnu.org/licenses/gpl.html) # @@ -303,7 +303,7 @@ ($$$@) { if($WARNING == 0 && !%libs) { - warn("WARNING: incomplete SYMBOL (without libname), but no --pid or --maps-file provided!\n"); + warn("WARNING: incomplete SYMBOL (without libname), but no --pid or --maps-file provided !\n"); $WARNING = 1; } @@ -527,23 +527,25 @@ =head1 OPTIONS =item B<--pid> I -Pid of a B running process, that generated given backtrace (needed only if ASLR active). Pid -is esed to get process memory map (from /proc//maps). +Pid of a B running process, that generated given backtrace (needed only if ASLR active or +if backtrace sumbol contains no library, like when libunwind is used). +Pid is used to get process memory map (from /proc//maps). =item B<-m> I =item B<--maps-file> I -Path to a file with process memory map of a backtraced process. This is required if if ALSR is -active. Data from maps file are also used to find full path of the application/libraries from -symbol(s). +Path to a file with process memory map of a backtraced process. This is required if ALSR is +active or if backtrace has been generated by libunwind. +Data from maps file is used to identify functions location (IP is checked against mapped range) +or to find full path of the application/libraries from symbol(s). =item B<-wd> I =item B<--work-dir> I Original work or start dir of backtraced process (needed only if backtrace contains relative paths, -and maps files has not been provided). +and maps file has not been provided). =item B<--demangle> I