JSON: Write all exports, not just API export symbols

This commit is contained in:
Katy Coe
2020-08-16 22:26:42 +02:00
parent c9bd4187c2
commit dcafd81ed2
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/*
Copyright (c) 2019-2020 Carter Bush - https://github.com/carterbush
Copyright (c) 2020 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
Copyright (c) 2020 Katy Coe - http://www.djkaty.com - https://github.com/djkaty
Copyright 2020 Robert Xiao - https://robertxiao.ca
All rights reserved.

View File

@@ -179,11 +179,11 @@ namespace Il2CppInspector.Outputs
}
private void writeExports() {
var exports = model.Package.Binary.GetAPIExports();
var exports = model.Exports;
writeArray("exports", () => {
foreach (var export in exports) {
writeObject(() => writeName(export.Value, export.Key));
writeObject(() => writeName(export.VirtualAddress, export.Name));
}
}, "Exports");
}