[Ltrace-devel] Problem running ltrace on Android

DUSHYANT ARORA dushyantarora13 at gmail.com
Fri May 20 05:08:12 UTC 2011


I applied the patch. Thanks a lot for helping me with this. Here is the
output:
# ./ltrace ping
./ltrace ping
./ltrace: read_multichunk_data: data incomplete
./ltrace: While reading .hash from /system/bin/ping.

Thanks,
Dushyant

On Thu, May 19, 2011 at 9:05 PM, <pmachata at redhat.com> wrote:

> DUSHYANT ARORA <dushyantarora13 at gmail.com> writes:
>
> > I applied both patches. I get the following output:
> > ./ltrace: Multiple data chunks in .hash from "/system/bin/ping"
> > Sorry for the wrong output earlier. I copied the changes in the wrong
> > place by mistake.
>
> Hmm, interesting.  I'm not completely sure what the semantics of
> multiple data chunks are, but I'm hoping that the data is split in a
> straightforward manner.
>
> I wrote a quick patch that seems to be working per my testing.
> Unfortunately I have nowhere to test for the actual case of chunked
> data, I only made it go through the right branches even in single-chunk
> case.  Besides, if any other sections are chunked, too, we won't be able
> to handle them just the same.
>
> Anyway, the branch pmachata/chunks holds what I wrote.  Please check it
> out and tell me if it helps or how it fails.
>
> Thanks,
> PM
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20110520/46cc7546/attachment.htm>


More information about the Ltrace-devel mailing list