Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] generating a dynamic callgraph with llvm-prof"
2014 Aug 18
2
[LLVMdev] generating a dynamic callgraph with llvm-prof
Yes, the latest version can be downloaded from here https://github.com/liuml07/giri . The LLVM instrumentation code is in TracingNoGiri.cpp<https://github.com/liuml07/giri/blob/master/lib/Giri/TracingNoGiri.cpp> file and runtime code in Tracing.cpp.
You may need to delete other unnecessary instrumentation code which you don't need.
Thanks,
Swarup.
________________________________
2014 Jan 02
2
[LLVMdev] Tracing values in llvm IR
Hi Jin Huang,
The updated Giri code is available at https://github.com/liuml07/giri<https://github.com/liuml07/giri.>. This will give you an idea of how to instrument the program to trace different values. You can modify the code to achieve your goals.
-Swarup.
________________________________
From: Criswell, John T
Sent: Thursday, January 02, 2014 2:12 PM
To: Jin Huang; llvmdev at
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
Thank you , James.
But this way needs to determine whether the instruction is a LOAD/STORE
,and if I want to preserve the operations on these variables for further
dynamic symbolic execution usage(just like KLEE ,but it's a static analysis
,not dynamic),I had to backtrace instructions ,this may be not very
efficient if the operation is very complex!
-Jin Huang
2014/1/3 Jin Huang
2013 Sep 11
2
[LLVMdev] Dynamic Analysis
Dear John,
Now, I want to do dynamic analysis by dynamic slicing based on LLVM. I just
see that you have implemented dynamic slicing for LLVM. I also check the
Giri project, and I don't find the code. I hope I can learn something from
your code. I am very appreciated if you can tell me how to get the code or
send me one copy.
Thank you very much!
Pengfei
--
View this message in context:
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
You will have to insert callinst to tracing functions immediately after the value is produced, not at the entry points. Giri code has many such examples of how to do this.
Thanks,
Swarup.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of Jin Huang [54jin.huang at gmail.com]
Sent: Thursday, January 02, 2014 9:47 PM
To: llvmdev at
2014 Jan 02
3
[LLVMdev] Tracing values in llvm IR
Hi, everyone.
I want to writing a Pass to get the variable value while the program is
running ,the basic idea is to insert an STL map in the program ,and get
every value and address a program use ,but whether it's possible to do this
by transforming the llvm IR?
I didn't find any useful functions to get a variable's address in LLVM IR
.It seems that the IR is an SSA form and we can
2013 Apr 27
1
[LLVMdev] GSoC Proposal: Inter-Procedure Program Slicing in LLVM
Hi all,
This is a GSoC 2013 proposal for LLVM project. Please see the formatted version at here: http://pacman.cs.tsinghua.edu.cn/~liuml07/files/gsoc2013-proposal-program-slicing.pdf
Program slicing has been used in many applications, the criteria of which is a pair of statement and variables. I would like to write an inter-procedural program slicing pass in LLVM, which is able to calculate C
2013 May 02
2
[LLVMdev] GSoC Proposal: Inter-Procedure Program Slicing in LLVM
Hi all,
I had a second thought of the dynamic slicing, as well as the source code
generating.
Firstly, the dynamic slicing is very useful to software community (I'll
illustrate more in the refined proposal later), but it's already
implemented by Swarup and John Criswell from UIUC. The static slicing code
has been released as Giri project in LLVM, and they would kindly release
the dynamic
2013 Jan 22
2
[LLVMdev] Dynamic Profiling - Instrumentation basic query
On 1/22/13 12:07 PM, Sahoo, Swarup Kumar wrote:
> Hi John and Silky,
>
> I can see a copy of 'giri' slicing project branch here http://llvm.org/viewvc/llvm-project/giri/. Though it may be little older, it will work I think. You can look at the code to see how we do the instrumentation.
The giri project is supposed to contain both the static slicing code and
the dynamic
2012 Nov 17
2
[LLVMdev] Interprocedural slicing using LLVM
Hi,
1. How can I report a bug or commit a patch to the giri progject? I
doubt this central commit list is the right place.
2. Are you still maintaining the giri project any more?
Thank you.
L
On Thu, Jun 28, 2012 at 12:49 AM, John Criswell <criswell at illinois.edu>wrote:
> On 6/26/12 5:07 PM, amruth.rd wrote:
> > Hello,
> >
> > I am curious to know if
2013 Jan 22
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Oh, OK. I didn't check the code. I think it only contains your flow tracking analysis code, isn't it.
Our 'Giri' project was completely separate from it. Should we merge it with this or keep it as a separate project?
-Swarup.
________________________________________
From: John Criswell [criswell at illinois.edu]
Sent: Tuesday, January 22, 2013 12:12 PM
To: Sahoo, Swarup Kumar
Cc:
2013 Jan 22
3
[LLVMdev] Dynamic Profiling - Instrumentation basic query
On 1/13/13 11:06 PM, Criswell, John T wrote:
> There is code that does this for older versions of LLVM. I believe it is in the giri project in the LLVM SVN repository. I can look into more details when I get back from vacation. Swarup may also be able to provide information on the giri code.
I took a quick look, and the dynamic slicing code doesn't appear to be
checked into the giri
2013 Jan 22
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi John and Silky,
I can see a copy of 'giri' slicing project branch here http://llvm.org/viewvc/llvm-project/giri/. Though it may be little older, it will work I think. You can look at the code to see how we do the instrumentation.
Thanks,
Swarup.
________________________________________
From: John Criswell [criswell at illinois.edu]
Sent: Tuesday, January 22, 2013 10:29 AM
To:
2012 Jan 09
3
[LLVMdev] Dynamic Analysis
Hi,
I want to find the dynamic slice of a given code. Is this already
implemented in LLVM?. If not which functions are there in the LLVM to
do dynamic analysis.
2012 Jun 26
2
[LLVMdev] Interprocedural slicing using LLVM
Hello,
I am curious to know if LLVM offers any passes to do interprocedural slicing, I need to eliminate most of the computations(possibly all, if they don't influence the control flow), but the control flow of the program should be maintained at all cost. I did see an optimization pass to print the CFG of a function without its body to a dot file, but I am interested in generating the
2013 May 02
0
[LLVMdev] GSoC Proposal: Inter-Procedure Program Slicing in LLVM
On 5/1/13 11:36 PM, Mingliang LIU wrote:
> Hi all,
>
> I had a second thought of the dynamic slicing, as well as the source
> code generating.
>
> Firstly, the dynamic slicing is very useful to software community
> (I'll illustrate more in the refined proposal later), but it's already
> implemented by Swarup and John Criswell from UIUC. The static slicing
>
2014 Aug 31
2
[LLVMdev] Inserting Calls to var args Functions
Hi All,
I am using code similar to giri instrumentation
<https://github.com/liuml07/giri> framework to insert my instrumentation
code. It works for normal functions for example to insert recordInt32
function below.
void recordInt32(int32_t val){
printf("%d, ", val);
}
I can get recodedInt32 function in my Module using getOrInsert Function.
Function* RecordInt32 =
2012 Jun 27
0
[LLVMdev] Interprocedural slicing using LLVM
On 6/26/12 5:07 PM, amruth.rd wrote:
> Hello,
>
> I am curious to know if LLVM offers any passes to do interprocedural slicing, I need to eliminate most of the computations(possibly all, if they don't influence the control flow), but the control flow of the program should be maintained at all cost. I did see an optimization pass to print the CFG of a function without its body to a
2012 Jan 09
0
[LLVMdev] Dynamic Analysis
Dear Tarun,
Swarup Sahoo and I wrote some LLVM passes for dynamic slicing for LLVM 2.6. I believe we had planned to make the code publicly available as part of the Giri project (http://llvm.org/viewvc/llvm-project/giri/trunk), but due to other commitments, we have not moved the code into that SVN repository yet.
Let me check with Vikram and Swarup to see about getting a copy of the code to you.
2013 Jan 14
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
There is code that does this for older versions of LLVM. I believe it is in the giri project in the LLVM SVN repository. I can look into more details when I get back from vacation. Swarup may also be able to provide information on the giri code.
-- John T.
________________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of Silky Arora