Skip to content

Commit 0d45c00

Browse files
蕭皓隆蕭皓隆
authored andcommitted
revise lab8
1 parent 1ec0b20 commit 0d45c00

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lab8/solve.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
#!/usr/bin/env python3
22

3-
import angr
4-
import claripy
3+
54
import sys
65

6+
try:
7+
import angr
8+
import claripy
9+
except ImportError:
10+
print("Please install angr and claripy first.")
11+
sys.exit(1)
12+
713
def main():
814
# 創建 angr 專案
915
proj = angr.Project('./chal', auto_load_libs=False)

0 commit comments

Comments
 (0)