summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Maria Guseva [Wed, 19 Jul 2017 03:26:18 +0000 (12:26 +0900)]
Fix "UnicodeDecodeError: 'ascii' codec can't decode" in coverage-report-dump.py
Change-Id: Ibaaf285d94ce5ade302983b16b787e55d3c46811
Kostya Serebryany [Thu, 15 Jun 2017 22:43:40 +0000 (22:43 +0000)]
[libFuzzer] change the default max_len from 64 to 4096. This will affect cases where libFuzzer is run w/o initial corpus or with a corpus of very small items.
Change-Id: Ia396f702ec7c8a0c637837240282f85574e1af3a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305521
91177308-0d34-0410-b5e6-
96231b3b80d8
George Karpenkov [Wed, 14 Jun 2017 23:40:25 +0000 (23:40 +0000)]
Fixing section name for Darwin platforms for sanitizer coverage
On Darwin, section names have a 16char length limit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305429
91177308-0d34-0410-b5e6-
96231b3b80d8
Change-Id: I2886b0de1efdbf69030ec5c92cde0f261c4273f3
Kostya Serebryany [Wed, 14 Jun 2017 00:34:42 +0000 (00:34 +0000)]
[libFuzzer] really restrict the new test to Linux (fails on Mac/Windows currently)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305346
91177308-0d34-0410-b5e6-
96231b3b80d8
Change-Id: I01cd187c1304e273e6af8c980ef073ae5661ec83
Kostya Serebryany [Tue, 13 Jun 2017 23:09:11 +0000 (23:09 +0000)]
[libFuzzer] restrict the new test to Linux (fails on Mac currently)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305335
91177308-0d34-0410-b5e6-
96231b3b80d8
Change-Id: I09edcc67874aa185209875f0de9f0ce44501c458
Kostya Serebryany [Tue, 13 Jun 2017 22:31:21 +0000 (22:31 +0000)]
[libFuzzer] initial support of -fsanitize-coverage=inline-8bit-counters in libFuzzer. This is not fully functional yet, but simple tests work
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305331
91177308-0d34-0410-b5e6-
96231b3b80d8
Change-Id: I35ec0f5a73a20a1d9650a3384049c25f24bc4be9
Maria Guseva [Fri, 14 Jul 2017 05:08:09 +0000 (14:08 +0900)]
Fix missed debuginfo in libFuzzer binary
Disable stripping debuginfo for libFuzzer.
Change-Id: Id7dc47720b081869fef560dbf45783a6cbafc091
Dmitry Kovalenko [Mon, 10 Jul 2017 09:33:09 +0000 (12:33 +0300)]
Add capability to dump coverage instead of http server run
Use coverage-report-dump.py with --dump=<dest_dir> to dump html's
"$BROWSER <dest_dir>/index.html" show same info as common HTTP server
but now you can easily share coverage
Moreover makes zip archive with whole report and print to stdout summary
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Mon, 10 Jul 2017 05:02:44 +0000 (08:02 +0300)]
Get debug filename using Build-ID or .gnu_debuglink section
Use readelf output to obtain debug filename
Dmitriy Nikiforov [Wed, 12 Jul 2017 08:10:17 +0000 (17:10 +0900)]
Fix regexp in sancov_symbolize.py
Before this patch this regexp did not work with C++ code.
Maria Guseva [Tue, 11 Jul 2017 07:47:36 +0000 (16:47 +0900)]
Add license file
Change-Id: Ia0a86e55a90e7eaa50462a15fdac4f38db3d620b
Maria Guseva [Thu, 6 Jul 2017 11:23:53 +0000 (14:23 +0300)]
Fix coverage-report-server.py script to work with absolute srcpath
The issue is due to os.path.join semantics:
If a component is an absolute path, all previous components are thrown away
and joining continues from the absolute path component.
Maria Guseva [Thu, 6 Jul 2017 10:58:36 +0000 (13:58 +0300)]
Add upstream LLVM coverage-report-server.py script for sancov dumps visualization
Maria Guseva [Wed, 5 Jul 2017 08:51:45 +0000 (11:51 +0300)]
Remove the libsancov_cb hack
Removed as the __sanitizer_cov_trace_pc stub is available now in GCC
for Tizen 4.0 (Tizen:Base).
Maria Guseva [Wed, 5 Jul 2017 08:45:03 +0000 (11:45 +0300)]
Revert "Add removing of the -Wl,-Bsymbolic options in gcc-force-options script"
This reverts commit
76f20263d005bcb2db00dedbb4e1429a95e6a486.
Reverted as the libsancov_cb hack was removed in previous commit.
Maria Guseva [Wed, 5 Jul 2017 08:27:05 +0000 (11:27 +0300)]
Add build of sancov.rpm package to deliver scripts for coverage processing
Dmitriy Nikiforov [Wed, 5 Jul 2017 08:26:53 +0000 (11:26 +0300)]
Dmitriy Nikiforov [Fri, 9 Jun 2017 16:27:28 +0000 (19:27 +0300)]
Add '--debug-dirs' option to sancov_symbolize.py
Added '--debug-dirs' for specifying paths to directories with .debug files
containing debug information for specified binaries.
Changes:
- Moved arguments parsing logic to a new function 'parse_args'
- print_symcov() now accepts list of tuples as its argument instead of a dict
- Added 'debug_info' argument to get_symbolized_coverage()
- Updated usage message
Maria Guseva [Fri, 9 Jun 2017 09:47:36 +0000 (12:47 +0300)]
Fix regexp expressions in sancov.py to work with old grep on Tizen
Grep is known to treat "\s" differently:
only in newer versions it is intrepreted as whitespace.
See http://savannah.gnu.org/bugs/?30515 for details
On Tizen the grep verions is 2.5.2 and "\s" is not yet supported as a special
symbol there.
Dmitriy Nikiforov [Thu, 8 Jun 2017 12:07:26 +0000 (15:07 +0300)]
Add support for __sanitizer_cov_trace_pc to sancov.py
Dmitriy Nikiforov [Thu, 8 Jun 2017 12:06:15 +0000 (15:06 +0300)]
Add upstream LLVM sancov.py script for sancov dumps parsing
Dmitriy Nikiforov [Wed, 7 Jun 2017 17:54:21 +0000 (20:54 +0300)]
[sanitizer-coverage] Add script for coverage symbolization
Chandler Carruth [Tue, 6 Jun 2017 23:28:01 +0000 (23:28 +0000)]
Fix the includes in lib/Fuzzer on Windows that have ordering
dependencies and add comments to tell future maintainers about those
requirements.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304843
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Tue, 6 Jun 2017 11:49:48 +0000 (11:49 +0000)]
Sort the remaining #include lines in include/... and lib/....
I did this a long time ago with a janky python script, but now
clang-format has built-in support for this. I fed clang-format every
line with a #include and let it re-sort things according to the precise
LLVM rules for include ordering baked into clang-format these days.
I've reverted a number of files where the results of sorting includes
isn't healthy. Either places where we have legacy code relying on
particular include ordering (where possible, I'll fix these separately)
or where we have particular formatting around #include lines that
I didn't want to disturb in this patch.
This patch is *entirely* mechanical. If you get merge conflicts or
anything, just ignore the changes in this patch and run clang-format
over your #include lines in the files.
Sorry for any noise here, but it is important to keep these things
stable. I was seeing an increasing number of patches with irrelevant
re-ordering of #include lines because clang-format was used. This patch
at least isolates that churn, makes it easy to skip when resolving
conflicts, and gets us to a clean baseline (again).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304787
91177308-0d34-0410-b5e6-
96231b3b80d8
Mandeep Singh Grang [Tue, 6 Jun 2017 05:08:36 +0000 (05:08 +0000)]
[llvm] Remove double semicolons
Reviewers: craig.topper, arsenm, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: mehdi_amini, wdng, nhaehnle, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D33924
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304767
91177308-0d34-0410-b5e6-
96231b3b80d8
Kostya Serebryany [Wed, 31 May 2017 19:47:11 +0000 (19:47 +0000)]
[libFuzzer] fix a test to match the new sanitizer run-time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304333
91177308-0d34-0410-b5e6-
96231b3b80d8
Vitaly Buka [Thu, 25 May 2017 01:43:13 +0000 (01:43 +0000)]
[libFuzzer] Don't replace custom signal handlers.
Summary:
This allows to keep handlers installed by sanitizers.
In other cases third-party code can replace handlers after libFuzzer
initialization anyway.
Reviewers: kcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D33522
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303828
91177308-0d34-0410-b5e6-
96231b3b80d8
Kostya Serebryany [Mon, 15 May 2017 22:55:00 +0000 (22:55 +0000)]
[libFuzzer] fix tests on Windows
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303128
91177308-0d34-0410-b5e6-
96231b3b80d8
Kostya Serebryany [Mon, 15 May 2017 22:38:29 +0000 (22:38 +0000)]
[libFuzzer] improve the afl driver and it's tests. Make it possible to run individual inputs with afl driver
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303125
91177308-0d34-0410-b5e6-
96231b3b80d8
Kostya Serebryany [Mon, 15 May 2017 17:39:42 +0000 (17:39 +0000)]
[libFuzzer] fix a warning from Wunreachable-code-loop-increment reported by Christian Holler. This also fixes a logical bug, which however does not affect the libFuzzer's ability too much (I wasn't able to create a differentiating test)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303087
91177308-0d34-0410-b5e6-
96231b3b80d8
Kostya Serebryany [Wed, 10 May 2017 23:59:03 +0000 (23:59 +0000)]
[libFuzzer] fix a compiler warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302747
91177308-0d34-0410-b5e6-
96231b3b80d8
Maria Guseva [Thu, 1 Jun 2017 11:34:57 +0000 (14:34 +0300)]
Add TODO comments to remove the libsancov_cb hack
Maria Guseva [Fri, 5 May 2017 15:14:58 +0000 (18:14 +0300)]
Add removing of the -Wl,-Bsymbolic options in gcc-force-options script
Maria Guseva [Fri, 5 May 2017 16:04:28 +0000 (19:04 +0300)]
Introduce fuzz-force-options package
The packages forces compile options for Address Sanitization and coverage
needed for fuzzing.
Maria Guseva [Wed, 10 May 2017 06:44:24 +0000 (09:44 +0300)]
Add building dummy lib for SanCov
Maria Guseva [Tue, 2 May 2017 16:13:41 +0000 (19:13 +0300)]
Add manifest and spec files needed for GBS build
Maria Guseva [Wed, 10 May 2017 12:01:57 +0000 (15:01 +0300)]
Initial commit
Copied lib/Fuzzer sources from LLVM repo, master branch, rev:
commit
1df940a102a8bf84dd51df273fa21f438ec83005
Author: Mikael Holmen <mikael.holmen@ericsson.com>
Date: Wed May 10 06:33:43 2017 +0000
[UnreachableBlockElim] Check return value of constrainRegClass().
Summary:
MachineRegisterInfo::constrainRegClass() can fail if two register classes
don't have a common subclass or if the register class doesn't contain
enough registers. Check the return value before trying to remove Phi nodes,
and if we can't constrain, we output a COPY instead of simply replacing
registers.
Reviewers: kparzysz, david2050, wmi
Reviewed By: kparzysz
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D32999
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302622
91177308-0d34-0410-b5e6-
96231b3b80
Tizen Infrastructure [Fri, 7 Jul 2017 02:18:59 +0000 (02:18 +0000)]
Initial empty repository