Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: corpus of test kernels #2

Closed
fabianfreyer opened this issue Feb 15, 2018 · 1 comment
Closed

tests: corpus of test kernels #2

fabianfreyer opened this issue Feb 15, 2018 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed tests

Comments

@fabianfreyer
Copy link
Contributor

We need a corpus of test kernels to test with. There's a few options we could go with here:

Non-functional kernels:

  • ELF: Build a simple ELF stub and add a multiboot / multiboot2 header programmatically
  • a.out kludge: Use random data with a multiboot / multiboot2 header containing address data

Functional test kernels:

  • ELF without a.out kludge: test kernels in grub2. These can be found in grub-core/tests/boot/kernel-${ARCH}.S, and can be built using make multiboot.elf and make multiboot2.elf, respectively. These are licensed under the GPL though, not sure if they can simply be incorporated.
  • ELF with a.out kludge: Test kernels built with rumprun.
  • test kernel without a.out kludge: write one
@fabianfreyer fabianfreyer added help wanted Extra attention is needed good first issue Good for newcomers tests labels Feb 15, 2018
@fabianfreyer
Copy link
Contributor Author

the qemu test kernel is MIT-Licensed.

fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit that referenced this issue Feb 18, 2018
fabianfreyer added a commit to fabianfreyer/bhyve-multiboot that referenced this issue Feb 18, 2018
fabianfreyer added a commit to fabianfreyer/bhyve-multiboot that referenced this issue Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed tests
Projects
None yet
Development

No branches or pull requests

1 participant