Identity-sensitive Points-to Analysis for the Dynamic Behavior of JavaScript Objects

dc.contributor.authorWei, Shiyien
dc.contributor.authorRyder, Barbara G.en
dc.contributor.departmentComputer Scienceen
dc.date.accessioned2013-12-13T17:00:30Zen
dc.date.available2013-12-13T17:00:30Zen
dc.date.issued2013-12-13en
dc.description.abstractJavaScript object behavior is dynamic and adheres to prototype-based inheritance. The behavior of a JavaScript object can be changed by adding and removing properties at runtime. Points-to analysis calculates the set of values a reference property or variable may have during execution. We present a novel, partially flow-sensitive, context-sensitive points-to algorithm that accurately models dynamic changes in object behavior. The algorithm represents objects by their creation sites and local property names; it tracks property updates via a new control-flow graph representation. The calling context is comprised of the receiver object, its local properties and prototype chain. We compare the new points-to algorithm with an existing JavaScript points-to algorithm in terms of their respective performance and accuracy on a client application. The experimental results on real JavaScript websites show that the new points-to analysis significantly improves precision, uniquely resolving on average 11% more property lookup statements.en
dc.identifier.trnumberTR-13-05en
dc.identifier.urihttp://hdl.handle.net/10919/24538en
dc.language.isoenen
dc.publisherDepartment of Computer Science, Virginia Polytechnic Institute & State Universityen
dc.relation.ispartofComputer Science Technical Reportsen
dc.rightsIn Copyrighten
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.subjectJavascripten
dc.subjectProgram analysisen
dc.subjectPoints-to analysisen
dc.subjectComputer scienceen
dc.subjectSoftware engineeringen
dc.titleIdentity-sensitive Points-to Analysis for the Dynamic Behavior of JavaScript Objectsen
dc.typeTechnical reporten
dc.type.dcmitypeTexten

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
identity-lncs.pdf
Size:
1.03 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
Name:
license.txt
Size:
1.5 KB
Format:
Item-specific license agreed upon to submission
Description: