Re: Debugging with uClibc
William Pitcock <[email protected]> Sat, 6 Jul 2019 07:36:23 -0500
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <CA+T2pCE+AZoqF87iSDAnwqpDCqur6ycEXXwZf4is_7A9euH7XQ@mail.gmail.com> |
Hello, On Fri, Jul 5, 2019, 12:54 PM John Cox <[email protected]> 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