Skip to content
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

Mark instrumented functions #20

Open
Invizory opened this issue Feb 10, 2017 · 0 comments
Open

Mark instrumented functions #20

Invizory opened this issue Feb 10, 2017 · 0 comments
Milestone

Comments

@Invizory
Copy link
Owner

Invizory commented Feb 10, 2017

We should mark transformed functions in some way to properly identify instrumented functions at runtime, for example, via Reflection.isInstrumented(function).

This feature will be useful when deciding if value should remain tainted when have passed as an argument to some function or not.

Also, there is a bug in the current stub for isInstrumented:

import {reflection} from "taintflow-runtime";

function foo() { }
reflection.isInstrumented(foo); // => true, ok
reflection.isInstrumented(foo.bind(this)); // => false, ???
@Invizory Invizory mentioned this issue Feb 10, 2017
3 tasks
@Invizory Invizory added this to the 0.1 milestone Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant