ababook / iknowthis Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rgbkrk/iknowthis
fuzz testing framework for Linux system calls
License: Other
This project forked from rgbkrk/iknowthis
fuzz testing framework for Linux system calls
License: Other
--------------------------------------- iknowthis Linux SystemCall Fuzzer ------------------------------------------------- iknowthis is a fuzz testing framework for Linux system calls. It is designed to make system calls in random order, with random parameters in order to spot subtle kernel bugs. In order to get good coverage, each system call is annotated with a prototype, and optionally a simple routine to manage any resources that may have been created (sockets, file descriptors, etc.). These resources are then handed to other system calls, in order to try and reach some pathological state of operation. Here is a trivial example of a fuzzer: // Check real user’s permissions for a file. SYSFUZZ(access, __NR_access, SYS_NONE, CLONE_DEFAULT, 0) { gchar *pathname; gint retcode; retcode = spawn_syscall_lwp(this, NULL, __NR_access, // int typelib_get_pathname(&pathname), // const char *pathname typelib_get_integer_mask(R_OK | W_OK | X_OK | F_OK)); // int mode g_free(pathname); return retcode; } Typelib is a set of routines to manage common kernel parameters. spawn_syscall_lwp() is a syscall invokation routine that tries to isolate our main process from any damage by executing it in a new lwp. If you're certain that a system call can never timeout or damage us, then you can use a faster alternative. I've used glib for common data structures, so copied their naming convention where appropriate. * Making a fuzzer * Using and improving typelib * Debugging I usually run iknowthis in a virtual machine, for easier debugging, you can try something like this: $ while true; do (sleep 1h ; sudo killall -9 iknowthis) & sudo ./iknowthis --dangerous; kill %1; done
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.