From: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Doug Goldstein <cardoe@cardoe.com>
Subject: Re: [RFC PATCH v3 2/2] ci: enable fuzzing for arm64
Date: Mon, 12 May 2025 19:10:07 +0000 [thread overview]
Message-ID: <87plgdd4s1.fsf@epam.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2505091445030.3879245@ubuntu-linux-20-04-desktop> (Stefano Stabellini's message of "Fri, 9 May 2025 14:52:10 -0700 (PDT)")
Hi Stefano,
Stefano Stabellini <sstabellini@kernel.org> writes:
> On Wed, 7 May 2025, Volodymyr Babchuk wrote:
>> alpine-3.18-gcc-debug-arm64:
>> + extends: .gcc-arm64-build-debug
>> + variables:
>> + CONTAINER: alpine:3.18-arm64v8
>> + EXTRA_XEN_CONFIG: |
>> + CONFIG_UBSAN=y
>> + CONFIG_UBSAN_FATAL=
>
> The diff is strange and I might be wrong, but it looks like this should
> be CONFIG_UBSAN_FATAL=y
Yes, looks like a mistake from my side.
>
>> +alpine-3.18-gcc-fuzzing-arm64:
>> extends: .gcc-arm64-build-debug
>> variables:
>> CONTAINER: alpine:3.18-arm64v8
>> EXTRA_XEN_CONFIG: |
>> CONFIG_UBSAN=y
>> CONFIG_UBSAN_FATAL=y
>> + CONFIG_FUZZING=y
>> + CONFIG_FUZZER_LIBAFL_QEMU=y
>> + CONFIG_FUZZER_PASS_BLOCKING=y
>>
>> alpine-3.18-gcc-arm64-randconfig:
>> extends: .gcc-arm64-build
>> diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
>> index a603d4039a..bb8670026f 100644
>> --- a/automation/gitlab-ci/test.yaml
>> +++ b/automation/gitlab-ci/test.yaml
>> @@ -197,6 +197,30 @@
>> tags:
>> - qubes-hw11
>>
>> +.fuzzer-arm:
>> + stage: test
>> + image: xentroops/xen-fuzzer:v1
>> + variables:
>> + HARNESS: hypercall
>> + FUZZING_TIME: 600
>> + rules:
>> + - if: $SELECTED_JOBS_ONLY && $CI_JOB_NAME =~ $SELECTED_JOBS_ONLY
>> + - if: $SELECTED_JOBS_ONLY
>> + when: never
>> + - when: on_success
>> + script:
>> + - cd /root/
>> + - ./xen_fuzzer -t ${FUZZING_TIME} run ${CI_PROJECT_DIR}/binaries/xen test-mmu64le-arm-${HARNESS}-fuzzer 2>&1 | tee ${CI_PROJECT_DIR}/fuzzer-${HARNESS}.log
>
> Can you run it from outside the directory, like this?
>
> /root/xen_fuzzer -t ...
>
Well, right now it is looking for some QEMU files, like firmware image,
relatively to ${CWD}. It is possible to provide the full QEMU
command line along with -L option and then we will be able to run
it from anywhere, but, IMO, it is easier to just change directory.
>> + after_script:
>> + - cd ${CI_PROJECT_DIR}
>> + - mv /root/crashes .
>
> Also here you could probably do:
>
> mv /root/crashes ${CI_PROJECT_DIR}
>
Yes, agree.
--
WBR, Volodymyr
next prev parent reply other threads:[~2025-05-12 19:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 9:53 [RFC PATCH v3 0/2] xen: add libalf fuzzing support Volodymyr Babchuk
2025-05-07 9:53 ` [RFC PATCH v3 2/2] ci: enable fuzzing for arm64 Volodymyr Babchuk
2025-05-09 21:52 ` Stefano Stabellini
2025-05-12 19:10 ` Volodymyr Babchuk [this message]
2025-05-12 19:50 ` Stefano Stabellini
2025-05-07 9:53 ` [RFC PATCH v3 1/2] xen: add libafl-qemu fuzzer support Volodymyr Babchuk
2025-05-09 22:52 ` Stefano Stabellini
2025-05-12 13:11 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plgdd4s1.fsf@epam.com \
--to=volodymyr_babchuk@epam.com \
--cc=cardoe@cardoe.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.