<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[compiler-rt] reimplements GetMemoryProfile for netbsd. (#84841)</title>
<updated>2024-03-13T09:25:43+00:00</updated>
<author>
<name>David CARLIER</name>
<email>devnexen@gmail.com</email>
</author>
<published>2024-03-13T09:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e371ada409b225ea990b5ac0d5cafea26a6046e1'/>
<id>e371ada409b225ea990b5ac0d5cafea26a6046e1</id>
<content type='text'>
The actual solution relies on the premise /proc/self/smaps existence.
instead relying on native api like freebsd.
fixing fuzzer build too.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The actual solution relies on the premise /proc/self/smaps existence.
instead relying on native api like freebsd.
fixing fuzzer build too.</pre>
</div>
</content>
</entry>
<entry>
<title>[Fuzzer] Assign names to workers</title>
<updated>2023-07-26T04:49:35+00:00</updated>
<author>
<name>David CARLIER</name>
<email>devnexen@gmail.com</email>
</author>
<published>2023-07-26T04:49:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b2a253855f4e9e8335fd674c42b9ad675eb562c5'/>
<id>b2a253855f4e9e8335fd674c42b9ad675eb562c5</id>
<content type='text'>
Allow to have a name for workers in case the fuzzed code is itself using threads.

Reviewers: vitalybuka

Reviewed-By: vitalybuka

Differential Revision: https://reviews.llvm.org/D155754
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow to have a name for workers in case the fuzzed code is itself using threads.

Reviewers: vitalybuka

Reviewed-By: vitalybuka

Differential Revision: https://reviews.llvm.org/D155754
</pre>
</div>
</content>
</entry>
<entry>
<title>[Libfuzzer] Include signal.h for SIGINT</title>
<updated>2022-09-04T16:31:15+00:00</updated>
<author>
<name>Krzysztof Parzyszek</name>
<email>kparzysz@quicinc.com</email>
</author>
<published>2022-09-04T16:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=98c2754abd8fa46287f6e925eb4a78341740e281'/>
<id>98c2754abd8fa46287f6e925eb4a78341740e281</id>
<content type='text'>
Or else compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp fails to compile
on FreeBSD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Or else compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp fails to compile
on FreeBSD.
</pre>
</div>
</content>
</entry>
<entry>
<title>Libfuzzer fix for Ctrl + c not working with -fork and -ignore_crashes=1</title>
<updated>2022-08-16T23:45:39+00:00</updated>
<author>
<name>Maxim Schessler</name>
<email>maxim.schessler@gmail.com</email>
</author>
<published>2022-08-15T18:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=aa0e9046c16bf27a8affbd903e2e3cad924a5217'/>
<id>aa0e9046c16bf27a8affbd903e2e3cad924a5217</id>
<content type='text'>
In some cases running Libfuzzer in fork mode with -ignore_crashes=1 counts ctrl+c as crash and restarts.

Thread: https://github.com/google/oss-fuzz/issues/4547

Credit: Marcel Boehme &lt;marcel.boehme@acm.org&gt;

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D130990
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases running Libfuzzer in fork mode with -ignore_crashes=1 counts ctrl+c as crash and restarts.

Thread: https://github.com/google/oss-fuzz/issues/4547

Credit: Marcel Boehme &lt;marcel.boehme@acm.org&gt;

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D130990
</pre>
</div>
</content>
</entry>
<entry>
<title>[Sanitizers] Remove OpenBSD support (new attempt)</title>
<updated>2020-10-20T10:16:09+00:00</updated>
<author>
<name>David Carlier</name>
<email>devnexen@gmail.com</email>
</author>
<published>2020-10-20T10:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=53065c543fe3f1e7913c9e8f2487d76034afa249'/>
<id>53065c543fe3f1e7913c9e8f2487d76034afa249</id>
<content type='text'>
- Fixing VS compiler and other cases settings this time.

Reviewers: dmajor, hans

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D89759
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fixing VS compiler and other cases settings this time.

Reviewers: dmajor, hans

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D89759
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Sanitizers] Remove OpenBSD support" + 1</title>
<updated>2020-10-19T23:11:21+00:00</updated>
<author>
<name>Evgenii Stepanov</name>
<email>eugenis@google.com</email>
</author>
<published>2020-10-19T22:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7ecd60bb7022bb681b9dc01a9c232fd93b4b169c'/>
<id>7ecd60bb7022bb681b9dc01a9c232fd93b4b169c</id>
<content type='text'>
Revert "Fix compiler-rt build on Windows after D89640"

This reverts commit a7acee89d68473183cc5021d952a56cdf0ae27d3.
This reverts commit d09b08919ca6e206cd981fdea8b19b1d1188e325.

Reason: breaks Linux / x86_64 build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert "Fix compiler-rt build on Windows after D89640"

This reverts commit a7acee89d68473183cc5021d952a56cdf0ae27d3.
This reverts commit d09b08919ca6e206cd981fdea8b19b1d1188e325.

Reason: breaks Linux / x86_64 build.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Sanitizers] Remove OpenBSD support</title>
<updated>2020-10-18T13:57:07+00:00</updated>
<author>
<name>David Carlier</name>
<email>devnexen@gmail.com</email>
</author>
<published>2020-10-18T05:01:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d09b08919ca6e206cd981fdea8b19b1d1188e325'/>
<id>d09b08919ca6e206cd981fdea8b19b1d1188e325</id>
<content type='text'>
- Removing unused and unusable code.

Reviewers: krytarowski

Reviewed By: krytarowski

Differential Revision: https://reviews.llvm.org/D89640
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Removing unused and unusable code.

Reviewers: krytarowski

Reviewed By: krytarowski

Differential Revision: https://reviews.llvm.org/D89640
</pre>
</div>
</content>
</entry>
<entry>
<title>[libFuzzer] Separate platform related macros out from FuzzerDefs.h into FuzzerPlatform.h, and adjust includes in other files.</title>
<updated>2020-07-14T21:31:56+00:00</updated>
<author>
<name>Dokyung Song</name>
<email>dokyungs@google.com</email>
</author>
<published>2020-07-14T21:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=226866e115de652b6fbc8f8195881a529ccb4b01'/>
<id>226866e115de652b6fbc8f8195881a529ccb4b01</id>
<content type='text'>
Summary: This patch separates platform related macros in lib/fuzzer/FuzzerDefs.h into lib/fuzzer/FuzzerPlatform.h, and use FuzzerPlatform.h where necessary. This separation helps when compiling libFuzzer's interceptor module (under review); an unnecessary include of standard headers (such as string.h) may produce conflicts/ambiguation with the interceptor's declarations/definitions of library functions, which complicates interceptor implementation.

Reviewers: morehouse, hctim

Reviewed By: morehouse

Subscribers: krytarowski, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D83805
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: This patch separates platform related macros in lib/fuzzer/FuzzerDefs.h into lib/fuzzer/FuzzerPlatform.h, and use FuzzerPlatform.h where necessary. This separation helps when compiling libFuzzer's interceptor module (under review); an unnecessary include of standard headers (such as string.h) may produce conflicts/ambiguation with the interceptor's declarations/definitions of library functions, which complicates interceptor implementation.

Reviewers: morehouse, hctim

Reviewed By: morehouse

Subscribers: krytarowski, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D83805
</pre>
</div>
</content>
</entry>
<entry>
<title>[fuzzer] Add basic support for emscripten.</title>
<updated>2019-12-12T16:56:47+00:00</updated>
<author>
<name>Jonathan Metzman</name>
<email>metzman@chromium.org</email>
</author>
<published>2019-12-12T16:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=23bee0b0cf7a1af084ea06f2b7dfde1767837084'/>
<id>23bee0b0cf7a1af084ea06f2b7dfde1767837084</id>
<content type='text'>
Summary:
Add basic support for emscripten.

This enables libFuzzer to build (using build.sh) for emscripten and fuzz
a target compiled with
-fsanitize-coverage=inline-8bit-counters.

Basic fuzzing and bug finding work with this commit.
RSS limit and timeouts will not work because they depend on system
functions that are not implemented/widely supported in emscripten.

Reviewers: kcc, vitalybuka, hctim

Reviewed By: hctim

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D71285
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Add basic support for emscripten.

This enables libFuzzer to build (using build.sh) for emscripten and fuzz
a target compiled with
-fsanitize-coverage=inline-8bit-counters.

Basic fuzzing and bug finding work with this commit.
RSS limit and timeouts will not work because they depend on system
functions that are not implemented/widely supported in emscripten.

Reviewers: kcc, vitalybuka, hctim

Reviewed By: hctim

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D71285
</pre>
</div>
</content>
</entry>
<entry>
<title>[libFuzzer] don't use /dev/null for DiscardOuput in Fuchsia.</title>
<updated>2019-11-22T00:56:05+00:00</updated>
<author>
<name>Marco Vanotti</name>
<email>mvanotti@google.com</email>
</author>
<published>2019-10-29T22:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e5b603a4c32044932c3a1d26ccbc7d43fec939d5'/>
<id>e5b603a4c32044932c3a1d26ccbc7d43fec939d5</id>
<content type='text'>
Summary:

This commit moves the `DiscardOutput` function in FuzzerIO to
FuzzerUtil, so fuchsia can have its own specialized version.

In fuchsia, accessing `/dev/null` is not supported, and there's nothing
similar to a file that discards everything that is written to it. The
way of doing something similar in fuchsia is by using `fdio_null_create`
and binding that to a file descriptor with `fdio_bind_to_fd`.

This change should fix one of the issues with the `-close_fd_mask` flag
in libfuzzer, in which closing stdout was not working due to
`fopen("/dev/null", "w")` returning `NULL`.

Reviewers: kcc, aarongreen

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D69593
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:

This commit moves the `DiscardOutput` function in FuzzerIO to
FuzzerUtil, so fuchsia can have its own specialized version.

In fuchsia, accessing `/dev/null` is not supported, and there's nothing
similar to a file that discards everything that is written to it. The
way of doing something similar in fuchsia is by using `fdio_null_create`
and binding that to a file descriptor with `fdio_bind_to_fd`.

This change should fix one of the issues with the `-close_fd_mask` flag
in libfuzzer, in which closing stdout was not working due to
`fopen("/dev/null", "w")` returning `NULL`.

Reviewers: kcc, aarongreen

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D69593
</pre>
</div>
</content>
</entry>
</feed>
