upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/rtti_scan.py
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 17:03:11 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 17:03:11 -0500
commitfa33dd16169913ff96d48f2e5cb2441b835b6f93 (patch)
tree2b2aa77d812e97d412398e54e8dd2f4d0ef09f49 /tools/rtti_scan.py
parenta0cc82508c76278d05392c324d25eb3bca38085f (diff)
parentd1490e359e34ac88f52269cae221a4efb989a954 (diff)
Merge pull request #3647 from Kam471
Diffstat (limited to 'tools/rtti_scan.py')
-rw-r--r--tools/rtti_scan.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/rtti_scan.py b/tools/rtti_scan.py
index ae2f116f3..9082b2f6d 100644
--- a/tools/rtti_scan.py
+++ b/tools/rtti_scan.py
@@ -511,6 +511,9 @@ def main():
511 ap.add_argument("image") 511 ap.add_argument("image")
512 ap.add_argument("--out") 512 ap.add_argument("--out")
513 a = ap.parse_args() 513 a = ap.parse_args()
514 if not os.path.exists(a.image):
515 print(f"ERROR: {a.image}: does not exist", file=sys.stderr)
516 return 2
514 path = a.out or re.sub(r"\.(exe|dll)$", "", a.image, flags=re.I) + ".rtti.json" 517 path = a.out or re.sub(r"\.(exe|dll)$", "", a.image, flags=re.I) + ".rtti.json"
515 same_path = os.path.normcase(os.path.realpath(a.image)) == os.path.normcase(os.path.realpath(path)) 518 same_path = os.path.normcase(os.path.realpath(a.image)) == os.path.normcase(os.path.realpath(path))
516 try: 519 try: