From 9f8f47233c8b3671a2591e2a35873fd7af9ba2a8 Mon Sep 17 00:00:00 2001 From: Romain Malmain Date: Mon, 6 Jan 2025 17:34:45 +0100 Subject: [PATCH] Add migration notes for libafl qemu's Emulator configuration changes (#2818) * add migration notes for libafl qemu latest changes --- MIGRATION.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 38c27d6041..44a50abde9 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -7,6 +7,9 @@ - Related: `MutVecInput` is deprecated in favor of directly using `&mut Vec` - Related: `MappedInputFunctionMappingMutator` and `ToMappedInputFunctionMappingMutatorMapper` have been removed as now duplicates of `MappingMutator` (previously `FunctionMappingMutator`) and `ToMappingMutator` (previously `ToFunctionMappingMutatorMapper`) - Related: `ToOptionMappingMutatorMapper` and `ToFunctionMappingMutatorMapper` have been renamed to `ToOptionalMutator` and `ToMappingMutator` respectively +- `Qemu` cannot be used to initialize `Emulator` directly anymore. Instead, `Qemu` should be initialized through `Emulator` systematically if `Emulator` should be used. + - Related: `EmulatorBuilder` uses a single function to provide a `Qemu` initializer: `EmulatorBuilder::qemu_parameters`. For now, it can be either a `Vec` or a `QemuConfig` instance. + - Related: Qemu's `AsanModule` does not need any special call to `Qemu` init methods anymore. It is now possible to simply initialize `AsanModule` (or `AsanGuestModule`) with a reference to the environment as parameter. # 0.14.0 -> 0.14.1 - Removed `with_observers` from `Executor` trait.