Skip to content

Through static analysis, this project traces variable and function reference in Javascript.

Notifications You must be signed in to change notification settings

jzy2000/define-use-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Definition-Use analysis for Javascript variable

Based on (Tern project)[https://github.com/ternjs/tern], this prototype analyzes the AST tree, performs heuristic search for define-use of any given Javascript variable, replaces with new name and output beautified results.

User supplied source code can be either completed package, or code snippet.

Such static analysis technique is useful to generically and programatically rewrite 3rd party scripts in order to change the behavior, for data flow analysis for security research, and use as Lint to refactor code in IDE.

About

Through static analysis, this project traces variable and function reference in Javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published