Displaying 13 results from an estimated 13 matches for "loadstorecheck".
Did you mean:
loadstorechecks
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
...l program.
>
> In order to get started with LLVM pass and how to make one on my own, I looked at an example of a pass that adds run-time checks to LLVM IR loads and stores, the SAFECode's load/store instrumentation pass (http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markup and http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup). But I couldn't figure out how to run this pass. Please give me steps how to run this pass on some program say the above Account.cpp.
>
> Thanks,
> Himanshu
>...
2011 Sep 29
2
[LLVMdev] Instrumenting C/C++ programs
...LVM pass and how to make one on my own, I
>>>> looked at an example of a pass that adds run-time checks to LLVM IR loads
>>>> and stores, the SAFECode's load/store instrumentation pass (
>>>> http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markupand
>>>> http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup).
>>>> But I couldn't figure out how to run this pass. Please give me steps how to
>>>> run this pass on some program say the above...
2011 Nov 17
1
[LLVMdev] Instrumenting C/C++ programs
...with LLVM pass and how to make one on my own,
>>>>> I looked at an example of a pass that adds run-time checks to LLVM IR loads
>>>>> and stores, the SAFECode's load/store instrumentation pass (<http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markup>
>>>>> http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markupand
>>>>> <http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup>
>>>>> http...
2011 Sep 28
2
[LLVMdev] Instrumenting C/C++ programs
...er to get started with LLVM pass and how to make one on my own, I
>> looked at an example of a pass that adds run-time checks to LLVM IR loads
>> and stores, the SAFECode's load/store instrumentation pass (
>> http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markupand
>> http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup).
>> But I couldn't figure out how to run this pass. Please give me steps how to
>> run this pass on some program say the above Account.cpp.
>>
&g...
2011 Sep 27
1
[LLVMdev] Instrumenting C/C++ programs
...e original program.
In order to get started with LLVM pass and how to make one on my own, I
looked at an example of a pass that adds run-time checks to LLVM IR loads
and stores, the SAFECode's load/store instrumentation pass (
http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markupand
http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup).
But I couldn't figure out how to run this pass. Please give me steps how to
run this pass on some program say the above Account.cpp.
Thanks,
Himanshu
On Fri, Sep 23,...
2011 Sep 23
3
[LLVMdev] Instrumenting C/C++ programs
I just read that LLVM project could be used to do static analysis on C/C++
codes using the analyzer Clang which the front end of LLVM. I wanted to know
if it is possible to extract all the accesses to memory(variables, local as
well as global) in the source code using LLVM.
Is there any inbuilt library present in LLVM which I could use to extract
this information. If not please suggest me how to
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
...arted with LLVM pass and how to make one on my own, I
>>> looked at an example of a pass that adds run-time checks to LLVM IR loads
>>> and stores, the SAFECode's load/store instrumentation pass (
>>> http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markupand
>>> http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup).
>>> But I couldn't figure out how to run this pass. Please give me steps how to
>>> run this pass on some program say the above Account.cpp....
2011 Sep 28
0
[LLVMdev] Instrumenting C/C++ programs
...> In order to get started with LLVM pass and how to make one on my own, I
> looked at an example of a pass that adds run-time checks to LLVM IR loads
> and stores, the SAFECode's load/store instrumentation pass (
> http://llvm.org/viewvc/llvm-project/safecode/trunk/include/safecode/LoadStoreChecks.h?view=markupand
> http://llvm.org/viewvc/llvm-project/safecode/trunk/lib/InsertPoolChecks/LoadStoreChecks.cpp?view=markup).
> But I couldn't figure out how to run this pass. Please give me steps how to
> run this pass on some program say the above Account.cpp.
>
> Thanks,
>...
2011 Nov 21
1
[LLVMdev] ModulePass and Strings
Hi everybody,
I am writing an LLVM pass and I want to iterate over the whole module
(including global variables), that's why I use ModulePass instead of
FunctionPass. But I don't know how to do it. Using Module::iterator seams
to iterate only over functions. But I need to iterate over all the
Instructions in the module. How should I do such an iteration?
Also, I would like to find all the
2011 Apr 07
1
[LLVMdev] LLVM Tutorials
Hi,
Could anyone point me to some simple examples/tutorials for writing
instrumentation transform passes. Essentially adding instructions to basic
blocks, such as print statements, load, add, store. I have tried going
through profiling transforms, and was wondering if there is any better
documented tutorial etc ?
Thanks
Nipun
-------------- next part --------------
An HTML attachment was
2011 Nov 03
0
[LLVMdev] Instrument examples
...sses.
As you start coding, you'll find the doxygen docs (also on that web
page) extremely valuable.
As for examples, you might want to take a look at some of the passes in
the SAFECode project (http://sva.cs.illinois.edu). The load/store
instrumentation pass (safecode/lib/InsertPoolChecks/LoadStoreChecks.cpp)
is a very simple example of a pass that instruments every load and
store. Modifying that code to instrument function calls and basic
blocks should be straightforward.
There are, of course, numerous examples in LLVM itself (in
lib/Transforms), too, although I'm not sure which passes...
2010 Dec 07
2
[LLVMdev] own source transformation
Hi,
I'm a student who is going to make a countermeasure for dangling pointers in c for his thesis.
I need to make my source transformation using llvm. Nobody in my university already used LLVM.
I already read a some documentation about llvm but i'm still lost.
Do there exist some " examples/Tutorials" for making small source transformations.
Or is there somebody who can help
2011 Oct 31
4
[LLVMdev] Instrument examples
Hi,
I am new to LLVM. I want to use LLVM to instrument codes, such as
function calls and basic blocks. But I don't know where to start. I wonder
if there are any example codes to show how to instrument codes in the IR
level?
Thanks.
--
zhouxu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: