[Soot-list] FlowDroid: patching of class Thread
Denis Bogdanas
denis.bogdanas at gmail.com
Sun Mar 27 17:58:28 EDT 2016
Hi Steven,
In LibraryCalssPatcher.patchThreadImplementation() you have the following
code:
SootClass sc = Scene.v().getSootClassUnsafe("java.lang.Thread");
...
while ((fldTarget = sc.getFieldByNameUnsafe("target" + fieldIdx)) != null)
fieldIdx++;
fldTarget = new SootField("target" + fieldIdx, runnable.getType());
Here you create a field with name "thread+<some number>" inside Thread. Why
don't you name it simply "thread", as it is in JDK?
thanks,
--
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160327/7786ffef/attachment.html
More information about the Soot-list
mailing list