Skip to content

fasten-project/c-integrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

c-integrate

In this repository you can find the implementation of a script that integrates stitched and dynamic C-Debian call graphs.

Usage

usage: Integrate FASTEN static and dynamic call graphs [-h] stitched [dynamic ...] output

positional arguments:
  stitched
  dynamic
  output

optional arguments:
  -h, --help  show this help message and exit

Install

  • Unix
cp c-integrate /usr/local/bin

Example

./c-integrate zlib1g-dev.json test-data/minigzip.json test-data/minigzipsh.json out.json

Output Format

{
    "edges": [
        [0, 1, {"static": True, "dynamic": True}]
        [0, 2, {"static": False, "dynamic": True}]
    ],
    "nodes": {
        "0": {
            "URI": "fasten://example$0.1-1/hello;C/main()",
            "metadata": {}
        },
        "1": {
            "URI": "fasten://example$0.1-1/hello;C/local()",
            "metadata": {}
        },
        "2": {
            "URI": "fasten://depshared$0.1-1/libdepsharedb.so;C/dep_shared_fun_b()",
            "metadata": {}
        }
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages