History log of /freebsd-src/contrib/elftoolchain/strings/strings.c (Results 1 – 24 of 24)
Revision Date Author Comments
# 5eac9c1c 16-Jul-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: extends rights

The libelf is using mmap if it can, if not it was fall backing to read.

Reported by: markj


# 5ff84ed3 16-Jul-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: fix entering to the capability mode

Reported by: markj


# d76eef34 17-Apr-2019 Ed Maste <emaste@FreeBSD.org>

cap_fileargs: chase r346315, update fileargs_init in consumers

Reported by: ci.freebsd.org (8 times so far)
MFC after: 3 weeks
MFC with: r346315
Sponsored by: The FreeBSD Foundation


# 6d395deb 04-Apr-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: capsicumize it

Reviewed by: cem
Discussed with: emaste
Differential Revision: https://reviews.freebsd.org/D18038


# 55d3f888 23-Mar-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: return an error code and the char value separately

If we returning 32 bits value it's hard to distinguish if the returned value
is a valid one or if its an error (in case of EOF). For that

strings: return an error code and the char value separately

If we returning 32 bits value it's hard to distinguish if the returned value
is a valid one or if its an error (in case of EOF). For that reason separate
exit code of the function from the returned character.

Reported by: cem, se

show more ...


# 1194c3cb 21-Mar-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

In case of ENCODING_8BIT the EOF code will be pass to putchar.
EOF check should be done before (uint8_t)c > 127 test.

Reported by: cem


# cee114a8 21-Mar-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

Fix powerpc and arm builds after r345361.

Reported by: jenkins


# 4cb07cba 21-Mar-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: do not continue if getc or getcharacter returns EOF

Reported by: cem


# 61d994f1 21-Mar-2019 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: do not depend on stdin

Instead of depending on one stdin FILE structure and use freopen(3), pass to
the functions appropriate FILE structure.

Reviewed by: cem
Discussed with: emaste
Differ

strings: do not depend on stdin

Instead of depending on one stdin FILE structure and use freopen(3), pass to
the functions appropriate FILE structure.

Reviewed by: cem
Discussed with: emaste
Differential Revision: https://reviews.freebsd.org/D18037

show more ...


# ae500c1f 10-Jan-2019 Ed Maste <emaste@FreeBSD.org>

Update to ELF Tool Chain r3668

Highlights:
- Make sure that only TLS sections are sorted into TLS segment.
- Fixed multiple errors in "Section to Segment mapping".
- Man page updates
- ar improvemen

Update to ELF Tool Chain r3668

Highlights:
- Make sure that only TLS sections are sorted into TLS segment.
- Fixed multiple errors in "Section to Segment mapping".
- Man page updates
- ar improvements
- elfcopy: avoid filter_reloc uninitialized variable for rela
- elfcopy: avoid stripping relocations from static binaries
- readelf: avoid printing directory in front of absolute path
- readelf: add NT_FREEBSD_FEATURE_CTL FreeBSD note type
- test improvements

NOTES:

Some of these changes originated in FreeBSD and simply reduce diffs
between contrib and vendor.

ELF Tool Chain ar is not (currently) used in FreeBSD, and there are
improvements in both FreeBSD and ELF Tool Chain ar that are not in
the other.

Sponsored by: The FreeBSD Foundation

show more ...


# 248b5d08 21-Nov-2018 Mateusz Guzik <mjg@FreeBSD.org>

strings: unbreak the build after r340746

Discussed with: oshogbo
Sponsored by: The FreeBSD Foundation


# 4f486ad6 21-Nov-2018 Mariusz Zaborski <oshogbo@FreeBSD.org>

strings: fix style nits

Reviewed by: cem, emaste, Joseph Koshy <jkoshy@users.sourceforge.net>
Differential Revision: https://reviews.freebsd.org/D18036


# 7ee12615 13-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Revert r340385, strings capability mode

This needs to be reworked for bootstrapping.


# 672b07ce 12-Nov-2018 Ed Maste <emaste@FreeBSD.org>

strings: enter capability mode when operating on stdin

Reviewed by: oshogbo
MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 715d1396 27-Apr-2018 Ed Maste <emaste@FreeBSD.org>

Update ELF Tool Chain to r3614

MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# bee2765c 17-Apr-2017 Ed Maste <emaste@FreeBSD.org>

Update ELF Tool Chain to upstream r3520

Highlights of changes between r3490 and r3520:

- Improve C++ demangling
- Improve compatibility with Binutils tools wrt. error messages
- Handle additional t

Update ELF Tool Chain to upstream r3520

Highlights of changes between r3490 and r3520:

- Improve C++ demangling
- Improve compatibility with Binutils tools wrt. error messages
- Handle additional types/sections/etc. in readelf and elfdump
- addr2line, cxxfilt: use setvbuf to set line buffering for filter use

PR: 218395
MFC after: 2 weeks
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

show more ...


# 080b7108 25-Jan-2017 Ed Maste <emaste@FreeBSD.org>

strings: avoid unnecessary trip through handle_file for stdin

Sponsored by: The FreeBSD Foundation


# f8d647b4 26-Oct-2016 Ed Maste <emaste@FreeBSD.org>

strings: fix exit status if a file before the last one fails

Previously a command like "strings f1 f2 f3" reported the exit status
based only on processing the last file.

As with GNU strings, repor

strings: fix exit status if a file before the last one fails

Previously a command like "strings f1 f2 f3" reported the exit status
based only on processing the last file.

As with GNU strings, report an error exit status if an error was
encountered processing any of the files. While here simplify the
exit status handling to just success (0) / failure (1).

Reviewed by: brooks
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8334

show more ...


# b6b6f9cc 20-May-2016 Ed Maste <emaste@FreeBSD.org>

Update to ELF Tool Chain r3475

Improvements include:

* Add support for reporting and handling a number of new constants in
various tools, including:
* CloudABI OSABI
* DT_TLSDESC_*

Update to ELF Tool Chain r3475

Improvements include:

* Add support for reporting and handling a number of new constants in
various tools, including:
* CloudABI OSABI
* DT_TLSDESC_*
* i386, MIPS, SPARC and amd64 relocations

* C++ demangler bug fixes

* Man page updates

* Improved input validation in several tools

This update also reduces diffs against upstream as a number of fixes
included in upstream were previously cherry-picked into FreeBSD.

Sponsored by: The FreeBSD Foundation

show more ...


# 839529ca 12-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Update ELF Tool Chain to upstream rev 3400

Some notable improvements include:

readelf:
- Add AArch64 relocation definitions.
- Report value of unknown relocation types.

elfcopy:
- Consider symbols

Update ELF Tool Chain to upstream rev 3400

Some notable improvements include:

readelf:
- Add AArch64 relocation definitions.
- Report value of unknown relocation types.

elfcopy:
- Consider symbols with STB_GNU_UNIQUE binding as global symbols.
- Fixed support for VMA adjustment for loadable sections found
in relocatable objects.
- Handle nameless global symbols.
- Improve wildcard matching for !-prefixed symbols.
- Add PE/COFF support.

elfdump:
- Improve section type reporting.
- Add MIPS-specific section types.

This update also includes a significant number of bug fixes.

PR: 207091 [exp-run]
Sponsored by: The FreeBSD Foundation

show more ...


# 67d97fe7 01-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Update elftoolchain to upstream revision 3179

Some notable changes:
- libdwarf: Fixed DWARF4 line section
- elfcopy: Implement --localize-hidden
- nm: handle object name referenced by DW_AT_specific

Update elftoolchain to upstream revision 3179

Some notable changes:
- libdwarf: Fixed DWARF4 line section
- elfcopy: Implement --localize-hidden
- nm: handle object name referenced by DW_AT_specification
- elfcopy: Add --strip-dwo and --extract-dwo options for split DWARF
- readelf: add remaining arm64 dynamic relocation names
- nm: Avoid integer overflow in value comparison

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

show more ...


# cf781b2e 24-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Update elftoolchain to upstream rev 3130

This brings a number of fixes to elfcopy/strip and DWARF4 improvements.

Sponsored by: The FreeBSD Foundation


# 50f69bfb 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Fix elftoolchain tools in-tree build

* make variables static
* add header for uint*_t typedefs


# a85fe12e 27-Nov-2014 Ed Maste <emaste@FreeBSD.org>

Copy elftoolchain binutils replacements from vendor branch

Sponsored by: The FreeBSD Foundation