Change qemu signature (again) (#2529)
This commit is contained in:
parent
4c5df53c6d
commit
cf87895aaa
@ -414,9 +414,9 @@ where
|
||||
|
||||
fn pre_exec<ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
input: &S::Input,
|
||||
_state: &mut S,
|
||||
) where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -428,10 +428,10 @@ where
|
||||
|
||||
fn post_exec<OT, ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
input: &S::Input,
|
||||
observers: &mut OT,
|
||||
_state: &mut S,
|
||||
exit_kind: &mut ExitKind,
|
||||
) where
|
||||
OT: ObserversTuple<S>,
|
||||
|
@ -81,7 +81,7 @@ impl<S> EmulatorModule<S> for CmpLogModule
|
||||
where
|
||||
S: Unpin + UsesInput + HasMetadata,
|
||||
{
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -124,7 +124,7 @@ where
|
||||
{
|
||||
const HOOKS_DO_SIDE_EFFECTS: bool = false;
|
||||
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -363,7 +363,7 @@ impl<S> EmulatorModule<S> for CmpLogRoutinesModule
|
||||
where
|
||||
S: Unpin + UsesInput,
|
||||
{
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
|
@ -157,7 +157,7 @@ impl<S> EmulatorModule<S> for EdgeCoverageModule
|
||||
where
|
||||
S: Unpin + UsesInput + HasMetadata,
|
||||
{
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -308,7 +308,7 @@ where
|
||||
{
|
||||
const HOOKS_DO_SIDE_EFFECTS: bool = false;
|
||||
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -454,7 +454,7 @@ where
|
||||
{
|
||||
const HOOKS_DO_SIDE_EFFECTS: bool = false;
|
||||
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ where
|
||||
{
|
||||
}
|
||||
|
||||
fn first_exec<ET>(&mut self, _emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, _emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -56,9 +56,9 @@ where
|
||||
|
||||
fn pre_exec<ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
_emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
_input: &S::Input,
|
||||
_state: &mut S,
|
||||
) where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -66,10 +66,10 @@ where
|
||||
|
||||
fn post_exec<OT, ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
_emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
_input: &S::Input,
|
||||
_observers: &mut OT,
|
||||
_state: &mut S,
|
||||
_exit_kind: &mut ExitKind,
|
||||
) where
|
||||
OT: ObserversTuple<S>,
|
||||
@ -178,7 +178,7 @@ where
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
self.0.first_exec(emulator_modules, state);
|
||||
self.0.first_exec(state, emulator_modules);
|
||||
self.1.first_exec_all(emulator_modules, state);
|
||||
}
|
||||
|
||||
@ -190,7 +190,7 @@ where
|
||||
) where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
self.0.pre_exec(emulator_modules, input, state);
|
||||
self.0.pre_exec(state, emulator_modules, input);
|
||||
self.1.pre_exec_all(emulator_modules, input, state);
|
||||
}
|
||||
|
||||
@ -206,7 +206,7 @@ where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
self.0
|
||||
.post_exec(emulator_modules, input, observers, state, exit_kind);
|
||||
.post_exec(state, emulator_modules, input, observers, exit_kind);
|
||||
self.1
|
||||
.post_exec_all(emulator_modules, input, observers, state, exit_kind);
|
||||
}
|
||||
|
@ -940,7 +940,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -977,9 +977,9 @@ where
|
||||
|
||||
fn pre_exec<ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
_input: &S::Input,
|
||||
_state: &mut S,
|
||||
) where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -991,10 +991,10 @@ where
|
||||
|
||||
fn post_exec<OT, ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
_input: &S::Input,
|
||||
_observers: &mut OT,
|
||||
_state: &mut S,
|
||||
exit_kind: &mut ExitKind,
|
||||
) where
|
||||
OT: ObserversTuple<S>,
|
||||
|
@ -273,7 +273,7 @@ impl<S> EmulatorModule<S> for AsanGuestModule
|
||||
where
|
||||
S: Unpin + UsesInput,
|
||||
{
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
S: Unpin + UsesInput,
|
||||
|
@ -100,7 +100,7 @@ where
|
||||
);
|
||||
}
|
||||
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
@ -121,10 +121,10 @@ where
|
||||
|
||||
fn post_exec<OT, ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
_emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
_input: &S::Input,
|
||||
_observers: &mut OT,
|
||||
_state: &mut S,
|
||||
_exit_kind: &mut ExitKind,
|
||||
) where
|
||||
OT: ObserversTuple<S>,
|
||||
|
@ -267,7 +267,7 @@ where
|
||||
emulator_modules.syscalls(Hook::Function(syscall_hook::<ET, S>));
|
||||
}
|
||||
|
||||
fn first_exec<ET>(&mut self, emulator_modules: &mut EmulatorModules<ET, S>, _state: &mut S)
|
||||
fn first_exec<ET>(&mut self, _state: &mut S, emulator_modules: &mut EmulatorModules<ET, S>)
|
||||
where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
|
@ -691,9 +691,9 @@ where
|
||||
|
||||
fn pre_exec<ET>(
|
||||
&mut self,
|
||||
_state: &mut S,
|
||||
emulator_modules: &mut EmulatorModules<ET, S>,
|
||||
_input: &S::Input,
|
||||
_state: &mut S,
|
||||
) where
|
||||
ET: EmulatorModuleTuple<S>,
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user