fwupd/libfwupdplugin
Richard Hughes 28678235cd Move the fuzzing files into the plugin directories
We only had to pile everything into the src/fuzzing/firmware directory
because honggfuzz could not cope with more than one input path.

This way each plugin is self contained and easy to copy.
Also, install the fuzzing builder objects as this fixes the installed
tests when srcdir does not exist.

Based on a patch by Jan Tojnar <jtojnar@gmail.com>, many thanks.
2021-10-22 15:24:05 +01:00
..
tests Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
fu-archive.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-archive.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-backend.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-backend.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bluez-device.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bluez-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-cabinet.c Strip inner XML text when loading metainfo.xml files 2021-10-18 14:43:57 +01:00
fu-cabinet.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-cfi-device.c Share the Common Flash Memory Interface quirks between plugins 2021-10-20 12:19:39 +01:00
fu-cfi-device.h Share the Common Flash Memory Interface quirks between plugins 2021-10-20 12:19:39 +01:00
fu-cfu-common.c trivial: Export the CFU enum conversion functions 2021-09-25 21:16:18 +01:00
fu-cfu-common.h trivial: Export the CFU enum conversion functions 2021-09-25 21:16:18 +01:00
fu-cfu-offer.c Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-cfu-offer.h Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-cfu-payload.c Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-cfu-payload.h Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-chunk-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-chunk.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-chunk.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-cab.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-cab.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-freebsd.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-guid.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-guid.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-linux.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-version.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-version.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-windows.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common.c trivial: Fix up a docgen comment typo 2021-10-09 16:22:35 +01:00
fu-common.h Show the user a warning if updating may affect full-disk-encryption 2021-10-09 08:09:38 +01:00
fu-context-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-context.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-context.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-deprecated.h Install development files for libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-device-locker.c trivial: Allow NULL GError for fu_device_locker_new() 2021-09-07 17:25:37 +01:00
fu-device-locker.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-device-metadata.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-device-private.h Set the verfmt of the returned device when the daemon device is unset 2021-10-18 06:57:09 +01:00
fu-device.c Set the verfmt of the returned device when the daemon device is unset 2021-10-18 06:57:09 +01:00
fu-device.h trivial: Add fu_device_add_string() for future use 2021-10-14 15:49:58 +01:00
fu-dfu-firmware-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfu-firmware.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfu-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfuse-firmware.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfuse-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-file.c trivial: Fix a fuzzing crash for a corrupt IFD image 2021-10-15 20:05:55 +01:00
fu-efi-firmware-file.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-filesystem.c trivial: Fix a fuzzing crash for a corrupt IFD image 2021-10-15 20:05:55 +01:00
fu-efi-firmware-filesystem.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-section.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-section.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-volume.c trivial: Add more fuzzing alignment checks 2021-10-18 20:02:03 +01:00
fu-efi-firmware-volume.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature-list.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature-list.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar-freebsd.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar-impl.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar-linux.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar-windows.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-firmware-common.c trivial: Codespell fixes 2021-10-14 09:09:54 -05:00
fu-firmware-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-firmware.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-fmap-firmware.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-fmap-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-fuzzer-firmware.c.in redfish: Split out the SMBIOS table parsing 2021-06-25 19:55:19 +01:00
fu-fuzzer-main.c trivial: Do not use g_assert() in self test code 2021-09-24 22:20:21 +01:00
fu-hash.py trivial: update python black style to 21.6b0 2021-06-16 06:41:46 -05:00
fu-hid-device.c Allow using interrupt transfers for HID devices 2021-10-05 15:08:44 +01:00
fu-hid-device.h Allow using interrupt transfers for HID devices 2021-10-05 15:08:44 +01:00
fu-hwids.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-hwids.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-i2c-device.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-i2c-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-bios.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-bios.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-firmware.c trivial: Remove some unused variables 2021-08-28 10:17:56 +01:00
fu-ifd-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-image.c trivial: Add more fuzzing alignment checks 2021-10-18 20:02:03 +01:00
fu-ifd-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ihex-firmware.c Add new API for splitting an untrusted string 2021-09-17 14:46:45 +01:00
fu-ihex-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-io-channel.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-io-channel.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-kenv.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-kenv.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-mutex.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-private.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-plugin-vfuncs.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-plugin.c trivial: Assign the context of incorporated devices early 2021-10-15 15:57:57 +01:00
fu-plugin.h trivial: Add fu_plugin_set_config_value() for future usage 2021-09-07 17:25:37 +01:00
fu-progress.c trivial: Fix a potential division by zero 2021-09-24 19:03:52 +01:00
fu-progress.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-quirks.c Share the Common Flash Memory Interface quirks between plugins 2021-10-20 12:19:39 +01:00
fu-quirks.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-security-attrs-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-security-attrs.c trivial: fix URL for fwupdagent security command 2021-10-21 09:34:04 -05:00
fu-security-attrs.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-self-test.c Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
fu-smbios-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-smbios.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-smbios.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-srec-firmware.c trivial: Make the SREC parser more spec compliant 2021-10-22 14:58:24 +01:00
fu-srec-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-udev-device-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-udev-device.c Add fu_usb_device_new_with_context() helpers 2021-10-15 15:59:34 +01:00
fu-udev-device.h Add fu_usb_device_new_with_context() helpers 2021-10-15 15:59:34 +01:00
fu-usb-device-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-usb-device.c Add fu_usb_device_new_with_context() helpers 2021-10-15 15:59:34 +01:00
fu-usb-device.h Add fu_usb_device_new_with_context() helpers 2021-10-15 15:59:34 +01:00
fu-version.c trivial: Fix a GObjectIntrospection warning by using the correct prefix 2021-08-28 06:50:50 -05:00
fu-version.h.in trivial: Fix a GObjectIntrospection warning by using the correct prefix 2021-08-28 06:50:50 -05:00
fu-volume-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-volume.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-volume.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupdplugin.h Share the Common Flash Memory Interface quirks between plugins 2021-10-20 12:19:39 +01:00
fwupdplugin.map Share the Common Flash Memory Interface quirks between plugins 2021-10-20 12:19:39 +01:00
meson.build Remove PLUGINBUILDDIR and use G_TEST_SRCDIR and G_TEST_BUILDDIR instead 2021-10-21 18:36:22 +01:00
README.md Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00

