mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
start moving algorithm in
This commit is contained in:
9
run
9
run
@@ -234,6 +234,14 @@ Setup a kernel init parameter that makes the emulator quit immediately after boo
|
||||
default=True,
|
||||
help='''Show emulator stdout and stderr on the host terminal.'''
|
||||
)
|
||||
self.add_argument(
|
||||
'--stdin-file',
|
||||
help='''\
|
||||
Set the given file as the stdin source of the emulator. QEMU and gem5 then
|
||||
forward this to the guest in user mode simulation.
|
||||
https://cirosantilli.com/linux-kernel-module-cheat#syscall-emulation-mode-program-stdin
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'--terminal',
|
||||
default=False,
|
||||
@@ -805,6 +813,7 @@ Extra options to append at the end of the emulator command line.
|
||||
out_file=out_file,
|
||||
raise_on_failure=False,
|
||||
show_stdout=show_stdout,
|
||||
stdin_path=self.env['stdin_file'],
|
||||
)
|
||||
if self.env['debug_vm_rr']:
|
||||
exit_status = self.sh.run_cmd(
|
||||
|
||||
Reference in New Issue
Block a user