[LLVMdev] vmkit variables internal representation

Alexandru Ionut Diaconescu cyrusthevirus001x at yahoo.com
Wed Jun 26 06:44:52 PDT 2013


Yes ! Thank you a lot :) 

It seems vmkit bytecode is quite close to the classic LLVM, but still adaptations to the passes have to be done




________________________________
 From: Tim Northover <t.p.northover at gmail.com>
To: Alexandru Ionut Diaconescu <cyrusthevirus001x at yahoo.com> 
Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu> 
Sent: Wednesday, June 26, 2013 3:32 PM
Subject: Re: [LLVMdev] vmkit variables internal representation
 

> I attached the assembly file, the java file and the running script file. I
> hope the variable names can be identified.

Well, I'm afraid I know no more about the Java ABI than you, but Java
strings can be identified by the type {i32, [N x i16]} where the first
entry is the length and the array is UTF-16. Running the attached
hacked-together script on your bitcode file gives the following:

@41 contains string "MYGL"
@42 contains string "P"
@43 contains string "balance"

How these fit into the structures defined used is left as an exercise
to the interested reader. ;-)

Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130626/82636332/attachment.html>


More information about the llvm-dev mailing list