mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
14 lines
340 B
Python
Executable File
14 lines
340 B
Python
Executable File
#!/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])
|