Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Tags
more
Archives
Today
Total
관리 메뉴

참교육

Z3 Solver 본문

코딩/Python

Z3 Solver

순수어린이 2017. 6. 2. 19:47

Z3 솔버는 수학의 방정식을 풀어주는 Python 모듈이다.

처음엔 그냥 손으로 하면 되지 뭐 이런걸 다 써 라고 생각했는데...


pip install -I --no-use-wheel angr-only-z3-custom 


import os

from z3 import *


A=BitVec('A',32)


s=Solver()


s.add(A-52==104)


print s.check()

print s.model() 



'코딩 > Python' 카테고리의 다른 글

scapy, RAW socket  (0) 2018.08.24
python yaml 설치  (0) 2018.01.30
ANGR 오류수정  (0) 2017.07.04