Hi all, When I've been disassembling JIT-compiled functions I've noticed they all have the same three random instructions after them: bns- cr5,0xd04bbfe8 stfs f10,-16404(r3) stfs f10,-16404(r3) Is this meant to be there? Cheers, Gary -- http://gbenson.net/
It could be stubs, data in text sections. Jump tables, constant pools, etc.? Are they ever executed? Evan On Jul 3, 2008, at 2:15 AM, Gary Benson wrote:> Hi all, > > When I've been disassembling JIT-compiled functions I've noticed they > all have the same three random instructions after them: > > bns- cr5,0xd04bbfe8 > stfs f10,-16404(r3) > stfs f10,-16404(r3) > > Is this meant to be there? > > Cheers, > Gary > > -- > http://gbenson.net/ > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Dale Johannesen
2008-Jul-03 18:09 UTC
[LLVMdev] Random extra stuff after compiled functions
On Jul 3, 2008, at 11:06 AMPDT, Evan Cheng wrote:> It could be stubs, data in text sections. Jump tables, constant pools, > etc.? Are they ever executed? > > EvanAlmost certainly data not code. What are they in hex?> On Jul 3, 2008, at 2:15 AM, Gary Benson wrote: > >> Hi all, >> >> When I've been disassembling JIT-compiled functions I've noticed they >> all have the same three random instructions after them: >> >> bns- cr5,0xd04bbfe8 >> stfs f10,-16404(r3) >> stfs f10,-16404(r3) >> >> Is this meant to be there? >> >> Cheers, >> Gary >> >> -- >> http://gbenson.net/ >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev