Samsung / jalangi2

Dynamic analysis framework for JavaScript
Apache License 2.0
435 stars 119 forks source link

Fix:What sandbox.N(variable declaration) returns is not assigned to aret #117

Closed ric-light closed 8 years ago

ric-light commented 8 years ago

The object that analysis.declare returns doesn't assign to variable aret so that the original initial value can't be replaced.I modified it but not really sure if it's a bug because i suppose there is a possibility that the return value is needed to be ignored temporarily for some reason.

msridhar commented 8 years ago

LGTM. @ksen007 what do you think? Can we write a regression test for this?