Skip to content

Commit

Permalink
doc(wiki): data/filemapping
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jan 9, 2024
1 parent 19bb604 commit e6d9b3f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/data/Filemapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,20 @@ parent: Data
nav_order: 4
---

TODO
# Filemapping

Creating the instrumented version of the program will create a file named `FileMapping.txt` in the current working directory.
Each line in this file corresponds to an individual file encountered during the static analysis.
The format used to report the assigned file ids is as follows:

```
<file_id_1> <file_path_1>
<file_id_2> <file_path_3>
...
```

## Usage
In general, the `FileMapping.txt` can be used to map `file-ids`, e.g. used in the representation of identified `CUs`, to the file path of the corresponding file.

## Utilities
For a simplified use from python modules, utilities for loading a filemapping can be imported from `discopop_library/PathManagement`.

0 comments on commit e6d9b3f

Please sign in to comment.