orhun / binsider

Analyze ELF binaries like a boss πŸ˜ΌπŸ•΅οΈβ€β™‚οΈ
https://binsider.dev/
Apache License 2.0
1.63k stars 37 forks source link

Please add release binaries for linux/mipsle (mips32r1) platform! #12

Open gtxaspec opened 1 week ago

gtxaspec commented 1 week ago

great project! thank you! =D

rjzak commented 1 week ago

This probably won't work, as this project uses lurk-cli, which seems to only support x86_64 and riscv64 according to it's source. I'm unable to compile binsider on powerpc64le-unknown-linux-gnu for this reason.

Interestingly, the repository isn't known (at least not to crates.io or docs.rs) for lurk-cli for an issue or PR to be filed.

orhun commented 1 week ago

The repository is here: https://github.com/JakWai01/lurk

And yeah, I guess we can simply disable the dynamic analysis feature for those platforms if we still want to offer the other functionalities. How does that sound?

orhun commented 4 days ago

I added powerpc64le-unknown-linux-gnu target in #31 - the dynamic analysis feature is disabled though.

Please add release binaries for linux/mipsle (mips32r1) platform

Can you tell me which Rust target that is corresponding to? 😊

gtxaspec commented 4 days ago

@orhun i believe it's mipsel-unknown-linux-musl or mipsel-unknown-linux-gnu

orhun commented 3 days ago

I attempted to add support in #44, however installing the Rust toolchain fails:

Run rustup toolchain install stable --target mipsel-unknown-linux-gnu --profile minimal --no-self-update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2024-09-05, rust version 1.81.0 (eeb90cda1 2024-09-04)
error: component 'rust-std' for target 'mipsel-unknown-linux-gnu' is unavailable for download for channel 'stable'
If you don't need the component, you could try a minimal installation with:

    rustup toolchain add stable --profile minimal

https://github.com/orhun/binsider/actions/runs/10943943678/job/30384640148?pr=44

Any ideas?

Also, I'm a bit curious about your use case for this platform. Do you mind sharing? :)

gtxaspec commented 2 days ago

I'm apart of the open source firmware project, thingino

we develop a fully open source firmware for mipsel based ingenic soc's. I saw your project and was interested in using it for our project in debugging, etc.

It may be workable in the nightly release, but I haven't tried yet.

orhun commented 2 days ago

I'm apart of the open source firmware project, thingino

Very nice :)

It may be workable in the nightly release, but I haven't tried yet.

Tried that in https://github.com/orhun/binsider/actions/runs/10963718804/job/30445778057 but it didn't work.