AppModel: First iteration of ApplicationModel API

Integrate with C++ scaffolding
Add new tests
Rename Il2CppModel to TypeModel
Incomplete IDAPython integration
CLI and GUI support
Update README.md
This commit is contained in:
Katy Coe
2020-07-09 03:48:50 +02:00
parent 9fff9678aa
commit 873a6c98f6
25 changed files with 809 additions and 588 deletions

View File

@@ -20,7 +20,7 @@ namespace Il2CppInspector.Outputs
{
public class CSharpCodeStubs
{
private readonly Il2CppModel model;
private readonly TypeModel model;
private Exception lastException;
// Namespace prefixes whose contents should be skipped
@@ -41,7 +41,7 @@ namespace Il2CppInspector.Outputs
private HashSet<CustomAttributeData> usedAssemblyAttributes = new HashSet<CustomAttributeData>();
private readonly object usedAssemblyAttributesLock = new object();
public CSharpCodeStubs(Il2CppModel model) => this.model = model;
public CSharpCodeStubs(TypeModel model) => this.model = model;
// Get the last error that occurred and clear the error state
public Exception GetAndClearLastException() {