JSON: Write all exports, not just API export symbols
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2019-2020 Carter Bush - https://github.com/carterbush
|
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
|
Copyright 2020 Robert Xiao - https://robertxiao.ca
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|||||||
@@ -179,11 +179,11 @@ namespace Il2CppInspector.Outputs
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void writeExports() {
|
private void writeExports() {
|
||||||
var exports = model.Package.Binary.GetAPIExports();
|
var exports = model.Exports;
|
||||||
|
|
||||||
writeArray("exports", () => {
|
writeArray("exports", () => {
|
||||||
foreach (var export in exports) {
|
foreach (var export in exports) {
|
||||||
writeObject(() => writeName(export.Value, export.Key));
|
writeObject(() => writeName(export.VirtualAddress, export.Name));
|
||||||
}
|
}
|
||||||
}, "Exports");
|
}, "Exports");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user