Commit Graph

33 Commits

Author SHA1 Message Date
DavidKorczynski a9f24c0d8b
binutils: optimise objdump and nm fuzzers (#6639)
* binutils: optimise objdump and nm fuzzers

* binutils: remove local flag in objdump
2021-10-23 18:49:04 +01:00
DavidKorczynski 6e6e507f46
binutils: add objcopy fuzzer (#6635)
* binutils: add objcopy fuzzer

* binutils: objcopy fuzzer: fix docs

* binutils: objcopy: use right naming

* binutils: objcopy: fix styling

* binutils: disable leak deteection for objcopy fuzzer

* binutils: copy over all option files
2021-10-22 16:41:51 +00:00
DavidKorczynski 26dd8cfa83
binutils: add objdump and nm fuzzer, and refactor (#6632)
* binutils: refactor and objdump and nm fuzzer

* cleanup build

* binutils: remove tabs

* binutils: bit more cleanup

* binutils: fix typo
2021-10-21 21:48:11 +01:00
DavidKorczynski e3c24aa9ae
binutils: enable dwarf analysis in readelf fuzzer (#6628) 2021-10-21 16:20:33 +01:00
DavidKorczynski 211088a883
binutils: fix build (#6520) 2021-09-25 13:45:50 +01:00
Catena cyber ca0365bbc2
Disables werror for binutils (#5628) 2021-04-18 08:23:51 -07:00
Alan Modra b57dd54803
Don't build parts of gdb when testing binutils (#5583)
gdb sources have been reorganised.  Disable more directories when
building the binutils fuzzers.
2021-04-06 06:10:01 -07:00
Alan Modra 2dc131e5b0
Fix issue 32760: binutils: Fuzzing build failure (#5582)
Upstream changed over to using stdbool.h.  s/TRUE/true/
2021-04-06 00:15:28 +00:00
Alan Modra 9de297cc73
Issue 27734: binutils:fuzz_readelf: Abrt with empty stacktrace (#4945)
Clear static vars after freeing, to prevent a double-free on the next
test iteration.
2021-01-20 05:02:17 -08:00
Abhishek Arya 4f5c06fbf7
Revert "[binutils] Add new fuzzer (#4128)" (#4133)
This reverts commit 6d59abf3ca.
2020-07-14 13:43:13 -07:00
Ravi Jotwani 6d59abf3ca
[binutils] Add new fuzzer (#4128)
* cleaned up Dockerfile, added new fuzzer, updated build script

* added license header to fuzz_demangle.c
2020-07-14 08:05:51 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
DavidKorczynski 542543d4f7
[Binutils] Avoid detecting memory leaks in readelf fuzzer (#3718)
* Set ASAN to detect_leaks=0 as maintainers do not want memory leaks.

* Fixed so the options file are now placed correctly in the out directory.
2020-04-28 08:00:56 -07:00
Alan Modra a6dae35933
Fix fuzz_readelf.c compile error (#3705) (#3706)
Upstream binutils commit 978c4450511 broke this target.  What's more,
the use-after-free issue had been fixed quite some time ago.  So,
don't reference symtab_shndx_list.
2020-04-24 14:14:13 +10:00
DavidKorczynski 8caacee4f6
Removed the cxxfilt fuzzer as the code it targets is not maintained by binutils maintainers. (#3682) 2020-04-23 10:43:21 +10:00
Catena cyber 67c9b30cf8
[binutils] Use mkstemp in binutils fuzz target (#3508)
* Use mkstemp in binutils fuzz target

* Adding License

* Remove file and do not abort
2020-03-19 09:32:38 -07:00
Max Moroz 51dd9a02cb
Enable dataflow build config for 22 more projects (#1632). (#3519)
* Enable dataflow build config for 22 more projects (#1632).

* suppress warnings in libteken

* move suppressing DFSAN_OPTIONS to the builder image
2020-03-18 13:12:58 -07:00
DavidKorczynski 1a89d904e8
[binutils] Adding new fuzz targets (#3487)
Fixed travis.

Removed whitespace and fixed commit email for google cla

Fixed travis.

Removed whitespace and fixed commit email for google cla
2020-03-11 15:26:46 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Abhishek Arya 6c2e01fb60
Fix binutils fuzzer
Don't try to reset the line buffer pos by detecting '\n' output as
that's ineffective. Reset before each disasfunc call instead.
2020-02-10 18:25:10 -08:00
Abhishek Arya 891450ddec Revert "Fix overflow in binutils fuzz target (#3363)" (#3364)
This reverts commit 3f808990af.
2020-02-09 18:40:50 -08:00
Catena cyber 3f808990af
Fix overflow in binutils fuzz target (#3363) 2020-02-09 07:33:56 -08:00
Catena cyber 45c8db1c3c
Fixes target for binutils project (#3357) 2020-02-07 06:18:45 -08:00
Catena cyber c15978c5d1
Improves binutils fuzz target (#3343)
Support disassembly of testcases containing more than one
 insn
2020-02-06 07:44:52 -08:00
Catena cyber fa0ec600ff
Fix binutils fuzz target (#3317)
* Fix binutils fuzz target

Compiler warnings
And undefined behavior against alignment

* Add license
2020-02-01 17:43:50 -08:00
Catena cyber 40a6d7ffdb Silence unsigned overflow (#3216) 2020-01-10 07:04:42 -08:00
Catena cyber 7cfb7aab73 Silence unsigned integer overflows in binutils project (#3178)
* Silence unsigned integer overflows in binutils

* Use fno-sanitize

* Condition on sanitizer
2020-01-09 07:46:31 -08:00
Catena cyber 44d340ef60 Adds a new target to binutils project (#3151) 2019-12-18 10:54:39 -08:00
Catena cyber dd68f02b02 Removes binutils patch, applied upstream (#3109) 2019-12-12 06:25:21 -08:00
Catena cyber f2410ec0b2 Adds people to binutils project (#3099) 2019-12-09 07:43:18 -08:00
Catena cyber 84689bf8e7 Removes binutils compile patch (#2955) 2019-10-16 11:37:39 -07:00
Catena cyber e957a1267a Adds people to project binutils (#2952) 2019-10-16 09:34:52 -07:00
Catena cyber 8fb7e6a4ff [binutils] Adds project binutils (#2617)
* Adds project binutils

With only one target for now

* nit define constant as macro

* Adds binutils patch against memory leaks

* Updates rebased patch

* Patch fixing binutils
2019-10-14 08:53:02 -07:00