aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract/trusty.go
Commit message (Collapse)AuthorAgeFilesLines
* sys/syz-extract: move SOURCEDIR check to callerPatrick Meyer2021-05-201-4/+0
|
* target: support of big-endian architecturesAlexander Egorenkov2020-06-231-0/+1
| | | | | | | | | | | | * Introduce the new target flag 'LittleEndian' which specifies of which endianness the target is. * Introduce the new requires flag 'littleendian' for tests to selectively enable/disable tests on either little-endian architectures or big-endian ones. * Disable KD unit test on s390x architecture because the test works only on little-endian architecture. Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
* sys/syz-extract: run mrproper for all linux archesDmitry Vyukov2020-05-091-1/+1
| | | | | | We only run for the current arch, but it's not enough to clean a build for another arch. Run mrproper for all non-clean arches.
* sys/syz-extract: extract constants from ELFDmitry Vyukov2019-12-021-1/+4
| | | | | | | | | | | | | Add a second mode that extracts constant values from ELF object, instead of running the executable. This allows to not (1) link binaries, (2) use proper cross-compiler. It finally fixes 386/arm extracts for my distro. Hopefully not makes things worse for others, should generally be safer/more reliable. The current mode is left b/c I can't test all OSes, windows binaries are not ELF, so we may need it anyway. But later we may switch more OSes to this new mode if they break (fuchsia?).
* sys/syz-extract: Add "DefineGlibcUse" flag.Marco Vanotti2019-07-161-1/+1
| | | | | | Instead of defining the __GLIBC_USE macro on every OS, we are just defining it based on a parameter. That parameter is set to false for all OSs except for fuchsia.
* sys/syz-extract: add -includedirs optionJoey Jiao2019-01-191-0/+6
| | | | | | Kernel modules are in different directories in some cases, so to include the headers in the module dir or other directories the includedirs flag is added. ex: -includedirs path1/include,path2/include
* sys: initial trusty supportDmitry Vyukov2018-11-071-0/+37
Trusty is a set of software components supporting a Trusted Execution Environment (TEE) on mobile devices. https://source.android.com/security/trusty Add syscall descriptions and some boilerplate.