I have seen this mentioned a few times but no answers as yet<br><br>Has anyone written any code that takes an application and strips the otp libraries to the absolute minimum amount of modules* needed to run that application? I am assuming it cant be entirely automated by dialyzer (evalled / runtime generated calls etc) but it should get fairly close right?<br>
<br>If noone has already done this then I guess any pointers for how to implement it would be cool, I figured I would just need generate a plt with otp + myapp + deps, find my applications entry point in the plt and traverse the callgraph marking modules off one at a time, that easy?<br>
<br>Cheers<br>Dale Harvey<br><br>* I do mean modules and not just libraries<br>