Debugging with uClibc

William Pitcock nenolod at dereferenced.org
Sat Jul 6 12:36:23 UTC 2019


Hello,

On Fri, Jul 5, 2019, 12:54 PM John Cox <jpc0016 at uah.edu> wrote:

> Good afternoon,
>
> I'm trying to reverse engineer a MIPS binary that requires uClibc.so to run
> or even debug in GDB.  I downloaded the latest buildroot toolchain and ran
> `make` but there is no further guidance on what to do with the library.
> Are there concrete procedures for installing uClibc so that a MIPS binary
> can recognize the shared library exists?  So far I have found no visual
> examples of how to get uClibc working.  Thanks!
>

You will actually need the uclibc files from the device where the MIPS
binary was copied.   uclibc does not have a generic ABI, one copy of uclibc
may have a different ABI to another depending on how it was configured at
build time.

Hope this helps.

William


More information about the uClibc mailing list