I applied the patch. Thanks a lot for helping me with this. Here is the output:<div><div># ./ltrace ping</div><div>./ltrace ping</div><div>./ltrace: read_multichunk_data: data incomplete</div><div>./ltrace: While reading .hash from /system/bin/ping.</div>
<div><br></div><div>Thanks,</div><div>Dushyant</div>
<br><div class="gmail_quote">On Thu, May 19, 2011 at 9:05 PM, <span dir="ltr"><<a href="mailto:pmachata@redhat.com" target="_blank">pmachata@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>DUSHYANT ARORA <<a href="mailto:dushyantarora13@gmail.com" target="_blank">dushyantarora13@gmail.com</a>> writes:<br>
<br>
</div><div>> I applied both patches. I get the following output:<br>
> ./ltrace: Multiple data chunks in .hash from "/system/bin/ping"<br>
> Sorry for the wrong output earlier. I copied the changes in the wrong<br>
> place by mistake.<br>
<br>
</div>Hmm, interesting. I'm not completely sure what the semantics of<br>
multiple data chunks are, but I'm hoping that the data is split in a<br>
straightforward manner.<br>
<br>
I wrote a quick patch that seems to be working per my testing.<br>
Unfortunately I have nowhere to test for the actual case of chunked<br>
data, I only made it go through the right branches even in single-chunk<br>
case. Besides, if any other sections are chunked, too, we won't be able<br>
to handle them just the same.<br>
<br>
Anyway, the branch pmachata/chunks holds what I wrote. Please check it<br>
out and tell me if it helps or how it fails.<br>
<br>
Thanks,<br>
PM<br>
</blockquote></div><br></div>