Skip to content

OatKID/CFGAssignment

Repository files navigation

Control Flow Graph Program

ผู้จัดทำโดย : นายศิวกร ภาสว่าง 6410451423

การเตรียมโปรแกรม (สำหรับ Window)

  • ดาวโหลดสำหรับการแปลงไฟล์จากไฟล์ dot เป็น ไฟล์รูปภาพ Graphviz และเลือก .tar เพื่อดาวโหลดลงในโฟรเดอร์ปัจจุบัน
  • ทำ Extract all file จาก .tar และเปลี่ยนขื่อโฟรเดอร์เป็น graphviz
  • ติดตั้ง Env โดยใช้คำสั่ง python -v venv env และ .\env\Script\activate.bat เพื่อใช้งานใน enviorment ของ python
  • ติดตั้ง packages โดยใช้คำสั้ง pip install -r requirement.txt

วิธีการรันโปรแกรม createGraphviz.bat, เมื่อขึ้นประโยคว่า See graph.png in your current dir จะได้ภาพ control flow graph จาก test_program.py (การบ้านก่อนหน้า)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published