Granary / granary2

Dynamic binary translation framework for instrumenting x86-64 user space Linux programs
MIT License
39 stars 5 forks source link

Replace a bunch of uses of ListHead with some sort of template, e.g. List<T> #39

Closed pgoodman closed 10 years ago

pgoodman commented 10 years ago

I used ListHead early on to avoid code duplication, but in hindsight I think this was a poor decision. I think a simple List or ListHead template should be provided, where all methods are inline and there is no messy pointer arithmetic.

pgoodman commented 10 years ago

This will be resolved in the next major commit to the poly_code branch.