Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] LLVM and dynamic binary translator"
2008 Sep 29
2
[LLVMdev] LLVM and dynamic binary translator
Hello List,
I am a newbie regarding LLVM and need some information on LLVM.
I am working on dynamic binary translation and I am looking into if LLVM can be used for the purpose.
The goal here is to generate highly optimized translated (host) code from target code.
I have following questions.
1. Can LLVM be used in a dynamic binary translator? Dynamic translator translators target code for an
2010 Oct 24
0
[LLVMdev] Incorporating Parallelism into a dynamic binary translator
Hi,
(Redirect me to a more appropriate mailing list if need be)
For a class project, I intend to write a binary translator for Qemu
using LLVM. My plan (still forming) is to implement a frontend that
will convert DEC Alpha instructions into LLVM IR which can then be
optimized and run through whatever backends LLVM has to arrive at
optimized native code.
This was done as a GSoC project in 2007
2008 Sep 29
0
[LLVMdev] LLVM and dynamic binary translator
Hi Arabinda,
> 1. Can LLVM be used in a dynamic binary translator? Dynamic translator
> translators target code for an architecture (say PPC) to host code (say x86)
> and execute it.
There has been some discussion about this within the past two months on this
list, IIRC. You should try searching the archives for that discussion.
IIRC, the outcome is that transforming binary code into
2008 Jun 24
0
[LLVMdev] Advice - llvm as binary to binary translator ?
Hi Eric,
I'm currently writing an IA-32 to LLVMIR translator. I'm only mid way
through, but I can certainly say that there have been more difficulties
than I anticipated when I began!
I think that it is a reasonable approach, perhaps especially in your
case, since you have an emulator already. Automatic static translation
is equivalent to the halting problem for IA-32 code, though
2012 Jan 20
0
[LLVMdev] Publication - Generalized Just-In-Time Trace Compilation using a Parallel Task Farm in a Dynamic Binary Translator (PLDI'11)
Paper for LLVM publication list @ http://llvm.org/pubs/
"Generalized Just-In-Time Trace Compilation using a Parallel Task Farm in a Dynamic Binary Translator"
Igor Böhm, Tobias J.K. Edler von Koch, Stephen Kyle, Björn Franke, and Nigel Topham
ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), June 2011.
DOI-URL: http://dx.doi.org/10.1145/1993498.1993508
2008 Jun 22
3
[LLVMdev] Advice - llvm as binary to binary translator ?
First, is there a way to search the archives for this list ? I
apologize in advance if I have stepped on a FAQ.
My goal is to execute legacy binary machine code from a very old one
of a kind computer on a variety of modern computers. I already wrote
an emulator for the legacy machine that executes the old machine
code. However, my emulator is just an interpreter and therefore has
2008 Sep 21
2
[LLVMdev] OpenBSD port in progress
Hello,
> If anybody has an idea of how to fix this (other than using another
> version of gcc because I am sick of compiling), I would appreciate. I
> can offer backtraces or shell access if anybody is interested, just
> ask me what you need.
This was fixed couple of months ago. Please consider using current svn
top of tree, not 2.3 release.
--
WBR, Anton Korobeynikov
2008 Sep 21
0
[LLVMdev] OpenBSD port in progress
2008/9/21 Anton Korobeynikov <asl at math.spbu.ru>:
> Hello,
>
>> If anybody has an idea of how to fix this (other than using another
>> version of gcc because I am sick of compiling), I would appreciate. I
>> can offer backtraces or shell access if anybody is interested, just
>> ask me what you need.
> This was fixed couple of months ago. Please consider
2008 Oct 26
4
[LLVMdev] CMake builds clang.
Hi, Oscar
> at all, it would be great if you reflect your changes on the file list
> inside the corresponding CMakeLists.txt when you add, remove or rename
a
> .cpp file.
Isn't is possible for cmake just to glob everything in the corresponding
directory?
--
WBR, Anton Korobeynikov
2008 Jul 15
1
[LLVMdev] MS assembler support
Hi, Chris
> If the assembler is a limitation, the best solution would be to add a
> direct PECOFF writer. There is a start of direct ELF and Macho writers
> already in the tree. They are not production quality, but could be a
> useful place to start looking.
Well, maybe. But in any case I doubt there will be 'open' support for CV debug format :)
--
WBR, Anton
2008 Feb 19
1
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
Hello, Chuck
> I've had a look at the stubs before and I think I'm circumventing them
> in the example program since I populate the table and compile the
> functions in the order so that things never need to be done lazily, but
> I'll look further.
Well, anyway stubs are definitely wrong from windows64 and this should
be fixed, otherwise funny stuff can happen from time to
2008 Apr 06
0
[LLVMdev] llvm-qemu. (Was: Newbie)
Hello, John
> One of the things I noticed in the last message on llvm-qemu was that
> you were compiling with output from qemu with llvm-gcc? Is this correct?
No. QEMU itself has some sort of IR. However, this IR is exposed only
indirectly (mostly at *build* time of QEMU).
The procedure of QEMU's binary code translation is the following:
1. BB is disassembled and converted to QEMU
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin
> build process I described in my original message. So the difference is
> more subtle; maybe a difference in the layout of structs or something.
Also, there can be another ABI differences.
> llvmoutput.c:17976: warning: pointer targets in passing argument 1 of
> 'longjmp' differ in signedness
Hrm, are you using setjmp/longjmp stuff? They're definitely not
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin.
> Well, I already use custom includes with these options: "-nostdlib
> -nostdinc -Ipsptoolchain/psp/include
> -Ipsptoolchain/lib/gcc/psp/4.1.0/include". But that seems not enough.
> GCC has some target-specific behaviour compiled in?
Well, in general - yes. However, I'm not sure up to which margin.
--
WBR, Anton Korobeynikov
2008 Mar 18
1
[LLVMdev] GCC Merge Coming Up
Hello, Bill
> This merge should go *much* more smoothly than the last merge -- it
> could hardly be worse, right? ;-) I already did a test compile of
> llvm-test with the patch and it compiled the programs without a
> problem. Devang is currently testing it as well so that I have a
> second opinion.
One thing, which we already saw: please carefully check, that you won't
2008 Jul 27
1
[LLVMdev] Any Mercurial or Bazaar mirrors available?
Hello, Oscar
> Anyways, if there is no Mercurial or Bazaar mirrors available, I will
> try git. Recommendations on which one to use welcomed.
There is git mirror at repo.or.cz: http://repo.or.cz/w/llvm.git, llvm-gcc & clang mirrors are
available there as well. I'm updating it 'by hands' currently due to some reasons, so sometimes it
will need 2-3 days for changes in llvm
2008 Sep 02
1
[LLVMdev] LLVM build failures
Hi,
> (2) on alpha, gcc 4.2.4. The "unknown component name: alphacodegen"
> didn't use to occur.
My fault, I'll fix it. The problem is that lli wants to link in JIT
module, which does not exist for these targets.
--
WBR, Anton Korobeynikov
2008 Sep 30
1
[LLVMdev] Unwinds Gone Wild
On Mon, Sep 29, 2008 at 12:05 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> On Mon, Sep 29, 2008 at 9:01 AM, Duncan Sands <baldrick at free.fr> wrote:
>> libgcc is also available for windows.
> Really? What license? What restrictions? Any speed impact over the
> VC runtimes?
Don't mix VC runtime and libgcc. These are totally different libraries for doing
2008 Jun 23
1
[LLVMdev] Advice - llvm as binary to binary translator ?
I went ahead and tried to translate my legacy machine language into
IR. Legacy branch instructions have me stumped. The branch
instructions are already resolved to destination addresses in the
legacy machine code. For example, there is an instruction that
performs an unconditional branch to the address stored in legacy
register B1.
I can represent register B1 as a local variable:
%B1
2011 Oct 17
1
[LLVMdev] LLVM for binary analysis
Hi,
I'm thinking of using LLVM for translating x86 binaries into LLVM IR and
performing further analysis based on the IR. The tool llvm-mc works
great for disassembling hex values. However, is there any way to
translate the disassembled machine code into LLVM IR and analyze them?
Any suggestion/help is greatly appreciated. Thanks!
- Beng