search for: tamboli

Displaying 11 results from an estimated 11 matches for "tamboli".

Did you mean: calboli
2013 Mar 08
1
[LLVMdev] Tool to convert to backend assembly instruction file "llc"
...ctively. 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 <tamboli.teja at gmail.com> wrote: 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 yo...
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 .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...
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 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-...
2013 Mar 13
2
[LLVMdev] Generating IR bytecode files of httpd source code
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 following all instructions when I compile httpd with following options I get directly
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....
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
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 *
2012 Nov 19
2
[LLVMdev] Inserting dead code in IR byte code
Hi all, I am working on my Master's project in security and for this I need to do following things : 1. I have a IR bytecode of the main program. I want to insert dead code from other source files (e.g. cygwin files or the Linux files) in main program's IR byte code. 2. In order to insert code, I can try following two ways : (i) I have observed that these IR bytecode files are just
2012 Oct 07
2
[LLVMdev] Inserting a function call using LLVM
Hi, I am new to LLVM and interested in using LLVM to work on a research project for my Master's degree. My idea is following - 1. I have a simple C program basic.c - #include <stdio.h> int main() { printf("Hello World"); return 0; } 2. I will generate IR byte code for this basic.c using - llvm-gcc -emit-llvm -S basic.c This will give me basic.s which has IR byte code