Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Inserting dead code in IR byte code"
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
2012 Nov 19
0
[LLVMdev] Inserting dead code in IR byte code
Hi Teja,
> 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.
do you mean adding additional functions? Or do you mean adding extra
instructions to
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 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 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 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:
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
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 Oct 08
0
[LLVMdev] Inserting a function call using LLVM
Hi Teja,
> 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
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
2023 Sep 06
2
LIBGUESTFS supported version
Hi Team,
Am trying to install libguestfs in my redhat 8.2 version default its installing 1.38.4. Could you please help us with the installation of version 1.50 libguestfs (through command line in RHEL 8.2) and supported RHEL versions of 1.50.
Regards,
Teja K
From: Teja Konapalli
Sent: Tuesday, September 5, 2023 8:16 PM
To: libguestfs at redhat.com
Subject: LIBGUESTFS supported version
Hi
2023 Sep 05
1
LIBGUESTFS supported version
Hi Team,
Am trying to install libguestfs in my redhat 8.2 version default its installing 1.38.4. Could you please help us with the installation of version 1.50 libguestfs and supported RHEL versions.
Regards,
Teja K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230905/2d59d029/attachment.htm>
2019 Nov 16
2
Calcular variable dummy sobre configuracion de dos variables tipo factor. Dummy yo.
Hola, compañeros.
Pido ayuda con algo que sé que tiene que ser simple, pero la presión de
tener que sacarmelo de encima me simplifica a mí demasiado y no me doy
cuenta.
Tengo una matriz de datos en la que tengo características tipo factor,
necesito trasponer esa información a una matriz de datos binarios, en
función de algunas combinaciones de esas variables. Unas combinaciones
tienen que pasar a
2005 Jan 11
2
[LLVMdev] Loop IR insertion
Hi,
I am trying to insert a Loop IR into the existed bytecode file.
insertion part by C code,
char *p[n]; // pointer array for storing the address of strings
int i;
for(i=0;i<n;i++){
(p[i])[2] = (p[i])[2] ^ 0x27;
}
My questions are
1. for local variable 'char *p[n]' , it is represented by IR as alloca ...., so could I insert local variable (pointer array) directly as same way
2010 Mar 10
3
[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM
Hello all,
I am highly interestd in implementing C compiler for EFI Byte Code in LLVM
and participate in Google Summer Code.
EFI is a much larger, more complex,OS-like replacement for the older BIOS
firmware interface present in all IBM PC-compatible personal computers.
and the EFI specification provides for a processor-independent device driver
environment(like virtualmachine), called EFI Byte
2010 Mar 15
0
[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM
On 10 March 2010 16:57, 琬菁楊 <ching1119.cs96 at g2.nctu.edu.tw> wrote:
> I think the main issue is that EFI C dialect is not ANSI-C compliant: the
> size of pointer is determined at the run-time and therefore the layout of
> the structure is not static. Does LLVM support this model?
Hi Ching,
The LLVM IR doesn't care about the size of your pointers, and this is
why you have the
2004 Aug 06
3
Problem with Icecast2/Ices streaming MP3.
Hello everyone,
I am running Icecast 2.0.0 with ices-3.0. I run ices on a machine which
has all the mp3 files I am playing and stream these mp3 to Icecast which
is running on another machine. Every now and then, say 2 hours. Ices
keeps churning out errors saying updating meta data and socket errors
and keeps retrying and after some time it suceeds for one file and then
when playing the next file
2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
Thanks Chris, but the method you mentioned is not what I want. Maybe I didn't make it clear.
As you said, /runtime/libprofile is runtime library for the following function.
llvm_start_func_profiling
llvm_start_block_profiling
llvm_start_basic_block_tracing
llvm_trace_basic_block
And those above functions can be inserted into basic block etc for getting profile. However, those