Comments (3)
Tai-e's IR is immutable, but you can intercept IR in pointer analysis.
One way to do this is to modify DefaultSolver.addCSMethod()
to intercept the result of method.getIR().getStmts()
and replace it by your modified IR. In this way, the core pointer analysis solver (see class StmtProcessor
) analyzes the modified IR, but other plugins still analyze the original IR, so you may need to be careful.
from tai-e.
In order to achieve my goal, I want to use tai-e as an analysis tool.
My current question is: how should I use tai-e to obtain the memory size of all variables in a java and on which line are they assigned, read and written? What tools of tai-e should I use or where to start to create my own analysis
Thanks a lot for your reply!
from tai-e.
In order to achieve my goal, I want to use tai-e as an analysis tool. My current question is: how should I use tai-e to obtain the memory size of all variables in a java and on which line are they assigned, read and written?
Please see Stmt.java, which provides APIs to get variables read (used)/written (defined) by each Stmt
and its line number.
What tools of tai-e should I use or where to start to create my own analysis Thanks a lot for your reply!
Please refer to How to Develop A New Analysis on Taiβe?
from tai-e.
Related Issues (20)
- Reflection analysis for Method.invoke(Object, Object[]) miss target when the second argument is generated by ArrayList.toArray(T[]) HOT 1
- RuntimeException: couldn't find class HOT 2
- When using methods such as Map.get(), if the return value is an array, the elements in the array will not be tainted. HOT 6
- question about Build IR HOT 1
- Plugin [id: 'org.gradle.kotlin.kotlin-dsl', version: '4.3.0'] was not found in any of the following sources: HOT 6
- question about icfg with ImplicitEntries
- Null pointer exception when running BenchmarkRunner on benchmark `columba-1.4` HOT 5
- Tai-e did not detect any taint flows HOT 6
- Could not resolve java.lang.invoke.StringConcatFactory when test Java9StringConcat HOT 1
- How to correctly taint "%this"? HOT 5
- Does Tai-e has any plan to support other languages? like C/C++ HOT 1
- How to handle java generics feature in taint analysis. HOT 2
- How can I tell if an element in a Map is tainted? HOT 7
- Missed in Inter-taint analysis
- How to obtain the results of CFGBuilder while writing PTA Plugin code? HOT 2
- CHA seems slower than context-insensitive pointer analysis HOT 4
- How to resolve taint propagation in type cast HOT 7
- How to config to result[*] rule for return array type in taint analysis
- How to config to result[*] rule for return array type in taint analysis HOT 9
- Have any suggestion for back taint propagation in param var HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tai-e.