libfwupdplugin

This library is only partially API and ABI stable. Keeping unused, unsafe and deprecated functions around forever is a maintenance burden and so symbols are removed when branching for new minor versions.

Remember: Plugins should be upstream!

Migrating from older API

  • Migrate from fu_common_is_cpu_intel() to fu_common_get_cpu_vendor()
  • Migrate from fu_firmware_strparse_uintXX() to fu_firmware_strparse_uintXX_safe()
  • Remove calls to fu_plugin_get_usb_context() and fu_plugin_set_usb_context()
  • Migrate from fu_plugin_runner_usb_device_added(), fu_plugin_runner_udev_device_added() and fu_plugin_runner_udev_device_changed() to fu_plugin_runner_backend_device_added()
  • Migrate from FuHidDevice->open() and FuHidDevice->close() to using the superclass helpers
  • Migrate from FuUsbDevice->probe(), FuUsbDevice->open() and FuUsbDevice->close() to using the superclass helpers
  • Migrate from FuUdevDevice->to_string(), FuUdevDevice->probe(), FuUdevDevice->open() and FuUdevDevice->close() to using the superclass helpers
  • Migrate from fu_device_get_protocol() to fu_device_get_protocols() and fu_device_set_protocol() to fu_device_add_protocol()
  • Migrate from fu_device_has_custom_flag() to fu_device_has_private_flag()
  • Migrate from fu_udev_device_set_readonly() to fu_udev_device_set_flags()
  • Migrate from fu_device_sleep_with_progress() to fu_progress_sleep() -- but be aware the unit of time has changed from seconds to milliseconds
  • Migrate from fu_device_get_status() to fu_progress_get_status()
  • Migrate from fu_device_set_status() to fu_progress_set_status()
  • Migrate from fu_device_get_progress() to fu_progress_get_percentage()
  • Migrate from fu_device_set_progress_full() to fu_progress_set_percentage_full()
  • Migrate from fu_device_set_progress() to fu_progress_set_steps(), fu_progress_add_step() and fu_progress_done -- see the FuProgress docs for more details!

Planned API/ABI changes for next release

  • Nothing yet.