db/globals.tsv + ApplyGlobals.java: label and type global data; apply_db.py 1000x faster (token match + dict lookup)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1d43433e1b
commit
2e4322b8a5
5 files changed
+70
-4
No files matched your search
@@ -21,6 +21,7 @@ apply_db() { # db names -> struct types (zhl + db fields)
|
||||
|| echo "src/structs.hpp does not compile: a db/fields.tsv offset contradicts another" >&2
|
||||
P this_types.py "$D/dump/all.c" "$D/build_fields.tsv" "$D/build_this.tsv"
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyTypes.java "$D/build_fields.tsv" "$D/build_this.tsv"
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyGlobals.java "$D/db/globals.tsv"
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyProtos.java "$D/db" "$D/repentogon/libzhl/functions" # only where RET n agrees
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyLocals.java "$D/db/locals.tsv" # after types: names refer to that decompile
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user