jalangi2
jalangi2 copied to clipboard
find dead writes during the execution of JavaScript programs?
how to find dead writes during the execution of JavaScript programs?any example ?
You could base an analysis off of MemInsight. You'd have to log all the uses of objects rather than just their last use. Then, given the trace, you could find writes for which there was another write before any read. It'd be a bit of work (particularly since MemInsight hasn't been touched in a while) but I think it'd be doable.