Support for musl library #483
Here is the repository for the musl libc: https://github.com/MartinNowack/klee-musl
By the way, test suite should pass if musl is selected as default library (See code comment).
@ccadar : I believe it's very close, much closer than I managed to get it on my own!
This includes changes to configuration files in KLEE. I believe it's better to have them and not pretend Musl is KLEE-uClibc with a different location on the file system.
That being said, with a manual tweak or two after compiling this, I am able to run KLEE on the hostname utility. I wanted to confirm I can get rid of an earlier false bug due to a missing function implementation in KLEE-uClibc:
$ ~/research/klee-mnowack-support-for-musl/Release+Asserts/bin/klee -libc=musllibc -posix-runtime hostname -A
KLEE: done: total instructions = 316958
Therefore, I can get this running. I guess the particular error reported by KLEE is to say we'd need to do more massaging of KLEE-Musl by @MartinNowack.
@mdimjasevic I know, the configuration are still missing. But it is trivial to add. This patch is just a WIP.