Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] MC to LLVM disassembler?"
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
2010 May 21
1
[LLVMdev] Hello example plugin has unresolved symbol in llvm 2.7
I built llvm-2.7 from source on FreeBSD-i386 with:
./configure --prefix=/opt && gmake
It builds fine, but the Hello plugin fails to load with an unresolved symbol.
$ opt -load /opt/lib/libLLVMHello.so -help
Error opening '/opt/lib/libLLVMHello.so': /opt/lib/libLLVMHello.so: Undefined symbol "_ZNK4llvm4Pass5printERNS_11raw_ostreamEPKNS_6ModuleE"
-load
2015 Apr 09
2
[LLVMdev] BNF for IL/IR interpreter
This might be a very beginner question, but I'm looking for an example for
something that I have never done.
Suppose that I wanted to express actions with respect to lifted semantics
of CPU instructions to an intermediate representation, BAP IL or LLVM IR.
How might I go about providing a Backus Naur Form specification and then
dynamically interpreting those lifted instructions by also
2012 Jun 06
0
[LLVMdev] MC disassembler for ARM
Hi David,
> I've try to use llvm-objdump to disassemble some ARM binary, such as busybox
> in android.
>
> ./llvm-objdump -arch=arm -d busybox
It's probably assuming the wrong architecture revision. I don't have
an android busybox handy, but I see similar on binaries compiled for
ARMv7. The trick is to use:
llvm-objdump -triple=armv7 -d whatever
(ARMv7 covers virtually
2012 Jun 06
3
[LLVMdev] MC disassembler for ARM
Hi Evan,
Thanks for the information!
I've try to use llvm-objdump to disassemble some ARM binary, such as
busybox in android.
./llvm-objdump -arch=arm -d busybox
There are many instructions cannot decode,
:./llvm-objdump: warning: invalid instruction encoding
Did I use llvm-objdump in a correct way?
I think that one possible reason is that llvm-objdump encounter pc relative
data.
2012 Jun 07
2
[LLVMdev] MC disassembler for ARM
Hi Tim,
Thanks a lot for the reply.
I tested libc.so which is a shared library. llvm-objdump also report some
disassemble errors.
Could you please tell me more about $a, $t and $d symbols? How these
symbols are used to define different regions? Where I can find this symbols
in ELF object file?
Thanks,
David
I'm now try to find a decoder of ARM instructions in oder
On Thu, Jun 7, 2012
2012 Jun 06
2
[LLVMdev] MC disassembler for ARM
Hi,
I'm considering to use MC disassembler for ARM target in a binary
translation project. However after trying some ARM binary and I find that
there are a lot of instructions that the disassembler fails to to decoding.
Could anyone give me some information about the maturity of ARM
disassembler?
Thanks!
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jun 06
0
[LLVMdev] MC disassembler for ARM
On Jun 5, 2012, at 7:44 PM, Fan Dawei <fandawei.s at gmail.com> wrote:
> Hi,
>
> I'm considering to use MC disassembler for ARM target in a binary translation project. However after trying some ARM binary and I find that there are a lot of instructions that the disassembler fails to to decoding.
>
> Could anyone give me some information about the maturity of ARM
2012 Jun 07
0
[LLVMdev] MC disassembler for ARM
Hi David,
On Thu, Jun 7, 2012 at 10:17 AM, Fan Dawei <fandawei.s at gmail.com> wrote:
> Could you please tell me more about $a, $t and $d symbols? How these symbols
> are used to define different regions? Where I can find this symbols in ELF
> object file?
At the start of each range of ARM code, an assembler or compiler
should produce a "$a" symbol with that address, and
2006 Oct 05
2
compiz coding style
The coding style I use for compiz is very similar to what's used in the
xserver. This was the best I could get out of GNU indent.
indent -psl -saf -sai -saw -sob -i4 -bbo -bls -lp -di1 -pcs -bs -cs -bl
-bli0 -cdb -sc -bad -bap -l78
The style in compiz is slightly different though. Function parameters
are aligned and I usually align function parameter names and variable
names too. I also
2012 Jun 07
0
[LLVMdev] MC disassembler for ARM
On Jun 7, 2012, at 7:53 AM, Fan Dawei <fandawei.s at gmail.com> wrote:
> Hi Tim,
>
> Thanks a lot for your help! I'm very grateful.
>
> libc.so is a prelinked library, I'll build a non-prelinked one and have another try.
>
> I'm now at the start of a binary translation project. I want to convert ARM binary code [*] to llvm ir, which is then translated to
2012 Jun 08
0
[LLVMdev] MC disassembler for ARM
That depends on how you define "one ARM instruction." It's not a clear cut thing. For example, is "add r1, r2, r3" the same ARM instruction as "add r1, r2, #4"? What is a distinct instruction and what's a variant encoding of the same instruction is often entirely a matter of convenience.
-Jim
On Jun 8, 2012, at 6:40 AM, Fan Dawei <fandawei.s at
2012 Jun 07
2
[LLVMdev] MC disassembler for ARM
Hi Tim,
Thanks a lot for your help! I'm very grateful.
libc.so is a prelinked library, I'll build a non-prelinked one and have
another try.
I'm now at the start of a binary translation project. I want to convert ARM
binary code [*] to llvm ir, which is then translated to binary for our mips
like architecture. That's why I'm looking for a decoder for ARM binary.
The
2012 Jun 08
2
[LLVMdev] MC disassembler for ARM
Hi Jim,
Thanks for reply. I'm sorry I didn't make myself clear enough.
The MCInst created by MCDisassembler depends on the instructions defined in
td files. These instructions do not have a one to one mapping to ARM
instructions. There are usually one or more instructions defined in the td
file correspond to one actual ARM instruction.
Thanks,
David
On Thu, Jun 7, 2012 at 1:27 PM, Jim
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
2015 Oct 07
2
LLVM IR from static/dynamic libraries
Hi All,
Is this possible to generate LLVM IR from any static/dynamic link library?
I have some static and dynamic link library and I want to generate LLVM IR
as I want to obfuscate these libraries.
Is there any way to do the same.
Please give me some pointers on this.
Thanks,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Apr 18
4
Hiera Automatic Parameter Lookup Question
This may be a dumb question, but here goes
So I''m running on Puppet 3.1.1 on RHEL5, and i''ve been using Hiera since 2.5/2.6 ish and it''s been great!! I was reading up on Automatic Parameter Lookups and would love to use it for my modules. But I can''t seem to ever get Hiera/Puppet to load the value i''ve set in my yaml files. I feel like I must be
2012 Sep 14
1
Adding annotations to qplot from a data frame
I have the following data frame:
> algaedata =
year DIV cellsperml
2001 BAC 72.808
2001 CHL 3.273
2002 BAC 14.002
2002 CYA 220.896
2002 UNI 464.699
2003 BAP 0
2003 BAC 1.782
2004 CYA 315.799
2005 UNI 222.532
2005 BAP 0.2
2005 CYA 163.627
2005 BAC 324.949
2006 CHL 1.636
2006 BAC 199.145
2007 CHL 19.635
2007 CYA 134.174
2007 BAC 485.405
2007 CHL 11.454
2007 CYA 104.721
...which makes a fine
2010 Sep 23
4
[LLVMdev] Visual Studio 2010 build warning & errors
On Thu, Sep 23, 2010 at 4:04 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:
> On Thu, Sep 23, 2010 at 2:40 AM, Nathan Jeffords
> <blunted2night at gmail.com> wrote:
> > here are a couple of patches to address some warnings
> > in Microsoft compilers, and a build error in vs2010 in particular
> > vs2010-errors.patch:
> > In SelectionDAGISel,
2012 Mar 20
3
Graphic legend with mathematical symbol, numeric variable and character variable
Hi,
I'd like to make a legend with a mix of mathematical symbol (tau),
numeric variable and character variables.I have tried :
types<-c("Type 1","Type 2","Type 2")
tau<-c(1,3,2)
legend(x="topright",legend=paste(types,"tau=",expression(tau)))
but it doesn't work: the 'tau' symbol is not written in its 'symbol