From 96742356cf6ef09fcefdaaff4bccfcd6c39d4615 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 4 Mar 2024 13:50:57 +0100 Subject: [PATCH 1/3] docs: fix dvkm deploy tag --- docs/source/tutorials/linux/dvkm/workflow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorials/linux/dvkm/workflow.md b/docs/source/tutorials/linux/dvkm/workflow.md index 7fd46b9d..13caf76a 100644 --- a/docs/source/tutorials/linux/dvkm/workflow.md +++ b/docs/source/tutorials/linux/dvkm/workflow.md @@ -213,7 +213,7 @@ To set up the required dependencies, navigate to the kAFL directory and execute ```shell $ cd kAFL -(venv) $ make deploy -- --tags examples,examples-dvkm +(venv) $ make deploy -- --tags examples,examples-linux-dvkm ``` Now, switch to the `📂 linux-user/dvkm` directory to compile the target and its dependencies: From 1b35245dd2949ddbd12963105beb6b4371b14a27 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 4 Mar 2024 13:51:09 +0100 Subject: [PATCH 2/3] deploy: fix cloning dvkm submodules --- deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml b/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml index a1805a1e..b108868a 100644 --- a/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml +++ b/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml @@ -5,11 +5,11 @@ become: true - name: Clone required submodules + # noqa: command-instead-of-module ansible.builtin.command: >- - "git submodule update --init --depth 200 + git submodule update --init --depth 200 --jobs {{ ansible_processor_nproc }} {{ dvkm_sub_path }} - {{ linux_agent_sub_path }}" - # noqa: command-instead-of-module + {{ linux_agent_sub_path }} args: chdir: "{{ examples_root }}" From c650360edcccfefd8b73552f721a02944871d5bf Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 4 Mar 2024 14:04:27 +0100 Subject: [PATCH 3/3] deploy: fix dvkm build deps --- deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml b/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml index b108868a..f3586883 100644 --- a/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml +++ b/deploy/intellabs/kafl/roles/examples/tasks/dvkm.yml @@ -1,7 +1,12 @@ - name: Install required packages ansible.builtin.apt: # required for lddtree - name: pax-utils + name: + - pax-utils + - flex + - bison + - libelf-dev + - libssl-dev become: true - name: Clone required submodules