cpf icon indicating copy to clipboard operation
cpf copied to clipboard

Profiler Improvement

Open vgene opened this issue 5 years ago • 3 comments

Fix bugs and improve speed of profilers

Profilers

  • EdgeProf
  • LoopProf
  • LAMP
  • SpecPriv

Pending on #3 results

vgene avatar Jul 07 '20 15:07 vgene

Based on discussion with Simone, the wrapper around malloc can be replaced with pre and post hook of malloc call. (currently done by pattern matching - function replacement) Note no allocation is allowed in the hook, will lead to infinite loop.

vgene avatar Aug 05 '20 04:08 vgene

SpecPriv will need to recognize all D0Ev destructors, since they can actually DELETE the object.

vgene avatar Sep 23 '20 02:09 vgene

SpecPriv Modifications

  • [ ] available_externally linkage type of functions, don't go in but rather recognize as external function
  • [ ] recognize allocation using LLVM memory builtins
  • [ ] recognize special external functions (e.g., D0Ev deleting destructor)

vgene avatar Oct 01 '20 13:10 vgene