Skip to content

Lacuna-JDCE/JDCE_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Dead Code Elimination tools

This repository contains several JavaScript dead code elimination tools:

  • basic: Dynamic Node.js script that removes dead code by marking all functions, loading the web application and removing uncalled functions.
  • static: Node.js script that uses static analysis to generates a call graph to remove uncalled functions.
  • dynamic: Updated and more stable version of the basic script.
  • hybrid: Dead code elimination tool that combines static and dynamic approaches, and allows for custom heuristics.