similar to: Dynamically-Linked MIPS binary to LLVM IR

Displaying 20 results from an estimated 11000 matches similar to: "Dynamically-Linked MIPS binary to LLVM IR"

2018 May 24
0
Fuzz on Dynamically-Linked ELF MIPS
Hi all, I'm not sure if this is the place I should ask this question, but as it is related to LLVM I'll post it. Is it possible to take an arbitrary MIPS ELF binary which is dynamically-linked and generate it's LLVM-IR in order to either execute it in an x86_64 machine or fuzz a function from that binary? This question seems simple but I've had some issues on finding useful
2018 Mar 07
0
Entry for RetDec in http://llvm.org/ProjectsWithLLVM/
Hi, I wanted to propose another project that is based on LLVM for inclusion on the http://llvm.org/ProjectsWithLLVM/ page. Hope it qualifies and can be included. Below description is copied verbatim from their website. I formatted it to follow the format of entries on aforementioned page: > RetDec > > by Avast > > RetDec is an open-source machine-code decompiler based on LLVM.
2012 Oct 12
1
[LLVMdev] Dynamically loading native code generated from LLVM IR
Tim Northover wrote: > Hi Baris, > >> If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the file produced with that did not dynamically load. > That relocation-model=pic option usually necessary for a linker to be > able to produce a .so file (it changes how variables are addressed so > that more things
2012 Oct 12
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
On Oct 12, 2012, at 7:07 AM, Baris Aktemur <baris.aktemur at ozyegin.edu.tr> wrote: > Dear Tim, > >> >> The JIT sounds like it does almost exactly what you want. LLVM's JIT >> isn't a classical lightweight, dynamic one like you'd see for >> JavaScript or Java. All it really does is produce a native .o file in >> memory, take care of the
2012 Oct 12
2
[LLVMdev] Dynamically loading native code generated from LLVM IR
Dear Tim, > > The JIT sounds like it does almost exactly what you want. LLVM's JIT > isn't a classical lightweight, dynamic one like you'd see for > JavaScript or Java. All it really does is produce a native .o file in > memory, take care of the relocations for you and then jump into it (or > provide you with a function-pointer). Is there any other reason you >
2012 Oct 12
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
Hi Baris, > If I could produce a .so file in step 1, my problem would be solved. llc has a "-relocation-model=pic" option, but the file produced with that did not dynamically load. That relocation-model=pic option usually necessary for a linker to be able to produce a .so file (it changes how variables are addressed so that more things can be decided when the .so is loaded), but it
2012 Oct 12
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
On Oct 12, 2012, at 11:14 AM, Baris Aktemur <baris.aktemur at ozyegin.edu.tr> wrote: > > On 12 Eki 2012, at 20:00, Jim Grosbach wrote: > >> >> On Oct 12, 2012, at 7:07 AM, Baris Aktemur <baris.aktemur at ozyegin.edu.tr> wrote: >> >>> Dear Tim, >>> >>>> >>>> The JIT sounds like it does almost exactly what you
2013 Apr 17
1
[LLVMdev] interesting IR problem related to mips 16
When a mips16 wants to return a floating point value, it's at a quandary in mixed mode programs (having both mips16 and mips32 code). float foo() { return 1.0; } Mips16 code is compiled in soft float, with there being an options to have the emulation library be written in mips32 and use floating point instructions in those mips32 support functions (if the machine supports floating
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
I'm not sure I understand your use case, but MCJIT (as opposed to the legacy JIT) does almost exactly what you're asking for. It generates an in-memory object file image (using addPassesToEmitMC) and then loads and links it for execution. If there's some particular detail you don't like in the way this is happening, you might be able to generate a file as you have and then use
2012 Oct 17
1
[LLVMdev] Dynamically loading native code generated from LLVM IR
Dear Jim, On 12 Eki 2012, at 21:17, Jim Grosbach wrote: > > On Oct 12, 2012, at 11:14 AM, Baris Aktemur <baris.aktemur at ozyegin.edu.tr> wrote: > >> >> On 12 Eki 2012, at 20:00, Jim Grosbach wrote: >> >>> >>> On Oct 12, 2012, at 7:07 AM, Baris Aktemur <baris.aktemur at ozyegin.edu.tr> wrote: >>> >>>> Dear Tim,
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
Take a look at the MCJIT unit tests under unittests/ExecutionEngine/MCJIT The MCJITTestBase class does the majority of the interactions with the LLVM API you're referring to. Good luck, Dan On 2012-10-13, at 4:57 AM, "Armin Steinhoff" <as at steinhoff-automation.com> wrote: > > Kaylor, > > do you have some good documented example code which shows the usage of
2012 Oct 12
3
[LLVMdev] Dynamically loading native code generated from LLVM IR
On 12 Eki 2012, at 20:00, Jim Grosbach wrote: > > On Oct 12, 2012, at 7:07 AM, Baris Aktemur <baris.aktemur at ozyegin.edu.tr> wrote: > >> Dear Tim, >> >>> >>> The JIT sounds like it does almost exactly what you want. LLVM's JIT >>> isn't a classical lightweight, dynamic one like you'd see for >>> JavaScript or Java.
2013 Jan 24
0
[LLVMdev] how to map binary code with LLVM IR
Hi Linhai, > Hi, > > I have some applications, which have been compiled into llvm IR and then > linked into executable programs. I have some static information got from > analysing llvm IR, and some dynamic information, like which binary branch is > taken, from hardware sampler. I am wondering whether there are some ways to map > binary code with LLVM IR. The only way I
2012 Oct 13
0
[LLVMdev] Dynamically loading native code generated from LLVM IR
It's definitely there. It was added in r165246 recently so you probably have an older version. Amara On 13 October 2012 23:02, Armin Steinhoff <as at steinhoff-automation.com> wrote: > Daniel, > > I didn't find the MCJIT directory under unitests/ExecutionEngine ... there > is only a directory called JIT. > You mean this directory ? > > Many thanks > >
2013 Jan 23
2
[LLVMdev] how to map binary code with LLVM IR
Hi, I have some applications, which have been compiled into llvm IR and then linked into executable programs. I have some static information got from analysing llvm IR, and some dynamic information, like which binary branch is taken, from hardware sampler. I am wondering whether there are some ways to map binary code with LLVM IR. The only way I know is to use debug info, since both llvm
2017 Aug 29
2
how to auto-report LLVM bugs found by fuzzing?
On Tue, Aug 29, 2017 at 4:13 PM, Justin Bogner <mail at justinbogner.com> wrote: > Kostya Serebryany <kcc at google.com> writes: > > Hi, > > > > We have several llvm fuzz targets running on OSS-Fuzz, a continuous > > automated fuzzing service: > > https://github.com/google/oss-fuzz > >
2017 Aug 30
2
how to auto-report LLVM bugs found by fuzzing?
Bugs found by oss-fuzz in llvm are now public: https://bugs.chromium.org/p/oss-fuzz/issues/list?q=proj-llvm (and the new ones will be public too). I've also added llvm-bugs at lists.llvm.org to the list of e-mail recipients: https://github.com/google/oss-fuzz/blob/master/projects/llvm/project.yaml On Tue, Aug 29, 2017 at 4:27 PM, Justin Bogner <mail at justinbogner.com> wrote: >
2009 Jul 25
2
Gamepad & Wine 1.0.1-2 on Debian Sid
Hi, I need you help. I've been reading and searching on Google for a while know to try to get my gamepad (joystick, whatever) to work. Of course that the gamepad works fine under GNU/linux natives apps, like ZNES. First of all, is not a gamepad or joystick actually, it's an adaptor that lets me connect 2 PSII joysticks in one USB port. The module I'm using is joydev, and I'm
2016 Feb 22
2
Transfer information IR to binary
Hi, I want to know if it is possible to pass information from IR to the final binary (like a constant value)? I have a module pass in IR who make some transformation and, once the compilation is finished, I need to apply a post-processing. The post-processing need information from the IR part. Greetings, Johan -------------- next part -------------- A non-text attachment was scrubbed...
2017 Aug 24
2
llvm-mc-[dis]assemble-fuzzer status?
On Tue, Aug 22, 2017 at 4:34 PM, Kostya Serebryany <kcc at google.com> wrote: > > > On Tue, Aug 22, 2017 at 4:21 PM, George Karpenkov <ekarpenkov at apple.com> > wrote: > >> Hi, >> >> As a part of a recent move of libFuzzer from LLVM to compiler-rt I am >> looking into updating the build code >> for the libraries which use libFuzzer.