search for: libcpu

Displaying 19 results from an estimated 19 matches for "libcpu".

Did you mean: libcpp
2010 Oct 07
2
[LLVMdev] libcpu with m88k
Hi, I recently downloaded and installed the libcpu package (from http://libcpu.org ) that uses llvm as the backend on my linux machine. I have a piece of Motorola 88100 code (essentially the output of the 176.gcc benchmark from SPEC CPU 2000) that I am trying to run using this emulator, but I am running into errors when trying to run it. Ha...
2010 Oct 07
0
[LLVMdev] libcpu with m88k
What kinds of errors are you getting? On Thu, Oct 7, 2010 at 9:36 AM, Pradeep Ramachandran <pramach2 at uiuc.edu> wrote: > Hi, > I recently downloaded and installed the libcpu package (from http://libcpu.org > ) that uses llvm as the backend on my linux machine. I have a piece of > Motorola 88100 code (essentially the output of the 176.gcc benchmark > from SPEC CPU 2000) that I am trying to run using this emulator, but I > am running into errors when trying t...
2010 Jan 14
0
[LLVMdev] FYI: libcpu
Interesting project I've discovered yesterday: http://www.libcpu.org/ Stefano
2012 Apr 04
0
[LLVMdev] GSoC Proposal: Table-Driven Decompilation
...ery interesting. However, to me it seems this is a very difficult topic and it would be good if the proposal would show you understand the difficulties and you have ideas how to solve them. A topic that I heard is difficult is e.g. how to keep track of the state of registers and CPU flags. The libcpu project solves this by not even trying to reverse the individual LLVM-IR to machine code transformations, but to directly emit LLVM-IR that directly models each instruction as function calls that perform the original calculation and that, at the same time, model the CPU state. You may want to i...
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
...comments/feedback) >> > > I saw fracture but I was unable to figure out how to get even a small > portion of x86 machine code decompiled to IR. That was several weeks > ago and it looks like the project has progressed quite a bit. > > Other projects: > https://github.com/libcpu/libcpu (tried this one a long time ago, also > couldn't get any decompilation) > http://dagger.repzret.org/ (they finally released some source! One of > the devs presented at a LLVM meeting) > > I am definitely interested in seeing a production-quality decompiler! > > Cheer...
2010 Jun 11
2
[LLVMdev] MC to LLVM disassembler?
I'm wondering if anyone is working on a machine code -> LLVM bitcode disassembler? Obviously, there won't be a one-to-one correspondence but it seems like you should be able to get close. There's always inline asm for the remaining fragments. So is there such a thing? Thank you, Bob
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
2015 Mar 13
2
[LLVMdev] Lifting ASM to IR
...Dilts wrote: >> Does there exist a tool that could lift a binary (assembly for some >> supported target) to LLVM IR? If there isn't, does this seem like >> something that would be feasible? There's plenty of variations on the idea: Revgen/S2E, Fracture, Dagger (my own), libcpu, several closed-source ones used by pentest shops, some that use another representation before going to IR (say llvm-qemu), and probably others still I forgot about. Are you interested in a specific target / use case? > http://llvm.org/devmtg/2013-04/bougacha-slides.pdf > might be a starti...
2010 Feb 27
1
[LLVMdev] Disassembler status
Hi there. I've looking libcpu project and some history of the mailing list and got a question: what is the status of the disassembler? I mean, is there someone working on it, what targets does it support and so on. I mean, it would be interesting to be able to "undo" the operations LLVM does, like machine code->LLV...
2011 Oct 08
0
[LLVMdev] Recommended cpu emulator for OS X
Is there a recommended cpu emulator that I can use as a backend? I just finish porting the libcpu project to llvm tot (3.0) enough so that it builds without warnings, however I'm not sure if the result works (on OS X 10.7.1). Seems like the fibonacci test only works for m88k, the others seem to continually dump the module. Regardless since the project does not seem too active, I don'...
2015 Mar 13
3
[LLVMdev] Lifting ASM to IR
...a tool that could lift a binary (assembly for some > >> supported target) to LLVM IR? If there isn't, does this seem like > >> something that would be feasible? > > There's plenty of variations on the idea: Revgen/S2E, Fracture, Dagger > (my own), libcpu, several closed-source ones used by pentest shops, > some that use another representation before going to IR (say > llvm-qemu), and probably others still I forgot about. > > Are you interested in a specific target / use case? > > > I was thinking something along th...
2011 Sep 13
0
[LLVMdev] Strategy for leveraging llvm optimizations in vm
If you x86 assembly is sufficiently simple, I don't see any reason why you couldn't programmatically raise it back up to LLVM IR. People have tried this in the past (qemu, I think? I can't remember), and it usually results in some considerable slowdowns. I'd imagine that if your asm is sufficiently restricted, such as not needing to worry about arithmetic flags, the x87 FPU
2011 Sep 13
4
[LLVMdev] Strategy for leveraging llvm optimizations in vm
Hi -- I'm still very much a newbie with llvm, but am looking (hopefully) to use it to compile into native intel code a set of source that is a combination of byte codes for my own custom vm and intel code that has been coded in assembly language directly. In an earlier exchange, I already discovered that llvm does not do any optimizations on intel assembly language code. This would be an
2010 Feb 22
1
[LLVMdev] instruction set simulation
Hi, Does LLVM have any facilities for embedded instruction set simulation? Ideally I'd like to convert a PowerPC program to LLVM, then run the LLVM program while being able to interact with the memory space at each step to emulate external stuff like sensors and network transceivers. Is anything like this possible? Are there utilities to transform various targets, like PowerPC, back to
2010 Jul 29
0
[LLVMdev] Converting Machine code to LLVM IR
On 07/29/10 10:23, subramanyam wrote: > > Hi everyone, > > There are tools to convert machine code to an assembly language. > Is there any similar tool to convert X86 machine code to LLVM IR? > > thanks in advance Have a look at http://www.libcpu.org/wiki/Main_Page Maybe this can help you. Cheers Tobi
2012 Jan 24
1
[LLVMdev] x86 .s to llvm IR
I am looking for a way to convert an x86 .s file into llvm IR. I don't need a fully automated method but I'd like to avoid a fully manual one :) I've seen the nearly 5 year old llvm-qemu project. Are there any more recent projects that get me part or all of the way to my goal? I don't mind banging out some code but I'd rather not start from scratch. Thanks for any pointers
2012 Jan 26
1
[LLVMdev] x86 asm to LLVM IR conversion
Hi, I want to convert x86 assembly source code to LLVM assembly language. How can I do this? If there is no direct solution would it be possible to implement one within the LLVM infrastructure with as less efforts as possible? I need someone to push me in a right direction. I've spent several days looking for a solution and still not found any. Thanks, Sergey -------------- next part
2015 Mar 13
2
[LLVMdev] Lifting ASM to IR
Does there exist a tool that could lift a binary (assembly for some supported target) to LLVM IR? If there isn't, does this seem like something that would be feasible? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150312/36eae2e4/attachment.html>