mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
run-gem5-se
This commit is contained in:
13
run-gem5-se
Executable file
13
run-gem5-se
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import common
|
||||
|
||||
parser = common.get_argparse(
|
||||
default_args={'gem5':True},
|
||||
argparse_args={'description':'Run executable in gem5 se.py syscall emulation mode'}
|
||||
)
|
||||
parser.add_argument(
|
||||
'executable',
|
||||
)
|
||||
args = common.setup(parser)
|
||||
common.run_cmd([common.executable, common.gem5_se_file, '-c', args.executable])
|
||||
Reference in New Issue
Block a user