Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
/ loadsem-tests Public archive

Collection of tests coredumps for the dynamic linker part of linksem

License

Notifications You must be signed in to change notification settings

emersion/loadsem-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loadsem-tests

Collection of tests coredumps for the dynamic linker part of linksem.

Usage

Using this repository typically involves multiple steps.

First some executables and coredumps should be generated.

All built files will be stored in a per-architecture directory (e.g. linux-x86_64/). By default the script will try to generate binaries with different compilers and linkers.

  • Build test cases: ./build.sh
  • Generate coredumps: ./gcore.sh

Coredumps can be generated manually and copied over instead of using these automated scripts.

Then, coredump files can be checked by loadsem. <arch> should be an architecture directory. [root] should be specified if checking coredumps for another architecture (checking a coredump requires having access to the filesystem it has been generated on).

LOADSEM=/path/to/loadsem ./test.sh <arch> [root] | tee results.log
# For instance:
LOADSEM=/path/to/loadsem ./test.sh "linux-x86_64" ""
LOADSEM=/path/to/loadsem ./test.sh "freebsd-amd64" "~/tmp/qemu-freebsd-amd64/hda"

Log files will be created with test results for each coredump.

License

BSD 2-Clause

About

Collection of tests coredumps for the dynamic linker part of linksem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published