Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] Pointer functer analysis"
2015 Apr 19
2
[LLVMdev] function pointer alias analysis
Hi
I see when LLVM builds the CallGraph SCCs. a function calling through
a function pointer is conservatively assumed to call internal and
external functions. Therefore, it has an edges pointing to the
externalnode2, ie. the externalnode representing outgoing calls from
this module.
does LLVM have any function pointer analysis capabilities in the mainline ?
Thanks,
-Trent
2014 May 04
2
[LLVMdev] indirect calls tracking and control flow graph
Thank you,
I tried to compile it with llvm 3.4 through these commands:
petsas at shinigami:~/software/poolalloc$ ./configure
--with-llvmsrc=/home/petsas/software/llvm
--with-llvmobj=/home/petsas/software/llvm
petsas at shinigami:~/software/poolalloc$ make
but I'm getting get this error:
make[1]: Entering directory `/home/petsas/software/poolalloc/lib'
make[2]: Entering directory
2007 Jul 10
1
[LLVMdev] A question about LLVM and pool allocation
HI guys.
I'm trying to build the poolalloc on llvm-2.0 but there exist some errors.
Can you tell me which version of llvm is known to make the poolalloc build
and install successful?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070710/4ab5e155/attachment.html>
2009 Nov 13
1
[LLVMdev] Poolalloc asserts when passing in pool descriptors
Hi,
The poolalloc library fails in TransformFunctionBody.cpp, line 746
---
Value *ArgVal = ConstantAggregateZero::get(PoolAllocate::PoolDescPtrTy);
---
opt -load /path_to_lib/libpoolalloc.dylib -poolalloc constaggr.bc -o
opt.bc -f
triggers the problem (bc file attached).
Assertion failed: ((isa<StructType>(Ty) || isa<ArrayType>(Ty) ||
isa<VectorType>(Ty)) &&
2014 May 02
2
[LLVMdev] indirect calls tracking and control flow graph
On Mon, Apr 28, 2014 at 10:30 PM, John Criswell <criswell at illinois.edu>wrote:
> Dear Petsas,
>
> For analyzing indirect function calls, your best bet is probably to use
> the CallGraph analysis pass that is part of DSA. DSA is included in the
> poolalloc code; you can get directions on downloading poolalloc from the
> SVA web page:
2010 Mar 17
1
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Depending on the value of dsa_pass_to_use, either EquivBUDataStructures
or EQTDDataStructures is used. In the case that the top-down DSA is
used, information is pushed down to nodes in callees. However,
if bottom-up DSA is used, information has only been merged upwards and
the nodes are not necessarily equivalent.
Harmen
Andrew Lenharth wrote:
> On Tue, Mar 16, 2010 at 3:46 PM, Patrick
2008 Sep 25
2
[LLVMdev] CallTargets Analysis Incorrect
Hi,
The call target pass in the poolalloc suite yields an incorrect output for the following short test program:
#include <stdio.h>
struct OP {
void (*func)(struct OP*);
};
void bar(struct OP *op);
void foo(struct OP *op) {
printf("Foo\n");
op->func = bar;
}
void bar(struct OP *op) {
printf("Bar\n");
op->func = foo;
}
int main(int argc, char **argv)
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Thanks for all your help so far.
My problem is that what I have are the pool descriptors, which I by
traversing the uses of poolinit and accessing the first argument of each
call. I need to find the DSNode (in the original function) to which
this pool descriptor corresponds. The rub is that this pool descriptor
of course does not exist except in the clone.
If I call getFuncInfo(), I get a
2008 Sep 30
0
[LLVMdev] CallTargets Analysis Incorrect
On Thu, Sep 25, 2008 at 5:04 PM, Thomas B. Jablin
<tjablin at cs.princeton.edu> wrote:
> Hi,
> The call target pass in the poolalloc suite yields an incorrect output for the following short test program:
The DSA results are now (r56847) correct for this test case. The call
is marked incomplete. Doing better is actually a pathological case in
DSA which is hard to fix without
2006 Mar 21
3
Test version of the glibc with xen flavour
Hi all,
I have built a test version of the glibc with a xen flavour. It is
available on http://people.debian.org/~aurel32/xen/ . The only
difference with the version currently in sid is the presence of the
libc6-xen package.
If you are using xen, please test it and tell me if it fixes speed
problems. If everything is ok, I will commit it into our SVN.
Bye,
Aurelien
--
.''`.
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Harmen, your suggestion of inverting the mapping almost worked (and
Andrew was correct that the function I need is the same as the one in
which poolinit appears). Unfortunately, it appears that this mapping
only considers the original function and not any of its clones. Since
the pool descriptor in question may very well only exist in a clone, I
can't use this. Is there another way?
2010 Mar 16
4
[LLVMdev] Getting the DSNode from a Pool Descriptor?
I figure (hopefully correctly) that I can iterate over all pool
descriptors in a program by iterating over all users of poolinit and
looking at the first argument. However, once I have a pool descriptor,
I need to get its corresponding DSNode in the function in which it is
complete (or in the global graph if it is a global). How do I do this?
Thanks,
--Patrick
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Hi Patrick,
That's right. DSNodes are coupled to the original function. For function clones, you first need
to get the original function, and then use the DSNode from that function. FuncInfo
contains the information if a function is a clone and what the original function is.
If you want to find the corresponding DSNode for some instruction, you must call
PA::FuncInfo::MapValueToOriginal(
2010 Mar 17
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
You might want to have a look at PoolAllocate.h.
Per function, a PA::FuncInfo structure keeps track of all DSNodes that
should be pool allocated. ArgNodes contains pool arguments, NodesToPA
contains nodes that are locally pool allocated and thus initialized
using poolinit.
PoolDescriptors contains a mapping from DSNodes to pool descriptors, and
you could easily invert this mapping.
Finding a
2007 Nov 04
1
Nitram driver and timeout
Hi,
I recently bought a Nitram Elite 2005 UPS and i installed nut to monitor it.
Unfortunatly, i often have timeout errors (20 timeout per days):
Broadcast Message from aurelien at berkelium
(no tty) at 18:05 CET...
Communications with UPS Nitram at localhost lost
Broadcast Message from aurelien at berkelium
(no tty) at 18:05 CET...
Communications with UPS Nitram(AT)localhost
2007 Nov 04
1
Nitram driver and timeout
Hi,
I recently bought a Nitram Elite 2005 UPS and i installed nut to monitor it.
Unfortunatly, i often have timeout errors (20 timeout per days):
Broadcast Message from aurelien at berkelium
(no tty) at 18:05 CET...
Communications with UPS Nitram at localhost lost
Broadcast Message from aurelien at berkelium
(no tty) at 18:05 CET...
Communications with UPS Nitram(AT)localhost
2010 Mar 23
2
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
Hi LLVM dev team:
I am now doing an experiment to comparing Steensgaard-style and
Andersen-style pointer analysis on LLVM. Since steensgaard pointer analysis
is in module "poolalloc", so I installed poolalloc release 2.6 on my
machine(intel X86_64 RedHatEnterpriseLinux 5.1, gcc-4.2.4), two directories
"include" and "lib" were created after installation but no
2010 Mar 23
0
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
聪明陈 wrote:
> Hi LLVM dev team:
> I am now doing an experiment to comparing Steensgaard-style and
> Andersen-style pointer analysis on LLVM. Since steensgaard pointer
> analysis is in module "poolalloc", so I installed poolalloc release
> 2.6 on my machine(intel X86_64 RedHatEnterpriseLinux 5.1, gcc-4.2.4),
> two directories "include" and "lib" were
2008 May 15
7
Unable to run Watchtower Library 2007 Japanese : font ?
Hello,
I was using both version of WTLib 2007 (French and Japanese) under Unbuntu7.10 and Wine 0.9.47 and it worked fine with just an installation of VCRedist and some japanese fonts in windows folder. But recently i moved my system to the new Ubuntu8.04 with the last version of wine : 1.0 RC1.
I read that i don't need to install vcredist and font anymore. It's supposed to be a platinum
2010 Apr 12
0
[LLVMdev] Fwd: Question about using steensgaard's pointer analysis in poolalloc
Hi, LLVM dev team:
Thanks for your suggestion, I have done the experiment to compare the two
pointer analysis(Andersen and Steensgaard) methods in LLVM, but the result
was unexpected. In each test, I compare these two methods using same
optimization; There are several tests, each with a different optimization.
The benchmark is all the 11 C programs in CINT2000 of SPEC. In all the
tests, I found