Commit 1cab8d07 authored by amadionix's avatar amadionix
Browse files

minor changes: way paths are written and moving here freud-statistics-api file

parent abb01f02
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<output-test url="file://$MODULE_DIR$/target/test-classes" /> <output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
......
// METHOD NAME
name_len: uint32_t
fname: sizeof(char) * name_len
// FEATURE NAMES
feature_names_count: uint32_t
vnlen: uint16_t
vname: sizeof(char) * vnlen
// TYPE NAMES
type_names_count: uint32_t
vnlen: uint16_t
tname: sizeof(char) * vnlen
// SAMPLES
samples_count: uint32_t
uid_r: uint32_t
time: uint64_t
mem: uint64_t
lock_holding_time: uint64_t
waiting_time: uint64_t
minor_page_faults: uint64_t
major_page_faults: uint64_t
// FEATURES
num_of_features: uint32_t
name_offset: uint64_t
type_offset: uint64_t
value: int64_t
// BRANCHES
num_of_branches: uint32_t
branch_id: uint16_t
num_of_executions: uint32_t
taken: bool
// CHILDREN
num_of_children: uint32_t
c_id: uint32_t
#!/bin/bash
java -jar soot-4.1.0-jar-with-dependencies.jar -soot-class-path target/classes:target/test-classes:/usr/lib/jvm/<path-to-rt.jar> -output-format jimple -output-dir jimple-folder <instrumented-class-to-jimplify>
...@@ -7,7 +7,7 @@ import static org.junit.Assert.assertEquals; ...@@ -7,7 +7,7 @@ import static org.junit.Assert.assertEquals;
public class TestClassToSerialize implements Serializable { public class TestClassToSerialize implements Serializable {
String instrumentationDir = "/home/nicolaamadio/Documents/tesi/freud-java-instrumentation/"; String instrumentationDir = System.getProperty("user.dir") + "/../freud-java-instrumentation/";
// FILE NAME // FILE NAME
private int symbolNameLen; private int symbolNameLen;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment