<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/scripts/oss-fuzz, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/scripts/oss-fuzz?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/scripts/oss-fuzz?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-05-29T10:41:56Z</updated>
<entry>
<title>fuzz: disable leak-detection for oss-fuzz builds</title>
<updated>2024-05-29T10:41:56Z</updated>
<author>
<name>Alexander Bulekov</name>
<email>alxndr@bu.edu</email>
</author>
<published>2024-05-27T14:59:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=3e964275d65b92075249201c49b39dfb06d08ad4'/>
<id>urn:sha1:3e964275d65b92075249201c49b39dfb06d08ad4</id>
<content type='text'>
When we are building for OSS-Fuzz, we want to ensure that the fuzzer
targets are actually created, regardless of leaks. Leaks will be
detected by the subsequent tests of the individual fuzz-targets.

Signed-off-by: Alexander Bulekov &lt;alxndr@bu.edu&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-ID: &lt;20240527150001.325565-1-alxndr@bu.edu&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>system: Rename softmmu/ directory as system/</title>
<updated>2023-10-08T19:08:08Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2023-10-04T09:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8d7f2e767d8cd058c817dbe31430b89f2e11535d'/>
<id>urn:sha1:8d7f2e767d8cd058c817dbe31430b89f2e11535d</id>
<content type='text'>
The softmmu/ directory contains files specific to system
emulation. Rename it as system/. Update meson rules, the
MAINTAINERS file and all the documentation and comments.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-ID: &lt;20231004090629.37473-14-philmd@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/: spelling fixes</title>
<updated>2023-09-08T10:08:52Z</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2023-07-14T11:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=d30b5bc95a9406b4125a35defba3a953358215cb'/>
<id>urn:sha1:d30b5bc95a9406b4125a35defba3a953358215cb</id>
<content type='text'>
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>scripts/oss-fuzz: add a suppression for keymap</title>
<updated>2023-07-03T11:51:21Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-06-30T18:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=9ea2e69fb2df969332badd403f35b0e355f8a741'/>
<id>urn:sha1:9ea2e69fb2df969332badd403f35b0e355f8a741</id>
<content type='text'>
When updating to the latest fedora the santizer found more leaks
inside xkbmap:

  FAILED: pc-bios/keymaps/ar
  /builds/stsquad/qemu/build-oss-fuzz/qemu-keymap -f pc-bios/keymaps/ar -l ara
  =================================================================
  ==3604==ERROR: LeakSanitizer: detected memory leaks
  Direct leak of 1424 byte(s) in 1 object(s) allocated from:
      #0 0x56316418ebec in __interceptor_calloc (/builds/stsquad/qemu/build-oss-fuzz/qemu-keymap+0x127bec) (BuildId: a2ad9da3190962acaa010fa8f44a9269f9081e1c)
      #1 0x7f60d4dc067e  (/lib64/libxkbcommon.so.0+0x1c67e) (BuildId: b243a34e4e58e6a30b93771c256268b114d34b80)
      #2 0x7f60d4dc2137 in xkb_keymap_new_from_names (/lib64/libxkbcommon.so.0+0x1e137) (BuildId: b243a34e4e58e6a30b93771c256268b114d34b80)
      #3 0x5631641ca50f in main /builds/stsquad/qemu/build-oss-fuzz/../qemu-keymap.c:215:11

