dearxan 0.5.5

Static analyzer and patcher for the Arxan anti-debug/DRM as found in FromSoftware titles
Documentation
1
2
3
4
5
6
7
8
import os, json

def get_version() -> str:
    cargo_meta = json.loads(os.popen("cargo metadata --format-version 1 -q").read())
    return next(p["version"] for p in cargo_meta["packages"] if p["name"] == "dearxan")

if __name__ == '__main__':
    print(get_version())