Displaying 20 results from an estimated 120 matches for "decompiling".
Did you mean:
recompiling
2014 Apr 02
3
[LLVMdev] decompiler
Hi -
Not sure if anyone else saw this or cares about a decompiler (not
personally tested)
https://github.com/draperlaboratory/fracture
I wonder if they have been in contact with anyone in the community in
getting this upstreamed. Does it look interesting to anyone else?
(thoughts/random comments/feedback)
2014 Apr 03
2
[LLVMdev] decompiler
On Thu, Apr 3, 2014 at 11:50 AM, Jevin Sweval <jevinsweval at gmail.com> wrote:
> On Wed, Apr 2, 2014 at 1:57 AM, "C. Bergström" <cbergstrom at pathscale.com> wrote:
>> Hi -
>>
>> Not sure if anyone else saw this or cares about a decompiler (not personally
>> tested)
>> https://github.com/draperlaboratory/fracture
>>
>> I wonder if
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
2012 Apr 04
0
[LLVMdev] GSoC Proposal: Table-Driven Decompilation
On 04/04/2012 07:08 AM, Charles Davis wrote:
> Hi,
>
> Here's one of my proposals for GSoC 2012. What do you think?
>
> Chip
>
> Project Title: Table-Driven Decompilation
>
> Abstract:
> Over the years, the LLVM family has grown to include nearly every type of build tool in existence. One of the few missing is a decompiler. LLVM's TableGen tool could
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 Apr 04
4
[LLVMdev] GSoC Proposal: Table-Driven Decompilation
Hi,
Here's one of my proposals for GSoC 2012. What do you think?
Chip
Project Title: Table-Driven Decompilation
Abstract:
Over the years, the LLVM family has grown to include nearly every type of build tool in existence. One of the few missing is a decompiler. LLVM's TableGen tool could potentially accelerate development of such a tool; most backends already have the information needed
2012 May 07
0
[LLVMdev] Using LLVM for decompiling.
...oto-based). I earlier
linked to a project which purports to be able to output more readable
code as a backend (to try to do source-to-source translations for OpenCL
kernels), but I haven't had the time to investigate it in great detail,
so I don't know how well it holds up to the code.
Decompiling control flow is fairly easy to do (google "control flow
structuring" or similar terms and you'll hit open a few troves of papers
which give fairly clear details on how to do it), so it's rather the
problem that stripped, optimized executables don't give you reliable
ways t...
2016 Jan 23
2
Decompilation and the SSA form
Hi,
Is decompilation possible in general to the SSA form for binaries? I assume
one has to make certain assumptions about code in general to get tools like
these to work. For example if code like with dlsym or jit heap allocated
functions can be incorporated at runtime it would seem that in general it
is quite difficult to ascertain the boundaries of a basic block and insert
the correct phi
2007 Jul 24
0
[LLVMdev] Decompilation capabilities
As I am one who constantly relies on various decompilers (mine are now
obsolete) to confirm such things as inlined asm being correctly placed
and formed by the various compilers, and integrity confirmation of
binaries during security audit, I must ask the obvious question:
Can LLVM handle binary decompilation currently, and can it properly
read/parse all known machine code and asm compiler
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
2010 Feb 21
3
Decompiler?
Dear All
I have disassembled the object file on my CentOS server , by the following :
#objdump wmain
In the output , I have recognized the intended subroutine that I need to find the exact command syntax that it sends out . To this end , I tried to capture it through 'tcpdump' but didn't success . I read this segment assembly language code but it is somewhat difficult to decode . Can
2018 Mar 06
3
[RFC] llvm-mca: a static performance analysis tool
...M, Quentin Colombet <qcolombet at apple.com <mailto:qcolombet at apple.com>> wrote:
>>
>> When Ahmed and I worked on the decompiler, we first targeted MC. Going to MI was more difficult and really wouldn’t have gotten us a lot of benefits. Instead, Ahmed pushed for directly decompiling to IR (look for dagger).
>
> Thanks for the pointer Quentin.
>
>> I would actually be in favor for more infrastructure in MC for this kind of things. For instance, dealing with the code layout is not something MI is good at whereas MC is perfect.
>
> Most of LLVM’s target-sp...
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 Mar 05
2
[RFC] llvm-mca: a static performance analysis tool
...que, and work in that direction should be strongly encouraged. I don’t know the current state of in-tree support.
When Ahmed and I worked on the decompiler, we first targeted MC. Going to MI was more difficult and really wouldn’t have gotten us a lot of benefits. Instead, Ahmed pushed for directly decompiling to IR (look for dagger).
I would actually be in favor for more infrastructure in MC for this kind of things. For instance, dealing with the code layout is not something MI is good at whereas MC is perfect.
>
> Ahmed?
>
>> Do you think the current design (modulo the changes sugges...
2012 Apr 04
0
[LLVMdev] GSoC Proposal: Table-Driven Decompilation
On 4/4/2012 12:08 AM, Charles Davis wrote:
> Proposal:
> Since its humble beginnings in 2001, LLVM has grown from a simple compiler toolkit to an entire family of build tools. Currently, it includes an assembler, a disassembler, a JIT, a C compiler, a debugger, an archiver, various tools for analyzing object files, and even a linker. In fact, just about the only tool missing from this set
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
2018 Mar 06
0
[RFC] llvm-mca: a static performance analysis tool
> On Mar 5, 2018, at 3:38 PM, Quentin Colombet <qcolombet at apple.com> wrote:
>
> When Ahmed and I worked on the decompiler, we first targeted MC. Going to MI was more difficult and really wouldn’t have gotten us a lot of benefits. Instead, Ahmed pushed for directly decompiling to IR (look for dagger).
Thanks for the pointer Quentin.
> I would actually be in favor for more infrastructure in MC for this kind of things. For instance, dealing with the code layout is not something MI is good at whereas MC is perfect.
Most of LLVM’s target-specific information is in Targ...
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 Mar 12
0
[LLVMdev] help decompiling x86 ASM to LLVM IR
...%edi
> 3: 19 c0 sbb %eax,%eax
> 5: 83 e0 df and $0xffffffdf,%eax
> 8: 83 c0 61 add $0x61,%eax
> b: c3 retq
>
> How would I represent the SBB instruction in LLVM IR?
If you're decompiling an assembly language into IR, it is best to treat
the CFLAGS register as just another register which is manipulated as a
side effect of instructions and letting a dead-code elimination pass
eliminate extraneous uses. A rough equivalent for llvm IR in this could
would be
%cf = icmp lt i32 1, %ed...
2018 Mar 06
0
[RFC] llvm-mca: a static performance analysis tool
...in Colombet <qcolombet at apple.com <mailto:qcolombet at apple.com>> wrote:
>>>
>>> When Ahmed and I worked on the decompiler, we first targeted MC. Going to MI was more difficult and really wouldn’t have gotten us a lot of benefits. Instead, Ahmed pushed for directly decompiling to IR (look for dagger).
>>
>> Thanks for the pointer Quentin.
>>
>>> I would actually be in favor for more infrastructure in MC for this kind of things. For instance, dealing with the code layout is not something MI is good at whereas MC is perfect.
>>
>>...