Comments (4)
There is a similar problem when analyzing the following method:
<com.fasterxml.jackson.core.io.ContentReference: com.fasterxml.jackson.core.io.ContentReference 'unknown'()>
from soot.
This happens when the method name is a reserved name in Jimple:
soot/src/main/java/soot/Scene.java
Line 1535 in 8698b75
Otherwise we would have a problem when you write out Jimple files and try to read them back in. See the quotedNameOf
method.
from soot.
look here, same problem: #1697
from soot.
@MarcMil Thanks for your kind reply. Yes, I know Soot has the reserved names. However, the method quotedNameOf
cannot work well when I used it.
For the following two used method signatures:
1st signature
<com.fasterxml.jackson.databind.introspect.CollectorBase: com.fasterxml.jackson.databind.introspect.AnnotationCollector collectDefaultAnnotations(com.fasterxml.jackson.databind.introspect.AnnotationCollector,java.lang.annotation.Annotation[])
2nd signature
<com.fasterxml.jackson.core.util.JacksonFeatureSet: com.fasterxml.jackson.core.util.JacksonFeatureSet with(com.fasterxml.jackson.core.util.JacksonFeature)>
The first signature can be converted to (annotation -> 'annotation'), but we cannot get the quoted version (with -> 'with') of the second signuatre when invoke Scene.v().quotedNameOf()
.
Soot may only use dot to seperate the given name, however, we often use method signature to get a resovled SootMethod
. I think the method quotedNameOf
should be improved.
And, another problem is, not all reserved names will be changed to quoted version, e.g., void
.
from soot.
Related Issues (20)
- Worker thread execution failed: Failed to apply jb to <com.google.firebase.snippets.FirebaseAuthSnippets: javax.ws.rs.core.Response clearSessionCookieAndRevoke(javax.ws.rs.core.Cookie)>
- Worker thread execution failed: Failed to apply jb to <com.google.firebase.snippets.FirebaseAuthSnippets: javax.ws.rs.core.Response clearSessionCookieAndRevoke(javax.ws.rs.core.Cookie)> HOT 3
- A question about how to apply context sensitive points-to analysis in Soot HOT 7
- Missing Unit in unit-to-owner Mapping
- Soot generates redundant statements HOT 1
- Nondeterministic call graph - same method is associated with different identifiers in different runs. HOT 2
- Non-deterministic results - certain groups of nodes always missing HOT 4
- VisibilityParameterAnnotationTag not picking up Elements correctly
- I want know upgrade release note HOT 2
- Soot reports a false positive edge in call graph
- A self loop edge bug
- Soot call graph did not fully parse the call chain HOT 1
- How to retain "LocalVariableTable" and "MethodParameters" attributes in .class after instrumentation?
- An inconsistent behavior in Soot analysis
- Broken link to SootUp HOT 1
- Outdated snapshot version HOT 1
- Can soot still be used now? Do I need to use sootup? HOT 1
- java.lang.NullPointerException when ... HOT 1
- Incorrect topological sorting leads to incorrect SCC computation in Spark HOT 1
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 soot.