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
Katy Coe
9865813b96
Update README.md
2020-07-25 16:55:48 +02:00
Katy Coe
59f5083235
C++: Add #pragma to disable MSVC C4369 enum range warnings
2020-07-25 16:55:40 +02:00
Katy Coe
cf6b64e0d2
C++: Add PlatformInformation and LoadResource as reserved symbols
2020-07-25 16:55:16 +02:00
Katy Coe
271a85b7f1
C++: Fix incorrect variable declaration of VirtualInvokeData struct for 5.3.6-5.4.6
2020-07-25 16:54:52 +02:00
Katy Coe
dd5a4a29e7
Tests: Update expected results
2020-07-25 16:04:43 +02:00
Katy Coe
87519ba66f
Unity: Fix select only matching APIs in discovery instead of all in total version range
2020-07-25 15:54:18 +02:00
Katy Coe
cdc02cb475
Tests: Update UnityVersions test
2020-07-25 15:30:57 +02:00
Katy Coe
de73cfe8c3
Unity: Add headers for Unity 2020.1.0
2020-07-25 14:55:03 +02:00
Katy Coe
1240fe3647
Unity: Fix types/API header version mismatch when binary is missing exports
2020-07-25 14:50:09 +02:00
Katy Coe
4473a5225c
Unity: Update type header names for 2018.4.25 and 2019.4.5
2020-07-25 05:09:47 +02:00
Katy Coe
f7263c8388
Unity: Fix incorrect API header name version ranges
2020-07-25 05:09:14 +02:00
Katy Coe
b075821092
Unity: Fix crash in GetTypeHeaderText() when VersionRange.Max is null (no upper bound)
2020-07-25 04:13:31 +02:00
Katy Coe
48005b4093
C++: Fix enum int top bit set compile errors in VS <= 2017
2020-07-24 17:41:40 +02:00