blob: 9842607813ab6a3d6d89141e02682cd42028f910 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from pdb import pm
from miasm.analysis.sandbox import Sandbox_Win_x86_64
from miasm.core.locationdb import LocationDB
# Insert here user defined methods
# Parse arguments
parser = Sandbox_Win_x86_64.parser(description="PE sandboxer")
parser.add_argument("filename", help="PE Filename")
options = parser.parse_args()
# Create sandbox
loc_db = LocationDB()
sb = Sandbox_Win_x86_64(loc_db, options.filename, options, globals())
# Run
sb.run()
assert(sb.jitter.running is False)
|