Le 21/02/2013 21:52, Frank Shearar a écrit :
On 21 February 2013 19:52, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi All,
anyone have any bytecode-to-bytecode transformation tools for doing basic-block resolution coverage?
Is it possible that Jejak [1] might vaguely fit this bill? It's a tracing tool, but maybe one could hack something on the side to turn it into a coverage tool?
Yes, it could, but remember that it works at the source code level and that as a consequence you need to plan a bit your probes so that they match the expected bytecode generation (i.e. beware of optimisations). On the plus side, it's totally compiler-independent.
Certainly I've wanted a fine resolution (branch/block level) coverage tool for a long time.
That can be done in a short time... Thierry
frank
[1] http://lists.gforge.inria.fr/pipermail/pharo-project/2012-July/067679.html
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95