Displaying 11 results from an estimated 11 matches for "libbeauti".
Did you mean:
libbeauty
2013 Apr 21
2
[LLVMdev] Testing methods
Hi,
What does llvm use for testing.
The area of testing I am interested in are how to test the accuracy of
the assembler/disassembler.
So, if you take an IR level instruction. How do you verify that the
generated CPU specific instruction is correct?
Is there an automated method for this?
I wish to implement automated testing on a decompiler I am writing,
and thought that the test methods used in
2012 Sep 13
5
[LLVMdev] [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)
Hi,
I know most compilers go from AST to CFG.
I am writing a decompiler, so I was wondering if anyone knew of any
documents describing how best to get from CFG to AST.
The decompiler project is open source.
https://github.com/jcdutton/libbeauty
The decompiler already contains a disassembler and a virtual machine
resulting in an annotated CFG. It uses information gained from using a
virtual
2012 May 07
6
[LLVMdev] Using LLVM for decompiling.
On 7 May 2012 16:31, John Criswell <criswell at illinois.edu> wrote:
> On 5/7/12 5:47 AM, James Courtier-Dutton wrote:
>>
>> Hi,
>>
>> I am writing a decompiler. I was wondering if some of LLVM could be
>> used for a decompiler.
>> There are several stages in the decompiler process.
>> 1) Take binary and create a higher level representation of it.
2018 Aug 07
4
Generating a loop from llvm bitcode
Hello
I am developing a backend that generates OpenCL from llvm bitcode. I start with a revived fork of the original LLVM C-Backend and have been modifying it. One thing that the backend lacked was generating proper loop structures; instead it relied on labels and goto statements. Therefore, I am trying to find a way to identify the loop structure and print it out in the backend. So far, the main
2012 May 07
0
[LLVMdev] Using LLVM for decompiling.
> -----Original Message-----
> On Behalf Of James Courtier-Dutton
> To: John Criswell
>
> On 7 May 2012 16:31, John Criswell <criswell at illinois.edu> wrote:
> > On 5/7/12 5:47 AM, James Courtier-Dutton wrote:
> >>
> >> Hi,
> >>
> >> I am writing a decompiler. I was wondering if some of LLVM could be
> >> used for a
2013 Apr 14
0
[LLVMdev] llvm 'select' instruction
Something like this should do the job (taken from a test file from the
libbeauty decompiler project):
/* A very simple jump table. */
int test58(int var1) {
int n = 0;
switch (var1) {
case 1:
n = 1;
break;
case 2:
n = 2;
break;
case 3:
n = 3;
break;
case
2013 May 03
2
[LLVMdev] How to convert the .s file(assembleļ¼ to .ll (IR)
Hi all,
I have the file which is assemble, I want to convert it to IR.
Are there some tools to do this in LLVM?
Thanks,
Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/d7fd4741/attachment.html>
2012 Sep 21
0
[LLVMdev] [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)
Hi,
Simon Moll (in CC) has written a decompiler for LLVM in his Bachelor's
Thesis here at Saarland University. The thesis is titled "Decompilation
of LLVM IR" and can be found here:
http://www.cdl.uni-saarland.de/publications/
The library he implemented is called "Axtor" (for "AST Extractor") and
has been used primarily to generate OpenCL code from LLVM. In
2012 May 07
0
[LLVMdev] Using LLVM for decompiling.
On 5/7/12 5:47 AM, James Courtier-Dutton wrote:
> Hi,
>
> I am writing a decompiler. I was wondering if some of LLVM could be
> used for a decompiler.
> There are several stages in the decompiler process.
> 1) Take binary and create a higher level representation of it. Like RTL.
> 2) The output is then broken into blocks or nodes, each block ends in
> a CALL, JMP, RET, or
2013 Apr 14
8
[LLVMdev] llvm 'select' instruction
hello guys:
i am thinking about what kind of C instructions can turn into llvm IR
'select' instruction.
i tried "d=a?b:c" and compiled it using clang, i still didn't get 'select'
is there anybody who knows this?
thank you
--
View this message in context: http://llvm.1065342.n5.nabble.com/llvm-select-instruction-tp56719.html
Sent from the LLVM - Dev mailing list
2012 May 07
6
[LLVMdev] Using LLVM for decompiling.
Hi,
I am writing a decompiler. I was wondering if some of LLVM could be
used for a decompiler.
There are several stages in the decompiler process.
1) Take binary and create a higher level representation of it. Like RTL.
2) The output is then broken into blocks or nodes, each block ends in
a CALL, JMP, RET, or 2-way or multiway conditional JMP.
3) The blocks or nodes are then analyzed for