Skip to main content

Differential analysis of DFXML idifference2.py output

Project description

Description

Differential analysis of DFXML idifference2.py output.

Installation

pip install evidence

Usage

From command line:

python -m evidence --path PATH [--output OUTPUT] [--occurence OCCURENCE]

Option Short Type Default Description
--path -p String - Path to idifference output dir
--output -o String output Path to result dir
--occurence -c Int 2 The number of occurences in *.me to be used in ce processing
--noise -n String noise name of noise file

Example

Given the following files, where the first placeholer describes the action and the secon placeholder describes the number of execution.

IMPORTANT: noise.1.idiff needs to exsist. It contains only information with no action applied. It is possible to provide a custom name for the noise file.

ge/
    *.*.idiff
    noise.1.idiff

Important: the first placeholder is used as an identifier and must be the same for each following execution. Example:

ge/
    a.1.idiff
    a.2.idiff
    a.3.idiff
    noise.1.idiff

python -m evidence -p path/to/idifference2result

################################################################################

evidence by 5f0
Differential analysis of DFXML idifference2.py output

Current working directory: path/to/evidence

Datetime: 01/01/1970 10:20:30

################################################################################

--> Creating folder structure
    --> path/to/evidence/output

--> Prepare Evidence
    --> Write File: path/to/evidence/output/pe/a.1.pe
    --> Write File: path/to/evidence/output/pe/a.2.pe
    --> Write File: path/to/evidence/output/pe/a.3.pe
    --> Write File: path/to/evidence/output/pe/b.1.pe
    --> Write File: path/to/evidence/output/pe/b.2.pe
    --> Write File: path/to/evidence/output/pe/b.3.pe
    --> Write File: path/to/evidence/output/pe/c.1.pe
    --> Write File: path/to/evidence/output/pe/c.2.pe
    --> Write File: path/to/evidence/output/pe/c.3.pe
    --> Write File: path/to/evidence/output/pe/noise.1.pe

--> Merge Evidence
    --> Write File: path/to/evidence/output/me/a.me
    --> Write File: path/to/evidence/output/me/b.me
    --> Write File: path/to/evidence/output/me/c.me
    --> Write File: path/to/evidence/output/me/noise.me

--> Characterize Evidence
    --> Calculate Characteristic Evidence for a
        --> Action for Evidence Sum: b
        --> Action for Evidence Sum: c
        --> Action for Evidence Sum: noise
        --> Write File: path/to/evidence/output/ce/a.ce
    --> Calculate Characteristic Evidence for b
        --> Action for Evidence Sum: a
        --> Action for Evidence Sum: c
        --> Action for Evidence Sum: noise
        --> Write File: path/to/evidence/output/ce/b.ce
    --> Calculate Characteristic Evidence for c
        --> Action for Evidence Sum: a
        --> Action for Evidence Sum: b
        --> Action for Evidence Sum: noise
        --> Write File: path/to/evidence/output/ce/c.ce

################################################################################

Execution Time: 2.519259 sec

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evidence-2.2.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

evidence-2.2.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file evidence-2.2.0.tar.gz.

File metadata

  • Download URL: evidence-2.2.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for evidence-2.2.0.tar.gz
Algorithm Hash digest
SHA256 ea9df1f93ed5f405cd12cdfc9a3da45b1e5e2df4214a53914533347cb2e90dc2
MD5 58529ff334be1031f07ebf2d4ea4dde7
BLAKE2b-256 098c117a91bd71cb1ba000bd00259ccd975eb93c23588978a3111cd0ef49b65c

See more details on using hashes here.

File details

Details for the file evidence-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: evidence-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for evidence-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a25dfd714ed626aa38ef414c05551ec6bd354fb68bdda986cded09472e40cf56
MD5 cb2431390b54753c3866fef8cd4db41a
BLAKE2b-256 3b64dda419af780d4a157c2a976aa4ad65818d229c9a93cf562cedbcd4588777

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page