Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions tree/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Tree

The tree tool that can be used with bincompat mode of Unikraft.

## Content:

- `lib/` & `lib64/`: required libraries
- `usr/bin/tree`: main binary

## Extracting Dynamic Libraries

We will use the extract script.

```console
../extract.sh usr/bin/tree
```

```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```text

Copying /lib/x86_64-linux-gnu/libc.so.6 ...
Copying /lib64/ld-linux-x86-64.so.2 ...
```

## Running on Linux

```console
tree
```

## Running on Unikraft

```console
./run.sh -r ../dynamic-apps/tree /usr/bin/tree
```

Output:

```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```text

.
|-- README.md
|-- lib
| `-- x86_64-linux-gnu
| `-- libc.so.6
|-- lib64
| `-- ld-linux-x86-64.so.2
`-- usr
`-- bin
`-- tree
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra white line at the end.

Binary file added tree/lib/x86_64-linux-gnu/libc.so.6
Binary file not shown.
Binary file added tree/lib64/ld-linux-x86-64.so.2
Binary file not shown.
Binary file added tree/usr/bin/tree
Binary file not shown.