-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taint tracking with objects #26
Comments
I've asked José Pablo Cambronero to check that on his side and he confirmed the issue and added the examples to the phosphor-examples repository (he was using the instrumentation API though, not the automatic instrumentation). This is his latest commit. Below I quote his reply to me.
|
Yes... I am working on a patch to force tags to be propagated in this scenario. If you refer back to the end of section 4.4 and figure 4 in the paper, you should see a very brief discussion that hints at what's going on - the same sort of thing happens when you convert an int to an Integer - there is now direct data flow relationship between the input and output, but given that it is part of a standard API, you would imagine that we would just patch around it - I will get that patch in soon but am just coming back from 2 weeks of honeymoon so have been a little busy (and apologize for delays in the past few weeks) :) |
Great. Thanks Jon. |
…or all primitive wrappers, with tests, and for all 3 configuration modes
This should be tidied up now in 9c997f5. |
Hi,
I have a simple code that gets the integer and prints it.
I specify getData()I method as a source and these methods as sinks:
Phosphor throws illegal exception when I try to print received integer as it is. However, when I convert the received integer to string and print it, Phosphor does nothing. I'm using obj instrumented jre with -multiTaint flag. I instrument the code with -multiTaint flag as well.
The text was updated successfully, but these errors were encountered: