search for: kennethadammil

Displaying 20 results from an estimated 20 matches for "kennethadammil".

2015 Jul 17
3
[LLVMdev] LLVM instrumentation
...remember correctly, pintool does not work on ARM (or quite bad). My goal with the instrumentation is, once I have the information (time + call), to choose (during a second compilation) if some of my passes are applicable or not. Greetings, Johan On 17 Jul 2015, at 16:09, Kenneth Adam Miller <kennethadammiller at gmail.com<mailto:kennethadammiller at gmail.com>> wrote: Have you seen intel pintools? You might not need to write near as much code, however it may not suit your use case because the compiler can see information that otherwise might be missed in the context of a fully compiled bina...
2015 Jul 17
2
[LLVMdev] LLVM instrumentation
...provide call frequencies and timing. In any case that’s probably where to start. HTH, d [1] https://en.wikipedia.org/wiki/Profile-guided_optimization [2] http://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization Greetings, Johan On 17 Jul 2015, at 16:09, Kenneth Adam Miller <kennethadammiller at gmail.com<mailto:kennethadammiller at gmail.com><mailto:kennethadammiller at gmail.com>> wrote: Have you seen intel pintools? You might not need to write near as much code, however it may not suit your use case because the compiler can see information that otherwise might be m...
2015 Mar 27
3
[LLVMdev] SFI and Artificial Diversity
...re interested in > participating in this effort, we're happy to collaborate with you. > > W.r.t. SFI, I believe the PNaCL source code is available. > > Cheers, > Per > > http://www.ics.uci.edu/~perl/ > > On Fri, Mar 27, 2015 at 7:22 AM Kenneth Adam Miller < > kennethadammiller at gmail.com> wrote: > >> I read a lot of white papers, but is there not any open source >> implementation of SFI or artificial diversity? I google around, but I can't >> find anywhere anything regarding what I could openly download. In the same >> respect, I wo...
2018 May 17
1
Andresen Algorithm
...> >> Actually I figured out that it is: >> >> opt -cfl-anders-aa *.ll >> >> But now I noticed that I need the graph that it computes, and it doesn't >> seem to emit that. >> >> On Wed, May 16, 2018 at 5:19 PM, Kenneth Adam Miller < >> kennethadammiller at gmail.com> wrote: >> >>> Is there a particular way to run a specific alias analysis that is >>> already implemented on a .ll file produced by clang -S -emit-llvm? >>> >>> On Mon, May 14, 2018 at 7:36 PM, Soham Sinha via llvm-dev < >>> l...
2018 May 17
2
Andresen Algorithm
Actually I figured out that it is: opt -cfl-anders-aa *.ll But now I noticed that I need the graph that it computes, and it doesn't seem to emit that. On Wed, May 16, 2018 at 5:19 PM, Kenneth Adam Miller < kennethadammiller at gmail.com> wrote: > Is there a particular way to run a specific alias analysis that is already > implemented on a .ll file produced by clang -S -emit-llvm? > > On Mon, May 14, 2018 at 7:36 PM, Soham Sinha via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >&g...
2015 Mar 27
3
[LLVMdev] SFI and Artificial Diversity
I read a lot of white papers, but is there not any open source implementation of SFI or artificial diversity? I google around, but I can't find anywhere anything regarding what I could openly download. In the same respect, I would also like to make an innovation proposal to create such an endeavor if there is not one already. -------------- next part -------------- An HTML attachment was
2015 Apr 09
2
[LLVMdev] BNF for IL/IR interpreter
This might be a very beginner question, but I'm looking for an example for something that I have never done. Suppose that I wanted to express actions with respect to lifted semantics of CPU instructions to an intermediate representation, BAP IL or LLVM IR. How might I go about providing a Backus Naur Form specification and then dynamically interpreting those lifted instructions by also
2015 Jul 17
2
[LLVMdev] LLVM instrumentation
Hi everyone, I would like to instrument my code in order to know the number of times a function is called and its execution time. After some research, I find several leads in llvm/lib/ProfilData/ and llvm/lib/Transform/Instrumentation/ but nothing conclusive. Does anyone know if this is already possible with LLVM or has a good suggestion for the beginning? I saw the -fprofile-instr-generate,
2018 May 17
0
Andresen Algorithm
...t; llvm-dev at lists.llvm.org> wrote: > Actually I figured out that it is: > > opt -cfl-anders-aa *.ll > > But now I noticed that I need the graph that it computes, and it doesn't > seem to emit that. > > On Wed, May 16, 2018 at 5:19 PM, Kenneth Adam Miller < > kennethadammiller at gmail.com> wrote: > >> Is there a particular way to run a specific alias analysis that is >> already implemented on a .ll file produced by clang -S -emit-llvm? >> >> On Mon, May 14, 2018 at 7:36 PM, Soham Sinha via llvm-dev < >> llvm-dev at lists.llvm.or...
2018 Apr 01
2
Custom Binary Format Challenges
...natively, you can use the dump() operation to dump the instructions > out. > > Unfortunately I don't know how to address your second question. That's > stretching my knowledge in LLVM. > > Brenda > > > On Sun, Apr 1, 2018 at 11:32 AM, Kenneth Adam Miller < > kennethadammiller at gmail.com> wrote: > >> Thank you so much! >> >> What about discovering the instruction pointer value? >> Also, does anybody know how to embed an artifact as a resource in a >> binary? I'd like to have two text sections, and have one copied in from >&...
2018 Apr 01
0
Custom Binary Format Challenges
...g/doxygen/classllvm_1_1Instruction.html Alternatively, you can use the dump() operation to dump the instructions out. Unfortunately I don't know how to address your second question. That's stretching my knowledge in LLVM. Brenda On Sun, Apr 1, 2018 at 11:32 AM, Kenneth Adam Miller < kennethadammiller at gmail.com> wrote: > Thank you so much! > > What about discovering the instruction pointer value? > Also, does anybody know how to embed an artifact as a resource in a > binary? I'd like to have two text sections, and have one copied in from > another binary. > &gt...
2018 Apr 02
0
Custom Binary Format Challenges
...on to dump the instructions >> out. >> >> Unfortunately I don't know how to address your second question. That's >> stretching my knowledge in LLVM. >> >> Brenda >> >> >> On Sun, Apr 1, 2018 at 11:32 AM, Kenneth Adam Miller < >> kennethadammiller at gmail.com> wrote: >> >>> Thank you so much! >>> >>> What about discovering the instruction pointer value? >>> Also, does anybody know how to embed an artifact as a resource in a >>> binary? I'd like to have two text sections, and have...
2015 Jun 20
2
[LLVMdev] Code-generation: lang=>JSON, JSON=>lang and merging into lang
Possibly protobuf or capn proto would be much more clean alternatives to json. I was working with interpreting instruction semantics a while back, and you shouldn't have to write a parser to get the data structure back into coherent form, you can get what you want automatically and have the structure isolated into a common schema. On Sat, Jun 20, 2015 at 9:22 AM, Stephen Cross <scross at
2016 Jun 03
2
Custom assembler subset
On Fri, Jun 3, 2016 at 11:53 AM, Ahmed Bougacha <ahmed.bougacha at gmail.com> wrote: > -llvmdev at cs.uiuc.edu, that list isn't in use anymore. > > On Wed, Jun 1, 2016 at 4:48 PM, Kenneth Adam Miller via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Hello all, > > > > I would like to restrain the compiler that I build on my local box from >
2018 Apr 01
2
Custom Binary Format Challenges
Thank you so much! What about discovering the instruction pointer value? Also, does anybody know how to embed an artifact as a resource in a binary? I'd like to have two text sections, and have one copied in from another binary. On Sun, Apr 1, 2018 at 2:15 PM, Brenda So <sogun3 at gmail.com> wrote: > Hi, > > You can write it as if you are writing an optimization pass: >
2018 Apr 02
1
Custom Binary Format Challenges
...out. >>> >>> Unfortunately I don't know how to address your second question. That's >>> stretching my knowledge in LLVM. >>> >>> Brenda >>> >>> >>> On Sun, Apr 1, 2018 at 11:32 AM, Kenneth Adam Miller < >>> kennethadammiller at gmail.com> wrote: >>> >>>> Thank you so much! >>>> >>>> What about discovering the instruction pointer value? >>>> Also, does anybody know how to embed an artifact as a resource in a >>>> binary? I'd like to have two...
2018 May 16
0
Andresen Algorithm
Is there a particular way to run a specific alias analysis that is already implemented on a .ll file produced by clang -S -emit-llvm? On Mon, May 14, 2018 at 7:36 PM, Soham Sinha via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Date: Mon, 14 May 2018 14:26:13 -0400 >> From: Kenneth Adam Miller via llvm-dev <llvm-dev at lists.llvm.org> >> To: llvm-dev <llvm-dev at
2018 May 22
1
CFLAndersAliasAnalysis print implementation
Hello all, I'm having trouble getting this analysis to print out it's graph of aliases. I am processing an example C file into llvm ir, like this: int main(void) { int x=1, y=2, z=3; int *p; int **p1, **p2; if (x==z) { //0x100000f40 p=&x; p1=&p; x*=2; *p1+=z; } } clang -S -emit-llvm example.c -o example.ll Then, I am trying to run the Andersen alias
2018 May 14
2
Andresen Algorithm
> > Date: Mon, 14 May 2018 14:26:13 -0400 > From: Kenneth Adam Miller via llvm-dev <llvm-dev at lists.llvm.org> > To: llvm-dev <llvm-dev at lists.llvm.org> > Subject: [llvm-dev] Andresen Algorithm > Message-ID: > <CAK7rcp_yXA79UuLvcD6LPMQBvi9tTpOGAcuWZ > Ux1tFKTyvuh2Q at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" >
2015 Jul 17
2
[LLVMdev] static taint analysis in LLVM
Hello, I want to know if LLVM support static taint analysis now ? and how to implement static taint analysis code in term of LLVM pass or something else ? can anyone help me?Thank you very much! zhaoqian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150717/0236bed3/attachment.html>