modec
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| modec [2011/12/05 15:25] – created medini | modec [2025/01/15 21:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | MoDeC: an instrumentor, | + | ====== MODEC ====== |
| - | execution traces of Java programs. | + | |
| + | MoDeC is an instrumentor, | ||
| - | MoDeC Architecture/ | ||
| - | -------------------------------------------- | ||
| - | Projects: | + | ===== Required |
| - | - "MoDeC Bytecode Instrumentation" | + | To instrument |
| - | Instrumentation Tests" | + | |
| - | bytecodes of the Java programs | + | |
| - | execution traces | + | |
| - | - "MoDeC Invoker" | + | - '' |
| - | Java program | + | |
| - | Java program. | + | |
| - | - "MoDeC Metamodel" | + | - '' |
| - | produced by the "MoDeC Bytecode Instrumentation" | + | |
| - | parser | + | |
| - | given execution trace. | + | |
| - | - "MoDeC Solver" | + | - '' |
| - | problems | + | |
| - | design motifs in models of execution traces. | + | |
| + | - '' | ||
| + | ===== MoDeC Usage ===== | ||
| - | MoDeC Basic Uses | + | Here are the three main steps to gather execution traces of some target Java program and identify occurrences of behavioural and creational design motifs in their MoDeC models. |
| - | ---------------- | + | |
| - | Steps to gather | + | * Instrument the bytecode of the target Java program, using '' |
| + | * The path to the bytecodes of the classes of the target Java program; | ||
| + | * The path to the folder where to store the instrumented bytecodes; | ||
| + | * The path to the libraries required by the target program (if any); | ||
| + | * The name of the file of the execution traces; | ||
| + | * The fully qualified name of the " | ||
| + | * A list of paths to the Java class files to instrument, relative to the first path above. | ||
| - | (1) Instrument the bytecode of the target program, using | + | * See for a complete example |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | - The path to the byecode classes of the target program. | + | |
| - | - The path to the folder where to store the instrumented bytecodes. | + | |
| - | - The path to the libraries required by the target program (if any). | + | |
| - | - The name of the file of the execution traces. | + | |
| - | - The fully qualified name of the " | + | |
| - | - A list of paths to the Java class files to instrument, relative to the first path above. | + | |
| - | See for a complete example | + | |
| - | Tests/Input Files/ | + | |
| - | The list of paths to the Java class files to instrument can be | + | * Execute the instrumented target program, using '' |
| - | generated using | + | |
| - | " | + | |
| - | + | ||
| - | (2) Execute the instrumented target program, using | + | |
| - | "modec.tool.Invoker.invokeMainClass(String)", see examples in | + | |
| - | "modec.tool.Invoker.main(String[])". Running the " | + | |
| - | launch the instrumented target program and open a new window. The | + | |
| - | new window shows only one button and a text field, used to insert | + | |
| - | marks (also called tags) at any user-chosen appropriate moment in | + | |
| - | the collected execution traces, for example before and after | + | |
| - | executing some particular feature. | + | |
modec.1323098752.txt.gz · Last modified: (external edit)
