Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] Generating IR bytecode files of httpd source code"
2013 Mar 13
0
[LLVMdev] Generating IR bytecode files of httpd source code
On 3/12/13 7:16 PM, teja tamboli wrote:
> Hi,
>
> I want to compile apache httpd using LLVM compiler. However, I am
> interested in generating llvm bytecode files [.s or .ll] files along
> with its executables. I followed steps mentioned in link :
> http://stackoverflow.com/questions/13851661/compiling-apache-httpd-into-llvm-bytecode-using-clang
>
> However after
2013 Mar 08
1
[LLVMdev] Tool to convert to backend assembly instruction file "llc"
Teja,
I just checked my version of llc to make sure it worked on arm and
x86_64 respectively. The website llvm.org hosts a manual page for this
tool at http://llvm.org/docs/CommandGuide/llc.html. I think this tool
from the ample LLVM armory will accomplish what you are looking to do.
All the best in your endeavors,
Shaun
Shaun Hubbard
On Mar 7, 2013, at 10:39 PM, teja tamboli
2013 Mar 07
1
[LLVMdev] Function permutation at IR bytecode level
Hi All,
I am working on writing pass in LLVM and interested in doing function
permutation at intermediate representation byte code level?
If I have lets say C program having three functions and its corresponding
IR bytecode.
void findLen(char a[10])
{
int tmp = strlen(a);
printf("Len is : %d\n", tmp);
}
void muladd(int a, int b, int c)
{
int tmp = a + b;
int tmp1 = tmp *
2013 Mar 08
2
[LLVMdev] Tool to convert to backend assembly instruction file
Hello,
I am looking for tool to convert file from either (.s) bytecode or (.bc)
bitcode to .asm file. Basically assembly instruction file for my x86
backend. I think so we can use llvm-objdump. However I am not able to
figure out its exact options. Could you please tell me how to do that?
--
Thanks,
Teja
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Nov 19
1
[LLVMdev] Inserting dead code in IR byte code
Hi Duncan,
I mean both. In order to generate random code, I have to add function
definitions and also for robustness I have to call these functions from
already existing functions. So, have to add calling type of instructions
also in the existing function.
In future I also have to change instructions for simple substitution meaning
'add a, b' can be done using 'sub a, 0' and
2013 Mar 08
0
[LLVMdev] Tool to convert to backend assembly instruction file
Teja,
Your mention of .s being bytecode confuses me, but if you're asking how to lower a bitcode (.bc) or IR file (.ll) to assembly (.s) than llc is the tool you are looking for.
llc -O2 path/to/bitcode/input.bc -o output.s
-Chris
On Mar 7, 2013, at 10:39 PM, teja tamboli wrote:
> Hello,
>
> I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to
2013 Feb 25
2
[LLVMdev] Queries regarding function's arguments data type
Hi all,
I am working on my Master's project in security and I am trying to iterate
over the argument list of the function. Basically I need to do following
things :
1. Check data type of each argument of the argument list of the function.
2. Based on its data type like character array or integer array, pointer,
int, char, take different action.
3. I have added following code to check its
2012 May 28
1
[LLVMdev] [cfe-dev] About Address San...
Hi John and All,
Thank you for the your inputs,we tried running Safecode with Liblto on our
code base few weeks back,I'm very sorry to say this that we feel that
safecode is not so stable and output is not so informative ,Please
correct us if i'm wrong here.
Thanks Again.
~Umesh
On May 25, 2012 7:54 PM, "John Criswell" <criswell at illinois.edu> wrote:
> On
2013 Feb 25
0
[LLVMdev] Queries regarding function's arguments data type
On 2/25/13 1:44 PM, teja tamboli wrote:
> Hi all,
>
> I am working on my Master's project in security and I am trying to
> iterate over the argument list of the function. Basically I need to do
> following things :
Interesting. Just out of curiosity, can you tell us what your project
is about?
>
> 1. Check data type of each argument of the argument list of the
2010 Mar 05
2
[LLVMdev] Compile a large project with llvm?
Dear John,
Thanks for your reply. I want to do whole program analysis, all what I
need are just the separate .bc files. What instructions should I follow?
I run the configure on apache in this way:
CC=clang CFLAGS=-emit-llvm ./configure
while I get the error message like:
checking for gcc... clang
checking for C compiler default output file name... configure: error: C
compiler cannot
2011 Jun 28
1
[LLVMdev] Where is the SVA code located?
Hello,
Is the SVA codebase publically available, and if so, where can I find it?
Thanks.
--
gregory malecha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110627/4f816aa6/attachment.html>
2010 Mar 05
3
[LLVMdev] Compile a large project with llvm?
Hi,
How to compile a large project (such as Apache) by using llvm-gcc?
I tried to replace CC with llvm-gcc and CFLAGS with -emit-llvm while
running configure, but it didn't work.
Thank you for your help.
-Wink
2010 Mar 05
0
[LLVMdev] Compile a large project with llvm?
Wink zhang wrote:
> Dear John,
>
> Thanks for your reply. I want to do whole program analysis, all what I
> need are just the separate .bc files. What instructions should I follow?
>
I'm a little confused. Whole-program analysis requires that you link
all of the individual bitcode files from different compilation unit
(i.e., individual .c files) together into a single
2012 Nov 08
1
[LLVMdev] Automating Analysis Pass at linktime question [liblto] [safecode]
Hello all,
I'm a research assistant at the University of Wisconsin and we're trying to
come up with a general way to run our whole program analysis over programs
that may use different methods to perform the build. I saw some discussion
that liblto could be used for this (and safecode successfully did it) for
llvm 2.6 - 3.0, but that doesn't seem to be working the same way with llvm
2011 Aug 19
2
[LLVMdev] running a module pass via opt on multiple bitcode files
Thanks John. Your approach worked fine for my small toy program. Now, I would like to run my module pass on a huge project (still a single executable) consisting of a few thousand bit code files scattered in many different directories. And some of them are static libraries. Do you still think it's a good idea to manually gather and link them with llvm-ld? I've seen other module pass
2010 Mar 05
0
[LLVMdev] Compile a large project with llvm?
Wink zhang wrote:
> Hi,
>
> How to compile a large project (such as Apache) by using llvm-gcc?
> I tried to replace CC with llvm-gcc and CFLAGS with -emit-llvm while
> running configure, but it didn't work.
>
If you just want to compile the program with llvm-gcc, then Diego's
instructions are fine.
If, however, you want to do inter-procedural optimization or whole
2012 May 25
0
[LLVMdev] [cfe-dev] About Address San...
On 5/25/12 6:57 AM, Umesh Kalappa wrote:
> Hi All ,
>
> I'm not sure the question is relevant to the forum,My apologies if not
>
> We are trying to instrument our code with ASan(Clang) to find the
> memory errors and we see that the application execution halts when
> the Asan check finds the memory issue at the being. Which mean we need
> to fix the issue then
2011 Aug 19
0
[LLVMdev] running a module pass via opt on multiple bitcode files
On 8/19/11 4:36 PM, Jinwook Shin (HOTWING) wrote:
>
> Thanks John. Your approach worked fine for my small toy program. Now,
> I would like to run my module pass on a huge project (still a single
> executable) consisting of a few thousand bit code files scattered in
> many different directories. And some of them are static libraries. Do
> you still think it's a good idea
2010 Mar 25
1
[LLVMdev] Maintaining pass code outside of the LLVM directory
On Mar 22, 2010, at 9:53 PM, John Criswell wrote:
> You can always use the LLVM project infrastructure (documented at
> http://llvm.org/docs/Projects.html).
Thanks for reminding me of that. I had actually started out with a
project infrastructure, then switched to a pass implementation alone,
not realizing I could combine the two. I've now reverted back to my
old project,
2012 May 25
4
[LLVMdev] About Address San...
Hi All ,
I'm not sure the question is relevant to the forum,My apologies if not
We are trying to instrument our code with ASan(Clang) to find the memory
errors and we see that the application execution halts when the Asan check
finds the memory issue at the being. Which mean we need to fix the issue
then compile and execute the instrumented code again to find the next
issue and so on