/[gentoo-projects]/pax-utils/scanelf.c
Gentoo

Log of /pax-utils/scanelf.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.266 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 03:16:52 2014 UTC (3 weeks, 3 days ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.265: +32 -17 lines
Diff to previous 1.265 , to selected 1.158
add support for symbol visibility


Revision 1.265 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 05:33:33 2014 UTC (3 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.264: +4 -3 lines
Diff to previous 1.264 , to selected 1.158
note that which() does not handle PATH="/foo::/bar" correctly


Revision 1.264 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 21 05:27:21 2014 UTC (3 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.263: +60 -19 lines
Diff to previous 1.263 , to selected 1.158
rewrite which() so that it works and does not break $PATH

we were walking the $PATH in reverse which it should have been forwards.  we were also modifying the pointer we got back from getenv() which meant any time we ran external code, $PATH would be truncated.  finally, we never actually checked the first element -- we would bail before we got a chance.


Revision 1.263 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 20 08:08:37 2014 UTC (3 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.262: +16 -14 lines
Diff to previous 1.262 , to selected 1.158
tweak style -- no functional changes


Revision 1.262 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 20 08:06:01 2014 UTC (3 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.261: +25 -27 lines
Diff to previous 1.261 , to selected 1.158
scanelf: convert -E option to use array_t

this avoids silently (and wrongly) truncating the options given to -E.  it also makes the code a lot easier to handle.

#504340 by David Binderman


Revision 1.261 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 20 07:59:27 2014 UTC (3 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.260: +9 -14 lines
Diff to previous 1.260 , to selected 1.158
move array_cnt check into array_for_each init

atm, if you try to use array_for_each or array_flatten_str on an array that has no members, you will get a segfault.  this is an easy rule to forget (and the current code does just that in at least one place), so move the array_cnt check into the init phase.  theres negligible code size impact so it should not be a big deal.


Revision 1.260 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 11 00:28:49 2014 UTC (6 months ago) by vapier
Branch: MAIN
Changes since 1.259: +6 -6 lines
Diff to previous 1.259 , to selected 1.158
scanelf: fix comment in middle of define


Revision 1.259 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 14 21:09:57 2013 UTC (10 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.258: +7 -3 lines
Diff to previous 1.258 , to selected 1.158
scanelf: flag object files that have a +x stack (even if it is -w) since its almost assured the final ELF will add +w automatically

this makes a difference too -- see bug 445962 where dvdauthor produced a mpeg2desc.o that had a +x w/gcc-4.8 and a nested function, but the output only flagged the final mpeg2desc binary as that included +w stack markings


Revision 1.258 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 16 16:22:31 2013 UTC (14 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.257: +4 -4 lines
Diff to previous 1.257 , to selected 1.158
scanelf: use bool rather than char to avoid bogus gcc warning (filed upstream already)


Revision 1.257 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 10 22:27:20 2013 UTC (15 months ago) by vapier
Branch: MAIN
Changes since 1.256: +8 -8 lines
Diff to previous 1.256 , to selected 1.158
scanelf: fix more warnings from gcc-4.8


Revision 1.256 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 8 06:38:42 2013 UTC (15 months ago) by vapier
Branch: MAIN
Changes since 1.255: +19 -5 lines
Diff to previous 1.255 , to selected 1.158
scanelf: auto-align help output


Revision 1.255 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 2 21:15:50 2013 UTC (15 months, 1 week ago) by vapier
Branch: MAIN
Changes since 1.254: +2 -1 lines
Diff to previous 1.254 , to selected 1.158
scanelf: put the opendir() warning at the same verbose level as open() warning


Revision 1.254 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 2 21:13:05 2013 UTC (15 months, 1 week ago) by vapier
Branch: MAIN
Changes since 1.253: +4 -4 lines
Diff to previous 1.253 , to selected 1.158
scanelf: add support for multiple quiet levels and fix the wrap around behavior to max out instead


Revision 1.253 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 30 23:25:07 2012 UTC (19 months, 1 week ago) by vapier
Branch: MAIN
Changes since 1.252: +6 -2 lines
Diff to previous 1.252 , to selected 1.158
update ldconfig flags


Revision 1.252 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 18 07:39:45 2012 UTC (19 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.251: +2 -7 lines
Diff to previous 1.251 , to selected 1.158
scanelf/pspax: drop PT_LOAD counts since more than "normal" is not a bug and is semi-common with some targets, and the warning has out lived its usefulness -- it was added as an initial sanity check to get a feel for the real world


Revision 1.251 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 10 09:43:00 2012 UTC (20 months ago) by vapier
Branch: MAIN
Changes since 1.250: +19 -2 lines
Diff to previous 1.250 , to selected 1.158
scanelf: use PT_INTERP if .interp could not be found


Revision 1.250 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 08:25:41 2012 UTC (20 months ago) by vapier
Branch: MAIN
Changes since 1.249: +5 -2 lines
Diff to previous 1.249 , to selected 1.158
skip freeing of memory at exit since the kernel takes care of that for us


Revision 1.249 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 08:23:12 2012 UTC (20 months ago) by vapier
Branch: MAIN
Changes since 1.248: +47 -28 lines
Diff to previous 1.248 , to selected 1.158
scanelf: pre-compile all the regexes up front rather than everytime we try to match the symbol


Revision 1.248 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 07:48:42 2012 UTC (20 months ago) by vapier
Branch: MAIN
Changes since 1.247: +17 -23 lines
Diff to previous 1.247 , to selected 1.158
scanelf: convert -s parsing to arrays and allow multiple -s options


Revision 1.247 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 07:26:24 2012 UTC (20 months ago) by vapier
Branch: MAIN
Changes since 1.246: +5 -5 lines
Diff to previous 1.246 , to selected 1.158
update copyright years


Revision 1.246 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 06:55:04 2012 UTC (20 months, 1 week ago) by vapier
Branch: MAIN
Changes since 1.245: +12 -12 lines
Diff to previous 1.245 , to selected 1.158
scanelf: if people use -g twice, switch to case insensitive regexes #433425


Revision 1.245 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 4 06:08:25 2012 UTC (23 months, 1 week ago) by vapier
Branch: MAIN
Changes since 1.244: +8 -3 lines
Diff to previous 1.244 , to selected 1.158
scanelf: add warnings when we cannot open an elf #427640 by Anthony Basile


Revision 1.244 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 29 06:21:36 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.243: +26 -10 lines
Diff to previous 1.243 , to selected 1.158
when looking for symbol sections, ignore ones labeled NOBITS as that means they dont have any actual data (like in split debug files) #411023 by Mark


Revision 1.243 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 29 05:41:14 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.242: +4 -3 lines
Diff to previous 1.242 , to selected 1.158
only append a slash if there isnt one already #404003 by Slawomir Nizio


Revision 1.242 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 28 05:14:26 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.241: +8 -12 lines
Diff to previous 1.241 , to selected 1.158
drop EI_PAX setting when modifying pax flags #411919


Revision 1.241 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 25 01:58:29 2012 UTC (2 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.240: +16 -10 lines
Diff to previous 1.240 , to selected 1.158
fix help output to properly handle non-letter opts all the time


Revision 1.240 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 23 23:48:54 2012 UTC (2 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.239: +69 -38 lines
Diff to previous 1.239 , to selected 1.158
add --use-ldpath option that considers ld.so.conf when outputting full paths for %n


Revision 1.239 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 23 22:28:17 2012 UTC (2 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.238: +3 -3 lines
Diff to previous 1.238 , to selected 1.158
clarify --ldcache help option


Revision 1.238 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 21 22:17:36 2011 UTC (2 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.237: +3 -3 lines
Diff to previous 1.237 , to selected 1.158
fix typo in symbol description


Revision 1.237 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 21 22:00:58 2011 UTC (2 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.236: +4 -4 lines
Diff to previous 1.236 , to selected 1.158
use warnfp/errp rather than calling strerror(errno) ourselves


Revision 1.236 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 21 17:34:12 2011 UTC (2 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.235: +8 -4 lines
Diff to previous 1.235 , to selected 1.158
support ! negation with the -N (SONAME) operator


Revision 1.235 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 13 05:12:14 2011 UTC (2 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.234: +13 -7 lines
Diff to previous 1.234 , to selected 1.158
optimize fd closing when scanning ELFs to avoid double closing it


Revision 1.234 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 04:49:30 2011 UTC (2 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.233: +99 -8 lines
Diff to previous 1.233 , to selected 1.158
scanelf: support scanning for strings in ELFs that lack section headers by looking up the string tables via dynamic tags


Revision 1.233 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 3 16:19:18 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.232: +6 -6 lines
Diff to previous 1.232 , to selected 1.158
fix off-by-one logic when adding strings to arrays


Revision 1.232 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 22:20:07 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.231: +111 -64 lines
Diff to previous 1.231 , to selected 1.158
redo root support to use *at funcs and avoid memory operations where possible


Revision 1.231 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 19:58:09 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.230: +2 -2 lines
Diff to previous 1.230 , to selected 1.158
simplify rcsid a little


Revision 1.230 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 19:56:15 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.229: +29 -24 lines
Diff to previous 1.229 , to selected 1.158
convert fgets() to getline(), and simplify which() to avoid memory allocation


Revision 1.229 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 19:29:19 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.228: +2 -16 lines
Diff to previous 1.228 , to selected 1.158
remove useless duplicate prototypes


Revision 1.228 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 19:21:56 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.227: +3 -3 lines
Diff to previous 1.227 , to selected 1.158
simplify match_etype logic


Revision 1.227 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 19:20:51 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.226: +29 -40 lines
Diff to previous 1.226 , to selected 1.158
convert ldpaths over to new array code to make it easier to maintain


Revision 1.226 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 18:37:22 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.225: +51 -18 lines
Diff to previous 1.225 , to selected 1.158
allow people to search for multiple libraries (-N) or data sections (-k)


Revision 1.225 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 17:28:19 2011 UTC (2 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.224: +6 -6 lines
Diff to previous 1.224 , to selected 1.158
constify the return of scanelf_file_{sections,sym}


Revision 1.224 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 8 01:56:16 2011 UTC (2 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.223: +4 -4 lines
Diff to previous 1.223 , to selected 1.158
fixup style in previous root patch


Revision 1.223 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 30 17:08:30 2011 UTC (2 years, 11 months ago) by solar
Branch: MAIN
Changes since 1.222: +34 -4 lines
Diff to previous 1.222 , to selected 1.158
[PATCH pax-utils 1/2] add --root option # Ludwig Nussel <ludwig.nussel@suse.de>


Revision 1.222 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 8 01:24:01 2010 UTC (3 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.221: +3 -3 lines
Diff to previous 1.221 , to selected 1.158
constify help string array


Revision 1.221 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 8 01:16:01 2010 UTC (3 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.220: +8 -4 lines
Diff to previous 1.220 , to selected 1.158
add a -C/--nocolor option and respect env $NOCOLOR #332289


Revision 1.220 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 8 00:54:40 2010 UTC (3 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.219: +3 -3 lines
Diff to previous 1.219 , to selected 1.158
change to simpler const argv0 string


Revision 1.219 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 6 20:43:48 2010 UTC (3 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.218: +8 -8 lines
Diff to previous 1.218 , to selected 1.158
use normal glob funcs rather than hardcoding 64bit vers since _GNU_SOURCE should transparently rewrite these to 64bit when feasible


Revision 1.218 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 15 11:56:15 2010 UTC (4 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.217: +7 -4 lines
Diff to previous 1.217 , to selected 1.158
check return value of lseek for errors


Revision 1.217 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 15 10:29:17 2010 UTC (4 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.216: +22 -22 lines
Diff to previous 1.216 , to selected 1.158
convert core pointers to void* to avoid ugly casts and gcc alignment warnings #290543


Revision 1.216 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 20 20:25:04 2009 UTC (4 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.215: +3 -3 lines
Diff to previous 1.215 , to selected 1.158
tweak -a description #236540


Revision 1.215 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 3 08:01:45 2009 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.214: +174 -128 lines
Diff to previous 1.214 , to selected 1.158
split out, simplify, and document the extended version matching code


Revision 1.214 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 1 10:19:42 2009 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.213: +118 -52 lines
Diff to previous 1.213 , to selected 1.158
extend symbol lookup syntax to allow matching of symbols based on more fields


Revision 1.213 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 1 10:18:58 2009 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.212: +22 -19 lines
Diff to previous 1.212 , to selected 1.158
unify some of the scanelf symtabs code paths


Revision 1.212 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 15 09:13:20 2009 UTC (5 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.211: +32 -20 lines
Diff to previous 1.211 , to selected 1.158
cleanup lookup_cache_lib() and return first match, not last #258090


Revision 1.211 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 15 09:01:48 2009 UTC (5 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.210: +5 -5 lines
Diff to previous 1.210 , to selected 1.158
fix dragonfly define check and tweak whitespace in scanelf_ldpath


Revision 1.210 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 15 08:56:14 2009 UTC (5 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.209: +3 -3 lines
Diff to previous 1.209 , to selected 1.158
trick gcc into not warning about write() when outputting the banner -- we dont care if this fails


Revision 1.209 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 15 08:53:29 2009 UTC (5 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.208: +4 -3 lines
Diff to previous 1.208 , to selected 1.158
store return value of system() since gcc whines about it now, but dont actually use it since we dont care


Revision 1.208 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 17:58:37 2009 UTC (5 years, 5 months ago) by grobian
Branch: MAIN
Changes since 1.207: +3 -3 lines
Diff to previous 1.207 , to selected 1.158
For bug #249731, add an xstrndup wrapper, and implement strndup on hosts that don't have it, based on the strndup implementation of sandbox, with a little change to make it C90 compliant.


Revision 1.207 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 13:38:35 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.206: +3 -3 lines
Diff to previous 1.206 , to selected 1.158
use __PAX_UTILS_PATH_MAX, not BUFSIZ, when dealing with paths


Revision 1.206 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 13:34:46 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.205: +3 -16 lines
Diff to previous 1.205 , to selected 1.158
convert getstr_perms() to strfileperms() and share it among all files


Revision 1.205 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 13:13:15 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.204: +4 -4 lines
Diff to previous 1.204 , to selected 1.158
drop excessive parenthesis


Revision 1.204 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 13:09:20 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.203: +7 -8 lines
Diff to previous 1.203 , to selected 1.158
fixup const handling in getstr_perms()


Revision 1.203 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 12:39:53 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.202: +8 -8 lines
Diff to previous 1.202 , to selected 1.158
mark local state vars as static and drop unused ones


Revision 1.202 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 12:38:04 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.201: +3 -3 lines
Diff to previous 1.201 , to selected 1.158
use MAP_FAILED rather than custom constant


Revision 1.201 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 12:00:06 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.200: +3 -3 lines
Diff to previous 1.200 , to selected 1.158
drop pointless casts on mmap() return


Revision 1.200 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 10 20:06:20 2008 UTC (5 years, 7 months ago) by grobian
Branch: MAIN
Changes since 1.199: +4 -1 lines
Diff to previous 1.199 , to selected 1.158
undo accidential 'fix'


Revision 1.199 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 10 20:05:20 2008 UTC (5 years, 7 months ago) by grobian
Branch: MAIN
Changes since 1.198: +3 -6 lines
Diff to previous 1.198 , to selected 1.158
Fix manpage, thanks pipping


Revision 1.198 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 17 18:09:55 2008 UTC (5 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.197: +10 -20 lines
Diff to previous 1.197 , to selected 1.158
Remove the half-assed versioned_symname support.

Matching against versioned symbol is possible (when the file is not
stripped, for now) by using the regular expression matching (-g).


Revision 1.197 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 17 18:03:38 2008 UTC (5 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.196: +32 -15 lines
Diff to previous 1.196 , to selected 1.158
Rewrite symbol matching code in scanelf.

The previous code was entirely broken when trying to match symbols in
unstripped binaries when giving multiple symbols as target.

The new code differs from the old one in quite a few ways:

- debug output when -g option is passed is disabled in the code
  (hacky, but still better than before!);

- regular expression matching is actually used when -g option is
  passed;

- by default, the symbol name is tested against the symbol name
  without version; no-version symbol name matching is possible by
  using the -g option and adding a final $;

- multiple symbols and single symbols are handled in the same way so
  that there is no more difference between them;

- the returned symbol name is the actual symbol name as found in the
  file, so includes the version when the file is not stripped.

While this means that there are some minimal differences between the
previous code, it's arguable that this code is less buggy and more
consistent than the one before.


Revision 1.196 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 17:03:17 2008 UTC (5 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.195: +3 -3 lines
Diff to previous 1.195 , to selected 1.158
Fixing whitespace.


Revision 1.195 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 15:20:21 2008 UTC (5 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.194: +6 -2 lines
Diff to previous 1.194 , to selected 1.158
Avoid crashes when scanning files with "corrupt symbols".

Instead of dereferencing sym without checking, stop as soon as the
pointer goes out of the ELF file range.


Revision 1.194 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 06:05:55 2008 UTC (5 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.193: +3 -2 lines
Diff to previous 1.193 , to selected 1.158
fix by Fabian Groffen to make sure default output format starts off initialized before we start strcating it #236539


Revision 1.193 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 06:03:26 2008 UTC (5 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.192: +3 -3 lines
Diff to previous 1.192 , to selected 1.158
add a cast to off_t printf to silence warning #236464


Revision 1.192 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 29 06:01:22 2008 UTC (5 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.191: +7 -4 lines
Diff to previous 1.191 , to selected 1.158
only issue warnings on missing cache code when targeting an ELF system


Revision 1.191 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 17 17:07:57 2008 UTC (6 years ago) by solar
Branch: MAIN
Changes since 1.190: +22 -5 lines
Diff to previous 1.190 , to selected 1.158
- add OSABI/EABI support to scanelf --osabi/--eabi to scanelf. Update elf.h


Revision 1.190 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 19 22:31:49 2008 UTC (6 years, 2 months ago) by solar
Branch: MAIN
Changes since 1.189: +14 -6 lines
Diff to previous 1.189 , to selected 1.158
- add -Z/--size option


Revision 1.189 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 17 04:37:19 2008 UTC (6 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.188: +2 -8 lines
Diff to previous 1.188 , to selected 1.158
- mainly whitespace updates


Revision 1.188 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 31 17:45:24 2007 UTC (6 years, 10 months ago) by solar
Branch: MAIN
Changes since 1.187: +4 -4 lines
Diff to previous 1.187 , to selected 1.158
- fix for when we are scanning BE Elf files from a LE system and vs versa.


Revision 1.187 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 25 02:46:18 2007 UTC (6 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.186: +15 -17 lines
Diff to previous 1.186 , to selected 1.158
residual xfunc changeover: dont check return value of xmalloc()


Revision 1.186 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 09:54:15 2007 UTC (6 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.185: +23 -64 lines
Diff to previous 1.185 , to selected 1.158
split xfuncs off into a sep file for all utils to use, cleanup misc things, and add some more comments


Revision 1.185 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 04:59:32 2007 UTC (6 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.184: +7 -7 lines
Diff to previous 1.184 , to selected 1.158
as pointed out by swegner, dont scan PHDRs that dont actually have a filesize (avoids scanning split debug info)


Revision 1.184 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 12 16:35:25 2007 UTC (6 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.183: +6 -6 lines
Diff to previous 1.183 , to selected 1.158
add missing void into empty function definitions


Revision 1.183 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 29 19:49:26 2007 UTC (7 years ago) by solar
Branch: MAIN
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 , to selected 1.158
- show endian in -a display and be sure to exclude *macho* files from normal releases


Revision 1.182 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 29 18:48:47 2007 UTC (7 years ago) by solar
Branch: MAIN
Changes since 1.181: +8 -2 lines
Diff to previous 1.181 , to selected 1.158
- make -M take symbolic names in addition to numerical values


Revision 1.181 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 29 17:09:12 2007 UTC (7 years ago) by solar
Branch: MAIN
Changes since 1.180: +15 -6 lines
Diff to previous 1.180 , to selected 1.158
- add endian scanning support


Revision 1.180 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 9 21:43:53 2007 UTC (7 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.179: +35 -5 lines
Diff to previous 1.179 , to selected 1.158
- Print only ELF files with matching specified octal bits (like 755)


Revision 1.179 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 9 18:54:44 2007 UTC (7 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.178: +4 -4 lines
Diff to previous 1.178 , to selected 1.158
- update copyright headers


Revision 1.178 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 23 22:27:27 2007 UTC (7 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.177: +3 -3 lines
Diff to previous 1.177 , to selected 1.158
- update copyright headers


Revision 1.177 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 20 23:20:46 2007 UTC (7 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.176: +5 -4 lines
Diff to previous 1.176 , to selected 1.158
- display U for undefined symbols and D for defined symbols when using scanelf -s\* file


Revision 1.176 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 8 19:14:31 2007 UTC (7 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.175: +7 -7 lines
Diff to previous 1.175 , to selected 1.158
- make things a tad more portable to sparc and darwin


Revision 1.175 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 18 08:15:16 2007 UTC (7 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.174: +4 -3 lines
Diff to previous 1.174 , to selected 1.158
typo


Revision 1.174 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 18 08:12:55 2007 UTC (7 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.173: +31 -4 lines
Diff to previous 1.173 , to selected 1.158
- added regexp symbol matching using existing gmatch option


Revision 1.173 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 18 00:26:34 2007 UTC (7 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.172: +3 -18 lines
Diff to previous 1.172 , to selected 1.158
move format/elf documentation out of usage() and into docbook


Revision 1.172 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 9 23:04:12 2007 UTC (7 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.171: +10 -13 lines
Diff to previous 1.171 , to selected 1.158
fix whitespace in which() and remove unneeded memset()


Revision 1.171 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 9 23:01:09 2007 UTC (7 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.170: +5 -2 lines
Diff to previous 1.170 , to selected 1.158
add support for %M to display ECLASS


Revision 1.170 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 9 18:46:22 2007 UTC (7 years, 6 months ago) by solar
Branch: MAIN
Changes since 1.169: +32 -4 lines
Diff to previous 1.169 , to selected 1.158
- dont call objdump without first making sure it exists.


Revision 1.169 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 9 00:23:13 2007 UTC (7 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.168: +16 -8 lines
Diff to previous 1.168 , to selected 1.158
generally improve textrel output


Revision 1.168 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 8 22:57:01 2007 UTC (7 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.167: +5 -3 lines
Diff to previous 1.167 , to selected 1.158
fix warnings on 32bit host


Revision 1.167 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 8 07:55:11 2007 UTC (7 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.166: +18 -2 lines
Diff to previous 1.166 , to selected 1.158
add support for running objdump when using -T -v to get automatic host disassemble


Revision 1.166 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 11 03:31:54 2006 UTC (7 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.165: +6 -3 lines
Diff to previous 1.165 , to selected 1.158
add support for displaying em_machine via %a format flag


Revision 1.165 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 11 03:24:03 2006 UTC (7 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.164: +16 -18 lines
Diff to previous 1.164 , to selected 1.158
move/rename do_state macro to a more appropriate place


Revision 1.164 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 3 00:17:18 2006 UTC (7 years, 7 months ago) by solar
Branch: MAIN
Changes since 1.163: +28 -22 lines
Diff to previous 1.163 , to selected 1.158
- initial start of making scanelf return code mean something


Revision 1.163 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 1 15:41:23 2006 UTC (7 years, 7 months ago) by solar
Branch: MAIN
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 , to selected 1.158
- just a little whitespace cleanup


Revision 1.162 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 28 04:01:04 2006 UTC (7 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.161: +5 -5 lines
Diff to previous 1.161 , to selected 1.158
just whitespace


Revision 1.161 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 28 03:55:57 2006 UTC (7 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.160: +15 -18 lines
Diff to previous 1.160 , to selected 1.158
pass the stat struct down to scanelf_file() from scanelf_dir() so we dont run stat() twice on every file


Revision 1.160 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 23 23:50:33 2006 UTC (7 years, 7 months ago) by solar
Branch: MAIN
Changes since 1.159: +3 -4 lines
Diff to previous 1.159 , to selected 1.158
Ludwig Nussel wrote: SuSE Linux includes /etc/ld.so.conf.d/*.conf by default but there are no files in there by default. Attached patch prevents scanelf from aborting.


Revision 1.159 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 29 16:20:54 2006 UTC (7 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.158: +4 -3 lines
Diff to previous 1.158
dont output when scanning bind info on static elfs #153286


Revision 1.158 - (view) (download) (as text) (annotate) - [selected]
Fri Aug 25 06:32:08 2006 UTC (7 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.157: +2 -0 lines
Diff to previous 1.157
make sure we check QA_EXECSTACKS when .o objects are missing .note.GNU-stack #144986


Revision 1.157 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 25 06:31:22 2006 UTC (7 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.156: +6 -6 lines
Diff to previous 1.156 , to selected 1.158
eat whitespace


Revision 1.156 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 11 00:23:11 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.155: +7 -4 lines
Diff to previous 1.155 , to selected 1.158
fix handling of defined/undefined versioned symbols


Revision 1.155 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 11 00:07:33 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.154: +72 -70 lines
Diff to previous 1.154 , to selected 1.158
move utility funcs back to the bottom where they belong


Revision 1.154 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 18:25:18 2006 UTC (8 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.153: +29 -3 lines
Diff to previous 1.153 , to selected 1.158
- add work arounds for NetBSD


Revision 1.153 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 17 21:45:20 2006 UTC (8 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.152: +3 -3 lines
Diff to previous 1.152 , to selected 1.158
- make sure we really want to read from stdin


Revision 1.152 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 23:49:56 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.151: +63 -39 lines
Diff to previous 1.151 , to selected 1.158
cleanup style, touchup new QA envvar code, and be better about cleaning up after ourselves


Revision 1.151 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 23:17:31 2006 UTC (8 years, 1 month ago) by kevquinn
Branch: MAIN
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 , to selected 1.158
Fix segfault when envvars have no tokens (noted by SpanKY)


Revision 1.150 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 21:37:55 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.149: +13 -10 lines
Diff to previous 1.149 , to selected 1.158
touchup style


Revision 1.149 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 21:21:35 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.148: +7 -7 lines
Diff to previous 1.148 , to selected 1.158
use a new ARRAY_SIZE() macro for calculating the # of elements in a static array


Revision 1.148 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 21:18:38 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.147: +22 -13 lines
Diff to previous 1.147 , to selected 1.158
cut down on the arch-specific ifdef cruft


Revision 1.147 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 21:07:39 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.146: +2 -8 lines
Diff to previous 1.146 , to selected 1.158
move porting-specific stuff to porting.h


Revision 1.146 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 21:04:25 2006 UTC (8 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.145: +3 -5 lines
Diff to previous 1.145 , to selected 1.158
SET_STDOUT isnt needed


Revision 1.145 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 19:08:56 2006 UTC (8 years, 2 months ago) by kevquinn
Branch: MAIN
Changes since 1.144: +9 -5 lines
Diff to previous 1.144 , to selected 1.158
Add QA_WX_LOAD for filtering W|X PT_LOAD headers - bug #131779


Revision 1.144 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 03:40:33 2006 UTC (8 years, 2 months ago) by solar
Branch: MAIN
Changes since 1.143: +3 -3 lines
Diff to previous 1.143 , to selected 1.158
- make sure we scan versioned symbols correctly on unstripped ELF files


Revision 1.143 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 11 05:44:22 2006 UTC (8 years, 2 months ago) by solar
Branch: MAIN
Changes since 1.142: +28 -29 lines
Diff to previous 1.142 , to selected 1.158
- minor style fixups


Revision 1.142 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 10 22:45:08 2006 UTC (8 years, 2 months ago) by kevquinn
Branch: MAIN
Changes since 1.141: +115 -44 lines
Diff to previous 1.141 , to selected 1.158
Process QA_TEXTRELS and QA_EXECSTACK, whitespace-separated lists of
${D}-relative exemptions from textrel and executable stack (i.e. PF_X on
PT_GNU_STACK) checks, so portage can hand this off to scanelf (bug #131779)


Revision 1.141 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 23 15:24:38 2006 UTC (8 years, 2 months ago) by flameeyes
Branch: MAIN
Changes since 1.140: +64 -6 lines
Diff to previous 1.140 , to selected 1.158
Implement function to lookup into ld-elf.so.hints file on FreeBSD and DragonFly, change to GLIBC/UCLIBC conditionals access to ld.so.conf and ls.so.cache (should work on GNU/kFreeBSD).


Revision 1.140 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 15 07:52:00 2006 UTC (8 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.139: +4 -4 lines
Diff to previous 1.139 , to selected 1.158
fix detection of defined/undefined symbols


Revision 1.139 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 11 02:47:34 2006 UTC (8 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 , to selected 1.158
only default to grep stdin style when no arguments were given to us


Revision 1.138 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 31 06:07:47 2006 UTC (8 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.137: +4 -4 lines
Diff to previous 1.137 , to selected 1.158
touchup style


Revision 1.137 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 19 02:41:17 2006 UTC (8 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.136: +6 -4 lines
Diff to previous 1.136 , to selected 1.158
- non linux hosts dont really need the glob code so invert the ifdefs


Revision 1.136 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 17 15:27:00 2006 UTC (8 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.135: +6 -4 lines
Diff to previous 1.135 , to selected 1.158
- add invert matching for section headers from spanky for flameeyes. Example: scanelf -B -k \!.symtab /usr/lib/debug -Rq -F%F#k


Revision 1.135 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 16 17:00:21 2006 UTC (8 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.134: +2 -3 lines
Diff to previous 1.134 , to selected 1.158
- invert logic for glob64


Revision 1.134 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 15 03:20:29 2006 UTC (8 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.133: +21 -5 lines
Diff to previous 1.133 , to selected 1.158
add support for scanning for just defined/undefined symbols


Revision 1.133 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 8 05:32:53 2006 UTC (8 years, 4 months ago) by vapier
Branch: MAIN
Changes since 1.132: +5 -5 lines
Diff to previous 1.132 , to selected 1.158
declare a few more things const


Revision 1.132 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 7 17:48:17 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.131: +27 -14 lines
Diff to previous 1.131 , to selected 1.158
- add new + format modifier for verbose output. Auto detect stdin file handling


Revision 1.131 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 2 14:40:53 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.130: +5 -3 lines
Diff to previous 1.130 , to selected 1.158
- we do not want to display lazy bindings incorrectly on executable files that were linked static


Revision 1.130 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 00:31:53 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 , to selected 1.158
- dont try to remove the execbits on a PT_LOAD section when using -Xe


Revision 1.129 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 18 15:51:11 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.128: +18 -15 lines
Diff to previous 1.128 , to selected 1.158
- Make -E take strings vs just numerics. Fixed off by one in ld.so.conf include file handling(Reported by PaX autho.r).  Made sure we only set ei pax flags when etype is ET_EXEC || ET_DYN. Updated README, man page


Revision 1.128 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 17 15:36:16 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.127: +11 -8 lines
Diff to previous 1.127 , to selected 1.158
- finished up ei_pax handling


Revision 1.127 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 17 07:13:54 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.126: +88 -24 lines
Diff to previous 1.126 , to selected 1.158
- added the -z/--setpax flags. PT_PAX_FLAGS flags start off with with ---xe- ; EI_PAX is not done yet. Renamed the reference to elmer fudd back.


Revision 1.126 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 16 05:47:23 2006 UTC (8 years, 4 months ago) by vapier
Branch: MAIN
Changes since 1.125: +4 -4 lines
Diff to previous 1.125 , to selected 1.158
touchup output for new scan section code


Revision 1.125 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 16 05:06:14 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 , to selected 1.158
- add -k option to manpage and -vh output


Revision 1.124 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 16 03:07:44 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.123: +64 -27 lines
Diff to previous 1.123 , to selected 1.158
- add -k/--section <arg> flag so we can quickly identify executables that contain a given section by name


Revision 1.123 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 12 16:51:21 2006 UTC (8 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.122: +43 -10 lines
Diff to previous 1.122 , to selected 1.158
- add include globbing support for ld.so.conf handling. mainly only useful on distros other than gentoo


Revision 1.122 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 11 04:11:44 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.121: +3 -7 lines
Diff to previous 1.121 , to selected 1.158
dont bother eating spaces anymore as our format string should cover that


Revision 1.121 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 5 17:10:52 2006 UTC (8 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.120: +5 -2 lines
Diff to previous 1.120 , to selected 1.158
- print ELF e_types when -h flag is given. Add missing PT_NUM to paxelf.c. Document new -M feature.


Revision 1.120 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 5 03:01:30 2006 UTC (8 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.119: +24 -11 lines
Diff to previous 1.119 , to selected 1.158
- add ability to scan files based on bits via new -M option. syntax is -M 32 or -M 64 ; invalid numerics are ignored


Revision 1.119 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 5 02:25:58 2006 UTC (8 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.118: +33 -4 lines
Diff to previous 1.118 , to selected 1.158
- add ability to scan files based on etype via new -E option. syntax is -E 1 or -E 1,2,3,4


Revision 1.118 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 3 00:10:05 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.117: +3 -3 lines
Diff to previous 1.117 , to selected 1.158
fix phdr scanning


Revision 1.117 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 28 19:47:47 2006 UTC (8 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.116: +4 -3 lines
Diff to previous 1.116 , to selected 1.158
- skip multi load scan checks if ehdr->e_type is not ET_DYN or ET_EXEC. Make 'make debug' build with -g3 -nopie


Revision 1.116 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 28 18:54:08 2006 UTC (8 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.115: +5 -3 lines
Diff to previous 1.115 , to selected 1.158
- reset ldcache to 0 if set to -1 so we dont end up trying to memcmp later


Revision 1.115 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 00:34:00 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.114: +7 -5 lines
Diff to previous 1.114 , to selected 1.158
fix up handling of corrupt symbol tables


Revision 1.114 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 00:33:05 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.113: +5 -5 lines
Diff to previous 1.113 , to selected 1.158
make first verbose level actually useful


Revision 1.113 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 00:31:58 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.112: +5 -5 lines
Diff to previous 1.112 , to selected 1.158
make the error messages of invalid options useful


Revision 1.112 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 00:30:36 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 , to selected 1.158
previous fix actually broke symbol scanning


Revision 1.111 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 20 00:23:32 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.110: +5 -1 lines
Diff to previous 1.110 , to selected 1.158
dont crash when scanning for symbols in a busted symbol table


Revision 1.110 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 20 00:21:03 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.109: +1 -1 lines
Diff to previous 1.109 , to selected 1.158
cast pointers as void* to get rid of warnings


Revision 1.109 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 20 00:20:30 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.108: +6 -2 lines
Diff to previous 1.108 , to selected 1.158
ignore invalid symbols in textrel lookup code


Revision 1.108 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 19 23:53:34 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.107: +10 -3 lines
Diff to previous 1.107 , to selected 1.158
add some sanity checks to program header scanning


Revision 1.107 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 18 22:28:46 2006 UTC (8 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 , to selected 1.158
- dont write to memory when NULL rpaths exists and not using -X/--fix


Revision 1.106 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 14 01:39:55 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.105: +60 -32 lines
Diff to previous 1.105 , to selected 1.158
refactor code a bit to allow to improve support for archive scanning


Revision 1.105 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 13 12:12:52 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.104: +50 -24 lines
Diff to previous 1.104 , to selected 1.158
initial support for reading archive files (*.a)


Revision 1.104 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 13 11:31:55 2006 UTC (8 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.103: +10 -8 lines
Diff to previous 1.103 , to selected 1.158
define and use our own copy of PATH_MAX


Revision 1.103 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 11 23:46:21 2006 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.102: +7 -2 lines
Diff to previous 1.102 , to selected 1.158
zero out the whole dyn rpath section rather than just changing the tag


Revision 1.102 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 11 01:12:12 2006 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.101: +31 -23 lines
Diff to previous 1.101 , to selected 1.158
improve rpath output thanks to Ludwig Nussel and touchup the rpath fixing code to handle some corner cases


Revision 1.101 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 10 01:40:15 2006 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.100: +50 -6 lines
Diff to previous 1.100 , to selected 1.158
add support for automatically "fixing" insecure runpaths and removing the executable bit from stack/load program headers


Revision 1.100 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 10 01:38:17 2006 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.99: +9 -8 lines
Diff to previous 1.99 , to selected 1.158
make sure we warn about zero length rpaths and that we dont break out of the rpath checking too early.  also dont bother duping the arg for the -f option


Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 10 01:35:06 2006 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.98: +6 -5 lines
Diff to previous 1.98 , to selected 1.158
split the pt_load check out into a sep func for easier managing in the future and to shut up openbsd


Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 5 03:12:07 2006 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.97: +5 -19 lines
Diff to previous 1.97 , to selected 1.158
update copyright years and unify headers in porting.h


Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 29 14:03:25 2005 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.96: +35 -13 lines
Diff to previous 1.96 , to selected 1.158
touchup lookup_cache_lib() func a bit by plugging some memleaks, adding some comments, and handling 64/32 bit multilib systems


Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 28 22:26:47 2005 UTC (8 years, 6 months ago) by solar
Branch: MAIN
Changes since 1.95: +84 -5 lines
Diff to previous 1.95 , to selected 1.158
- initial function to do ld.so.cache lookups for DT_NEEDED entries


Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 06:08:22 2005 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.94: +36 -13 lines
Diff to previous 1.94 , to selected 1.158
add support for scanning for multiple symbols at a time


Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 04:10:26 2005 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 , to selected 1.158
st_size is unsigned, so dont cast it to signed


Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 04:07:55 2005 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.92: +10 -17 lines
Diff to previous 1.92 , to selected 1.158
shouldnt need to dupe the args given to us since they are just pointers to argv ...


Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 9 01:41:32 2005 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.91: +2 -3 lines
Diff to previous 1.91 , to selected 1.158
remove __USE_GNU


Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 7 01:04:52 2005 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.90: +59 -31 lines
Diff to previous 1.90 , to selected 1.158
add support for scanning .note.GNU-stack in object files


Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 4 18:12:44 2005 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.89: +12 -11 lines
Diff to previous 1.89 , to selected 1.158
fix #e (it used to act like %e)


Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 01:53:55 2005 UTC (8 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.88: +8 -5 lines
Diff to previous 1.88 , to selected 1.158
split common non-elf features into paxinc.[ch]


Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 30 03:30:54 2005 UTC (8 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.87: +5 -4 lines
Diff to previous 1.87 , to selected 1.158
touchup output of TEXTREL matches and update the format help output


Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 30 03:30:19 2005 UTC (8 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.86: +4 -17 lines
Diff to previous 1.86 , to selected 1.158
use smaller license header


Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 24 16:17:53 2005 UTC (8 years, 9 months ago) by solar
Branch: MAIN
Changes since 1.85: +9 -6 lines
Diff to previous 1.85 , to selected 1.158
- add gmatching option to scanelf so that matching libz.so works with the -N option


Revision 1.85 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 25 23:31:32 2005 UTC (8 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.84: +3 -5 lines
Diff to previous 1.84 , to selected 1.158
complain if a shared object is missing DT_NEEDED and if we are in verbose mode


Revision 1.84 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 22 00:10:51 2005 UTC (8 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.83: +69 -11 lines
Diff to previous 1.83 , to selected 1.158
add support for showing SONAME (-S)


Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 22 17:43:12 2005 UTC (9 years ago) by solar
Branch: MAIN
Changes since 1.82: +24 -2 lines
Diff to previous 1.82 , to selected 1.158
- add a few rpath security checks


Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 19 05:39:31 2005 UTC (9 years ago) by vapier
Branch: MAIN
Changes since 1.81: +62 -67 lines
Diff to previous 1.81 , to selected 1.158
change textrel scanner to check .text section instead of PT_LOAD ... also update -a to not include bind/interp info


Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 13 03:35:41 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.80: +6 -5 lines
Diff to previous 1.80 , to selected 1.158
make sure we check all the libraries a file needs instead of just the first one (-N)


Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 13 03:09:51 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.79: +5 -5 lines
Diff to previous 1.79 , to selected 1.158
tweak version output to include $PV


Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 9 23:53:58 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.78: +12 -6 lines
Diff to previous 1.78 , to selected 1.158
dont scan for TEXTREL locations if ELF doesnt have any TEXTRELs ... also flush stdout after each line


Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 8 22:23:16 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 , to selected 1.158
fix so -Tq works


Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 8 05:43:01 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.76: +39 -30 lines
Diff to previous 1.76 , to selected 1.158
make sure REL is an offset inside the symtab before using and create a func to pick the better sym/tab headers based on size


Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 8 04:24:19 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.75: +152 -35 lines
Diff to previous 1.75 , to selected 1.158
add support by kev quinn for showing textrels


Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 6 23:32:38 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.74: +13 -8 lines
Diff to previous 1.74 , to selected 1.158
fix runpath parsing in quiet mode


Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 5 09:42:06 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 , to selected 1.158
fix warning in printf


Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 4 13:52:54 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.72: +20 -20 lines
Diff to previous 1.72 , to selected 1.158
- Lets rename *stack* to phdr as the scope of the function has changed quite a bit from initial creation


Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 4 06:23:06 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.71: +40 -15 lines
Diff to previous 1.71 , to selected 1.158
add support for scanning for symbols (-N)


Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 4 02:50:50 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.70: +31 -16 lines
Diff to previous 1.70 , to selected 1.158
add support for checking if the PT_LOAD program header is +wx


Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 3 23:41:59 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.69: +40 -18 lines
Diff to previous 1.69 , to selected 1.158
add support for silent tests via # instead of %


Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 3 23:18:01 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.68: +23 -13 lines
Diff to previous 1.68 , to selected 1.158
fix warnings about signed compares and add support for parsing RPATH in silent mode


Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 3 15:03:25 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.67: +8 -8 lines
Diff to previous 1.67 , to selected 1.158
- make scanelf/pspax happy with -Wwrite-strings


Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 3 02:56:18 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.66: +8 -2 lines
Diff to previous 1.66 , to selected 1.158
fall back to runtime section headers if the debug ones have been stripped


Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 1 22:37:38 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.65: +36 -6 lines
Diff to previous 1.65 , to selected 1.158
add support for mangling of the matched filename (%p->strip search path %f->just basename)


Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 30 03:23:07 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 , to selected 1.158
add generic bswap macros and macro the stdout stuff so OS X builds


Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 29 19:42:09 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.63: +8 -14 lines
Diff to previous 1.63 , to selected 1.158
- make parseargs checks for already alloced buffers simpler. fixed typo in -s handling


Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 29 18:44:48 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.62: +3 -4 lines
Diff to previous 1.62 , to selected 1.158
- added initial inconsistent state detection for pax flags. update some of the copyright headers removing myself and assigning over to the foundation. fixed bug in pf display 5 is not 4


Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 29 06:25:48 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.61: +8 -2 lines
Diff to previous 1.61 , to selected 1.158
add some more checks to make sure people dont double specify options and make us malloc extra memory


Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 28 22:09:36 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.60: +46 -10 lines
Diff to previous 1.60 , to selected 1.158
- make scanelf display the PT_PAX_FLAGS if they exist and fall back on EI_PAX if they dont as the kernel would.


Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 27 02:58:39 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.59: +12 -6 lines
Diff to previous 1.59 , to selected 1.158
fixes for FreeBSD


Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 25 21:58:03 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 , to selected 1.158
make sure we use EGET() when accessing elf members


Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 24 22:04:34 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 , to selected 1.158
make sure -F disables -b too


Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 21 17:58:30 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.56: +10 -7 lines
Diff to previous 1.56 , to selected 1.158
- update manpages and code. Release 0.0.8


Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 21 00:34:07 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.55: +3 -4 lines
Diff to previous 1.55 , to selected 1.158
only fstat when we need to


Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 19 22:17:11 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.54: +7 -3 lines
Diff to previous 1.54 , to selected 1.158
make sure we dont try to read a symlink to a directory as an ELF


Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 21:16:32 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.53: +10 -20 lines
Diff to previous 1.53 , to selected 1.158
be quieter


Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 21:01:56 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 , to selected 1.158
- update formating for stk/rel and updated the manpage


Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 14:37:21 2005 UTC (9 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.51: +5 -5 lines
Diff to previous 1.51 , to selected 1.158
- remove high chars. sorry spanky but everybody hates these.


Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 05:15:48 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 , to selected 1.158
dont try to parse program headers if none exist


Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 04:10:14 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.49: +4 -3 lines
Diff to previous 1.49 , to selected 1.158
add BIND to all output


Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 04:08:30 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.48: +74 -24 lines
Diff to previous 1.48 , to selected 1.158
add support for scanning bind/lazy info, fix a few cases where bad ELFs would trigger infinite loops, and allow people to use debug --verbose with --quiet


Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 02:51:02 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.47: +83 -44 lines
Diff to previous 1.47 , to selected 1.158
cache /etc/ld.so.conf so we can check it while scanning rpath


Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 18 01:08:46 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 , to selected 1.158
style tweak


Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 16 21:59:06 2005 UTC (9 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.45: +7 -12 lines
Diff to previous 1.45 , to selected 1.158
update the help output


Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 14 00:18:56 2005 UTC (9 years, 2 months ago) by solar
Branch: MAIN
Changes since 1.44: +51 -6 lines
Diff to previous 1.44 , to selected 1.158
- add option to read from streams


Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 10 22:54:25 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.43: +40 -18 lines
Diff to previous 1.43 , to selected 1.158
make sure we verify pointers before using them and use variables with larger sizes than just int


Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 6 02:55:27 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 , to selected 1.158
err we need the buffer to be a real string since we use it later in strcat


Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 6 02:40:15 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 , to selected 1.158
use memcpy so we only overwrite the correct # of bytes


Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 6 01:01:42 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.40: +196 -132 lines
Diff to previous 1.40 , to selected 1.158
buffer output so quiet + format works


Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 21 00:13:03 2005 UTC (9 years, 2 months ago) by solar
Branch: MAIN
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 , to selected 1.158
- update README and manpage for new options.


Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 20 22:06:08 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.38: +307 -186 lines
Diff to previous 1.38 , to selected 1.158
break scanelf_file() up into smaller functions to easily support custom --format output


Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 19 22:19:26 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.37: +31 -6 lines
Diff to previous 1.37 , to selected 1.158
add support for displaying an ELFs interp section


Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 16 06:34:39 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.36: +13 -7 lines
Diff to previous 1.36 , to selected 1.158
add a -y option to handle whether we scan symlinked files


Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 15 22:02:03 2005 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.35: +3 -14 lines
Diff to previous 1.35 , to selected 1.158
move common warn/warnf/err macros to paxelf.h


Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 14 00:17:30 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 , to selected 1.158
- getting ready to cut 0.0.6


Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 12 19:11:32 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 , to selected 1.158
- vapier draws funny pictures http://dev.gentoo.org/~vapier/getenv-howto.png


Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 10 15:15:40 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.32: +15 -9 lines
Diff to previous 1.32 , to selected 1.158
- free orig pointer locations and not ptr that has been incremented. Use puts/fputs in place of printf() when no format identifier is used. Don't scan symlinks in scanelf_file()


Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 7 00:01:40 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.31: +85 -26 lines
Diff to previous 1.31 , to selected 1.158
merge some fixes from tigger and add support for dumping DT_NEEDED information


Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 6 02:01:52 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.30: +4 -6 lines
Diff to previous 1.30 , to selected 1.158
- just use 1 libc call to fill buf


Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 16:15:31 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.29: +6 -3 lines
Diff to previous 1.29 , to selected 1.158
- add a malloc check


Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 04:25:54 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.28: +10 -7 lines
Diff to previous 1.28 , to selected 1.158
fix quiet output with symbol scanning


Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 03:41:27 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.27: +23 -13 lines
Diff to previous 1.27 , to selected 1.158
- refine symbol formatting


Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 01:44:08 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.26: +52 -14 lines
Diff to previous 1.26 , to selected 1.158
add symbol scanning support to scanelf


Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 00:51:33 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.25: +71 -49 lines
Diff to previous 1.25 , to selected 1.158
handle any bitsize / endian type


Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 18:56:08 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 , to selected 1.158
add basic sanity check if user didnt give us any paths to scan


Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 18:42:27 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.23: +10 -12 lines
Diff to previous 1.23 , to selected 1.158
make -o failure abort


Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 18:27:45 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.22: +30 -16 lines
Diff to previous 1.22 , to selected 1.158
handle rpath and runpath and make sure they are sane


Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 18:03:22 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.21: +2 -7 lines
Diff to previous 1.21 , to selected 1.158
remove check_elf_header and IS_ELF since readelf() has these checks built in now


Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 16:02:25 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.20: +19 -4 lines
Diff to previous 1.20 , to selected 1.158
- added -o --file= option for redirecting stdout, use _POSIX_PATH_MAX vs PATH_MAX to mimic what is used elsewhere within the code.


Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 2 19:06:36 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.19: +13 -15 lines
Diff to previous 1.19 , to selected 1.158
- work around problem freeing memory on uclibc systems by using a static buffer for path handling. this should also speed up the scanelf_dir function


Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 2 04:13:36 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.18: +5 -6 lines
Diff to previous 1.18 , to selected 1.158
- change formatting on --version


Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 2 03:25:38 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 , to selected 1.158
remove useless null


Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 2 00:11:01 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.16: +13 -2 lines
Diff to previous 1.16 , to selected 1.158
make sure scanelf_ldpath scans /lib /usr/lib /usr/local/lib even if it isnt in ld.so.conf


Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 1 20:44:11 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.15: +17 -11 lines
Diff to previous 1.15 , to selected 1.158
- updated manpage again, rename -s/--stack to -e/--header and rename -H/--noheader to -B/--nobanner


Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 1 20:08:44 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 , to selected 1.158
make output with verbose easier to parse


Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 1 19:56:34 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.13: +51 -26 lines
Diff to previous 1.13 , to selected 1.158
add --mount, --verbose, and --noheader options


Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 31 18:34:01 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 , to selected 1.158
- added relro to header and uses puts vs printf for minor speed updated where printf was used without a format modifier


Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 31 00:50:56 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.11: +22 -15 lines
Diff to previous 1.11 , to selected 1.158
- update formatting to not be so ulgy


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 31 00:03:25 2005 UTC (9 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 , to selected 1.158
- update authors


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 30 23:43:30 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.9: +305 -128 lines
Diff to previous 1.9 , to selected 1.158
fold pttool, scanexec, and scanrpath into scanelf and added ability to scan for TEXTRELs


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 29 23:37:03 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 , to selected 1.158
more functions and cleanups


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 25 21:50:20 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 , to selected 1.158
cleanup and unify duplicated code


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 19 16:54:48 2004 UTC (9 years, 8 months ago) by solar
Branch: MAIN
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 , to selected 1.158
use lstat()/S_ISREG to avoid reporting dups for symlinks. (speeds things up quite a bit)


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 10 08:20:07 2004 UTC (10 years, 6 months ago) by solar
Branch: MAIN
Changes since 1.5: +30 -18 lines
Diff to previous 1.5 , to selected 1.158
update scanelf


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 9 17:46:41 2003 UTC (10 years, 8 months ago) by solar
Branch: MAIN
Changes since 1.4: +8 -5 lines
Diff to previous 1.4 , to selected 1.158
paxelf touchup


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 1 08:58:23 2003 UTC (10 years, 8 months ago) by solar
Branch: MAIN
Changes since 1.3: +24 -24 lines
Diff to previous 1.3 , to selected 1.158
small touchups


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 26 23:42:10 2003 UTC (10 years, 8 months ago) by solar
Branch: MAIN
Changes since 1.2: +8 -17 lines
Diff to previous 1.2 , to selected 1.158
header cleanups, send all usage to stderr. add scanelf to README


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 22:29:06 2003 UTC (10 years, 8 months ago) by solar
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 , to selected 1.158
change puts to scanelf


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 22:19:20 2003 UTC (10 years, 8 months ago) by solar
Branch: MAIN
Diff to selected 1.158
added scanelf.c


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20