and many more. As we can't do anything about the library add a
suppression to keep the CI going with what its meant to be doing.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20230630180423.558337-8-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>gitlab: add lsan suppression file to workaround tcmalloc issues</title>
<updated>2023-02-02T10:44:23Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-01-24T18:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=3ab8bf8341ae42efbefbb99bff6d703c302b1d4c'/>
<id>urn:sha1:3ab8bf8341ae42efbefbb99bff6d703c302b1d4c</id>
<content type='text'>
The up-coming upgrade to Fedora 37 will bring in libtcmalloc as a
dependency of libglusterfs which confuses our fuzz run. Rather than
disable the build lets use LSAN's suppression mechanism to prevent the
job from failing.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Cc: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20230124180127.1881110-10-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>oss-fuzz: ensure base_copy is a generic-fuzzer</title>
<updated>2022-07-22T17:01:44Z</updated>
<author>
<name>Alexander Bulekov</name>
<email>alxndr@bu.edu</email>
</author>
<published>2022-07-20T18:09:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=7906f11e62c39cdbf8edc274cb311a420d675371'/>
<id>urn:sha1:7906f11e62c39cdbf8edc274cb311a420d675371</id>
<content type='text'>
Depending on how the target list is sorted in by qemu, the first target
(used as the base copy of the fuzzer, to which all others are linked)
might not be a generic-fuzzer. Since we are trying to only use
generic-fuzz, on oss-fuzz, fix that, to ensure the base copy is a
generic-fuzzer.

Signed-off-by: Alexander Bulekov &lt;alxndr@bu.edu&gt;
Message-Id: &lt;20220720180946.2264253-1-alxndr@bu.edu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>oss-fuzz: remove binaries from qemu-bundle tree</title>
<updated>2022-07-22T17:01:44Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2022-07-20T08:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=d5b50236915be6f48e9ade9152273f0e902c63be'/>
<id>urn:sha1:d5b50236915be6f48e9ade9152273f0e902c63be</id>
<content type='text'>
oss-fuzz is finding possible fuzzing targets even under qemu-bundle/.../bin, but they
cannot be used because the required shared libraries are missing.  Since the
fuzzing targets are already placed manually in $OUT, the bindir and libexecdir
subtrees are not needed; remove them.

Cc: Alexander Bulekov &lt;alxndr@bu.edu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>datadir: Use bundle mechanism</title>
<updated>2022-07-13T14:58:57Z</updated>
<author>
<name>Akihiko Odaki</name>
<email>akihiko.odaki@gmail.com</email>
</author>
<published>2022-06-24T14:50:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=882084a04ae9bec00e510a2319feba1d1a653fb1'/>
<id>urn:sha1:882084a04ae9bec00e510a2319feba1d1a653fb1</id>
<content type='text'>
softmmu/datadir.c had its own implementation to find files in the
build tree, but now bundle mechanism provides the unified
implementation which works for datadir and the other files.

Signed-off-by: Akihiko Odaki &lt;akihiko.odaki@gmail.com&gt;
Message-Id: &lt;20220624145039.49929-4-akihiko.odaki@gmail.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>fuzz: only use generic-fuzz targets on oss-fuzz</title>
<updated>2022-07-08T09:03:36Z</updated>
<author>
<name>Alexander Bulekov</name>
<email>alxndr@bu.edu</email>
</author>
<published>2022-06-23T12:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=0e76929d6539a609a49bac09c27444ef576fa74a'/>
<id>urn:sha1:0e76929d6539a609a49bac09c27444ef576fa74a</id>
<content type='text'>
The non-generic-fuzz targets often time-out, or run out of memory.
Additionally, they create unreproducible bug-reports. It is possible
that this is resulting in failing coverage-reports on OSS-Fuzz. In the
future, these test-cases should be fixed, or removed.

Reviewed-by: Darren Kenny &lt;darren.kenny@oracle.com&gt;
Signed-off-by: Alexander Bulekov &lt;alxndr@bu.edu&gt;
Message-Id: &lt;20220623125505.2137534-1-alxndr@bu.edu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: move libqtest.h back under qtest/</title>
<updated>2022-05-03T11:16:51Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2022-03-30T09:39:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=907b5105f1b9e1af1abbdbb4f2039c7ab105c001'/>
<id>urn:sha1:907b5105f1b9e1af1abbdbb4f2039c7ab105c001</id>
<content type='text'>
Since commit a2ce7dbd917 ("meson: convert tests/qtest to meson"),
libqtest.h is under libqos/ directory, while libqtest.c is still in
qtest/. Move back to its original location to avoid mixing with libqos/.

Suggested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
</content>
</entry>
</feed>
