Questions tagged [llvm]

LLVM is a compiler infrastructure, consisting of a collection of reusable, extendable compiler technologies.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Disassemble specific mach-o function

I have a mach-o binary and using llvm-objdump version 9 I can disassemble it. I would like to disassemble only a single function though. If I display the symbol table with --syms I can see the ...
  • 107
3 votes
0 answers

Lifting x86 machine code to LLVM IR

I would like to translate a simple x86_64 machine code into LLVM IR, which can be later analyzed. For my particular use case, I need to be able to work with just instructions and opcodes directly, and ...
  • 31
1 vote
1 answer

Calling Swift 4 methods from C

I have earlier been able to call Swift methods using a function pointer from C, and providing the appropriate arguments because the calling convention was the same. Unfortunately this no longer works....
  • 111
1 vote
0 answers

Is there an existing method to lift ARMv7 [iPhone] binaries to LLVM IR?

I am trying to do some blackbox analysis on a iOS ARMv7 binary. It would be interesting to apply the LLVM analysis tools to such a binary, but I don't have source code. Is there a an existing lifter ...
  • 1,216
6 votes
1 answer

Recompiling/optimizing redundant code to make analysis easier

I'm analyzing an application created with Borland Delphi but the poor quality of the object code makes analysis difficult and tedious. The code is so convoluted and inflated with superfluous ...
  • 439
18 votes
1 answer

What is the state of art in LLVM IR decompilation?

LLVM IR is a fairly high-level, typed bitcode which can be directly executed by LLVM and compiled to JIT on the fly. It would not surprise me if a new executable format or programming language was ...
  • 1,253