|
Ran
|
Files
122
|
Run time
5s
|
Badge
README BADGES
|
push
travis-ci
Shellcode syscall templates (#871) * Add templates from generator * Add abi.stack to all ABIs * Enable shellcraft.arch.os.foobar.template * Add pwnlib.registers.current() * Add syscalls symlinks * Add syscall generator * Enable shellcraft.foo() shortcut for shellcraft.arch.os.syscalls.foo() * Make templates more verbose * Remove old templates * Add makefile * Delete old templates, make shellcraft --list work This also speeds up boot time by like 0.05 seconds * Remove unnecessary execve wrappers * Check for common arch as well * Don't explode on string arguments that are register names * Catch bad argument names * Remove accidental import * Add aarch64 ABIs since we enabled aarch64 tests * Fix mmap vs mmap2 syscall * Make shellcraft command-line work for syscalls * Remove unnecessary wrapper templates * Set all default values to zero * Add example of automatic determination of types * Add missing register architectures * Add PowerPC ABIs * More syscall examples * Handle mmap vs mmap2 * Add missing import, use full path * Just use the string name * Fix rt_sigreturn on amd64 * __NR_ --> SYS_ because of old expectations * rstrip to remove blankline * Fix Thumb doctests which uses unpredictable jump labels * Import additional syscalls by updating the function source. Support variable-argument syscalls. Support spilling to the stack. * Simplified constants.eval logic means no extra parens * Simplify vararg representation; fix oepn() argument name explicitly * Fix syscall examples * Fix reordering of arguments, since we have to support stack spill * Fix argument name in doctest * Make Codacy happy * Restore connect template accidentally removed in 9fceb12b * Scrape all architectures for syscall names * Enable void* and void** to be pushed * Make Codacy happy * Add __doc__ to sdist * Follow shellcraft template symlinks * Detect syscall shellcodes in shellcraft based on path (cherry picked from commit 94462845f)
7691 of 12963 relevant lines covered (59.33%)
0.59 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|