Comments (12)
I don't see any reference to SwitchLoader in the stacktrace. Next time please, copy and paste them into your issue in a code block, that makes it a lot easier to work with them.
It definitely looks odd, could you provide more information? What binary are you analyzing? Which Switch-Loader version are you using? Was this binary analyzed using an older Ghidra version before?
from ghidra-switch-loader.
I don't see any reference to SwitchLoader in the stacktrace. Next time please, copy and paste them into your issue in a code block, that makes it a lot easier to work with them.
It definitely looks odd, could you provide more information? What binary are you analyzing? Which Switch-Loader version are you using? Was this binary analyzed using an older Ghidra version before?
Right now I'm analyzing another game. I will copy the errors into a .txt and upload it later.
I'm analyzing a main file extracted from the game. Switch-Loader version is the one compatible with Ghidra 11.0 (I just merged the changes you did and compile it by myself).
When I used Ghidra 10.4 I didn't have these issues. So could be an issue with Ghidra 11.0?. Could you give me your Switch-Loader 11.0 version compiled to test?. Thanks.
from ghidra-switch-loader.
Here's the pastebin with the errors that I'm getting.
from ghidra-switch-loader.
What game are you analyzing? Could you use hactool to get the SDK version of the the nca file containing the main nso that you are analyzing?
from ghidra-switch-loader.
Nevermind, I'm able to reproduce this when I try to analyze the main nso of "Super Mario Bros. Wonder".
I'll try to figure it out, but I'm currently pretty busy, so it might take some time.
from ghidra-switch-loader.
This is a Ghidra issue and was fixed just 2 weeks ago: https://github.com/NationalSecurityAgency/ghidra/blob/85d276bce0bb2055c5556825afc810d3163ed15f/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/HomogeneousAggregate.java#L71-L74
The current release does not check if the result is empty and tries to access index 0 unconditionally:
if (!DatatypeFilter.extractPrimitives(dt, MAX_PRIMITIVES, null, res)) {
return false;
}
DataType base = res.get(0);
I assume the next release will contain this fix.
from ghidra-switch-loader.
What game are you analyzing? Could you use hactool to get the SDK version of the the nca file containing the main nso that you are analyzing?
It happens with all games that I analyzed using Ghidra 11.
So it seems to be a Ghidra 11 issue then?.
Then I guess I have to stay at 10.4 for now.
from ghidra-switch-loader.
Related Issues (20)
- Upgrade for 9.2.2 HOT 1
- error: cannot find symbol getMsgCount() on ghidra 9.2.2 HOT 2
- New release for Ghidra 9.2.2? HOT 6
- Throws error when importing BOTW or Celeste HOT 5
- latest update's naming scheme not compatible with AUR
- New version of Ghidra is incompatible with extension
- "Unexpected Loader exception from Nintendo Switch Binary" when importing a specific binary HOT 5
- How to recognize NXO file? HOT 6
- Error When Installing HOT 2
- Switch Loader 1.5.0 for Ghidra 10.1.5
- NSO header missing from tree/listing HOT 2
- Issue when installing HOT 4
- Gradle error when trying to build
- NSO Loader: Index 0 out of bounds for length 0 HOT 3
- Is there a prebuilt release for 10.3.2? HOT 1
- Ghidra 10.4 prebuilt release
- Base Addresses HOT 2
- Unable to load Mariko 16.1.0 kernel (secure_monitor.bin) HOT 1
- Update to Ghidra 11.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghidra-switch-loader.