Commit Graph

891 Commits

Author SHA1 Message Date
Katy Coe
5abc20dc7a Tests: Updated expected results 2020-08-08 05:27:47 +02:00
Katy Coe
113bdff299 Update README.md and related files 2020-08-08 04:33:29 +02:00
Katy Coe
9ee316e8b2 APK: Add multi-architecture (multiple binaries) support 2020-08-07 19:09:25 +02:00
Katy Coe
32497364e5 AppModel: Don't crash on MetadataUsage MethodDef/Ref without prior method definition 2020-08-07 19:08:27 +02:00
Katy Coe
7086a8f7ba GUI: Don't lose status handler on multi-image binaries / improve status output 2020-08-07 19:08:07 +02:00
Katy Coe
58cd9abe02 GUI: Don't crash when opening a 2nd binary with no overlapping possible Unity versions 2020-08-07 05:03:26 +02:00
Katy Coe
1a2a5010ea GUI: Regression: Don't forget the selected Unity version range when changing image 2020-08-07 04:57:20 +02:00
Katy Coe
f9c236f143 Unity: Add equality implementation for UnityVersionRange, UnityHeaders 2020-08-07 04:56:47 +02:00
Katy Coe
1b0255bb95 CLI: Fix multi-image suffix was only applied to types.cs 2020-08-07 03:32:46 +02:00
Katy Coe
df4b718348 GUI: Add Ghidra Python script output support (and future script targets) 2020-08-06 05:57:30 +02:00
Katy Coe
898f825df9 CLI: Add Ghidra Python script output support 2020-08-06 05:41:48 +02:00
Katy Coe
a81b2707c9 Change references to IDA to generic 'Python script' 2020-08-06 05:29:41 +02:00
Katy Coe
567bbd2706 Script: Rename IDAPythonScript to PythonScript 2020-08-06 05:21:55 +02:00
Katy Coe
b5a70d94fd Script: Allow script target API to be passed as argument 2020-08-06 05:20:20 +02:00
Katy Coe
25d5a68755 Script: Auto-detect available script targets (GetAvailableTargets) 2020-08-06 05:16:44 +02:00
Katy Coe
15fb96ba9a Unity: Over-extend LTS version numbers (2018.4.x and 2019.4.x) 2020-08-06 04:55:30 +02:00
Katy Coe
da61933788 Ghidra: Ensure function names are set correctly in all cases 2020-08-06 04:49:53 +02:00
Katy Coe
6770bc2865 C++: Fix System.Array is not itself an array (it's a class) (fix Array__Class * error in Ghidra) 2020-08-05 08:45:45 +02:00
Katy Coe
beb859128c Ghidra: Only reset image base to zero for ELF binaries 2020-08-04 05:44:08 +02:00
Katy Coe
eb55e5b527 AppModel/C++/JSON/Script: Don't output generic method definitions (no compiled code) 2020-08-04 05:14:19 +02:00
Katy Coe
86dec121e5 Tests: Remove .py expected results; update .h expected results 2020-08-04 04:27:44 +02:00
Katy Coe
e4911c9d7d Tests: Add JSON expected results 2020-08-04 04:27:03 +02:00
Katy Coe
6823e37e83 Tests: Remove .py generation from TestRunner and update-expected-results 2020-08-04 04:25:55 +02:00
Katy Coe
5c2e06daee IDA: Refactor to use universal script and JSON metadata 2020-08-04 02:32:16 +02:00
Katy Coe
dea29751ef Add embedded resources for universal script handling (ScriptResources) 2020-08-04 01:52:43 +02:00
Katy Coe
160569f239 JSON: Fix il2cpp_codegen_register signature for Unity < 5.3.5 2020-08-04 01:52:07 +02:00
Katy Coe
64860d9c03 JSON: Replace array of pointer *[x] with * * in Il2CppCodeGenModule (Ghidra fix) 2020-08-04 00:50:30 +02:00
Katy Coe
5bb879a676 JSON: Disable comments by default; re-factor handling of string literals 2020-08-03 22:11:40 +02:00
Katy Coe
753b37ad67 GUI: Add JSON output support 2020-08-02 22:57:33 +02:00
Katy Coe
fd0b3ec797 CLI: Add JSON output option (--json-out / -o) 2020-08-02 22:28:55 +02:00
Katy Coe
19a5b3735b Update TestRunner and update-expected-results.ps1 2020-08-02 22:19:31 +02:00
Katy Coe
8926af341f JSON: Add initial JSONMetadata output module (with address map) 2020-08-02 21:21:57 +02:00
Katy Coe
2ab43c41c9 IDA: Separate comment types and function/field types 2020-08-01 18:58:54 +02:00
Katy Coe
c22227441e C++: Output .vcxproj.filters file for solution folder structure 2020-08-01 17:03:44 +02:00
Katy Coe
8372afd619 C++: Rename il2cpp-api-functions-ptr.h and il2cpp-types-ptr.h 2020-08-01 16:56:11 +02:00
Katy Coe
4ae6772f5a C++: Remove windows.h macros/types from reserved words list 2020-08-01 05:24:07 +02:00
Katy Coe
5c97202d8e C++: Significant iteration of scaffolding output (see commit description)
Generate pre-compiled headers for IL2CPP types and functions
Resolved naming conflicts with functions and macros from windows.h
IL2CPP app functions and TypeInfos were incorrectly placed in global namespace instead of 'app'
Added /MP compiler option (multi-processor compilation)
Split source files into folders
Move GetBaseAddress() into helpers.cpp
Add NewConsole() to helpers.cpp
Move init_il2cpp() from IL2CPP declarations header to own source file
Refactor some header files for consistency and duplicate elimination
2020-08-01 05:23:44 +02:00
Katy Coe
792cdc8711 IDA: Fix backslash escaping in C++ header path include 2020-08-01 05:07:22 +02:00
Katy Coe
c6175989cf C++: Add #pragma to disable MSVC C4309 enum truncation warnings 2020-08-01 03:35:07 +02:00
Katy Coe
0bfc5750ad IDA: Abstract idc.set_cmt into SetComment 2020-07-29 01:34:36 +02:00
Katy Coe
7b9c28fdf3 IDA: Don't produce C type header file if it's already available 2020-07-28 19:23:53 +02:00
Katy Coe
4978348d8f C++/IDA: Output text files as ASCII instead of UTF8 (Ghidra fix) 2020-07-28 04:13:43 +02:00
Katy Coe
867ddea168 IDA: Separate type declarations into own header file 2020-07-28 02:40:47 +02:00
Katy Coe
7fa80a4848 C++: Allow il2cpp-types.h to be output independently; include conditional disassembler pre-amble 2020-07-28 02:26:15 +02:00
Katy Coe
adb8594620 C++: Don't output enum underlying types (C compat) 2020-07-28 02:20:53 +02:00
Katy Coe
a9661da14f GUI: Enable drag & drop for all file combinations 2020-07-27 22:14:55 +02:00
Katy Coe
2459bcb4a6 IL2CPP: Add registration structs search via data heuristics 2020-07-27 21:16:44 +02:00
Katy Coe
a621e20b62 Metadata: Add static Sizeof helper 2020-07-27 21:11:43 +02:00
Katy Coe
613747fc9a Implement mapping from file offset to virtual address (all file formats) 2020-07-27 21:10:59 +02:00
Katy Coe
8b2c254235 Tests: Update expected results 2020-07-25 17:24:39 +02:00