Libdisk headers - Unlocking IRIX mount functions

SolusRaion

Member
Jan 3, 2025
63
26
18
https://codeberg.org/SolusRaion/libdisk-headers

So, rewrote and hacked through this. There were a few steps here:

1. Endeavor put the libdisk.so in ghidra to get the functions that it can expose.

2. Cross-references were carried out using nm and ghidra against mount(1) and umount(1) for publicly used functions

3. We had to build a few throwaway programs on a non-volatile install (e.g. one that we were cool with bricking) to verify the functions worked as intended.

Here ya go.

The libdisk library will be revisited soon. For now, though, this is what we got. All those private functions are now available. You're welcome.

For those unaware, Endeavor is my good friend and RE partner. He has years of experience doing this for the US government.
 

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu