148 Commits

Author SHA1 Message Date
Theodore Dubois
afd119ba1a Fix permissions on /
Not having / be readable or executable by group and other caused quite a
few problems, as you can imagine. In particular, autoconf complained
that it couldn't find a sufficiently modern shell.
2020-01-18 19:49:04 -08:00
Theodore Dubois
635a8437f8 Add a bunch of half-assed permission checks 2019-07-28 21:04:38 -07:00
Theodore Dubois
cf53aa5e6b Fix ptraceomatic xmm register checking 2019-07-14 19:24:06 -07:00
Theodore Dubois
7b9371e1af Implement receiving of signals with siginfo 2019-07-04 12:51:36 -07:00
Theodore Dubois
29744d30d2 Fix some compiler warnings 2019-05-12 09:16:05 -07:00
Theodore Dubois
b696f9f1da Update fakefsify for the modern age 2019-05-11 17:34:13 -07:00
Theodore Dubois
b8350fa9de Fix staticdefine.sh when it's in a directory with spaces 2019-03-31 21:11:59 -07:00
Theodore Dubois
7c66fd8328 Fix ptraceomatic with the new name for io_vec 2019-03-09 15:38:42 -08:00
Theodore Dubois
d91c26a2e4 Deduplicate iovec structs 2019-03-09 15:31:53 -08:00
Theodore Dubois
50033427a6 Get sqlite to check for missing stats 2019-02-08 13:44:09 -08:00
Theodore Dubois
c3217ca7d1 Revolutionize E2BIG 2019-02-07 23:42:30 -08:00
Theodore Dubois
dc8b4b4aef Autoincrement fake inodes, remove relationship with real inodes 2019-01-26 22:02:08 -08:00
Theodore Dubois
ca03312716 Undefined flags for bsr 2019-01-15 18:24:31 -08:00
Theodore Dubois
a3ec0a0e4e Support floating point in unicornomatic 2019-01-15 18:22:03 -08:00
Theodore Dubois
6a8734dd97 Add sched_getpriority to ptraceomatic 2019-01-12 12:47:22 -08:00
Theodore Dubois
89d5b7f69a Resolve -Wsign-compare 2019-01-05 18:11:16 -08:00
Theodore Dubois
032a218a63 Mark unused function arguments 2019-01-05 17:18:54 -08:00
Theodore Dubois
b04f6f1b3b Remove some unnecessary function arguments 2019-01-05 17:18:54 -08:00
Theodore Dubois
de5dd408a3 Make ptraceomatic retry failed instructions forever 2019-01-04 15:17:37 -08:00
Theodore Dubois
5cfec48854 Separate out some components of struct mem into struct mm 2019-01-04 15:17:37 -08:00
Theodore Dubois
55d6fcfb64 Improve ptraceomatic 2019-01-03 21:15:52 -08:00
Theodore Dubois
5cad6cf2b9 Handle renameat in ptraceomatic 2019-01-01 17:10:48 -08:00
Theodore Dubois
6bc44c5b3c Add /dev/tty in fakefsify 2018-12-07 15:47:24 -08:00
Theodore Dubois
f869a57498 Switch to SQLite for file metadata database 2018-11-30 09:13:57 -08:00
Theodore Dubois
d0c868f83e Fix unicornomatic to use new pagetable access functions 2018-11-22 12:51:11 -08:00
Theodore Dubois
a6fc5bd1ea Use radix tree for pagetables, dramatically reducing memory usage 2018-11-21 19:31:51 -08:00
Theodore Dubois
6065203154 Fix tautological out of range compare 2018-11-21 13:30:16 -08:00
Theodore Dubois
c7bf12a5f0 Handle undefined flags for more versions of mul/imul 2018-11-19 16:33:13 -08:00
Theodore Dubois
05ab35f8fe Use printk for dumping flags in unicornomatic 2018-11-19 12:52:53 -08:00
Theodore Dubois
8bdd279c30 Handle cpuid and rdtsc in unicornomatic 2018-11-18 17:39:26 -08:00
Theodore Dubois
9a8520261e Fix call to tlb_new in unicornomatic 2018-11-18 14:16:24 -08:00
Zhuowei Zhang
a52f3fe6f2 fakefsify: handle hard links
Some distributions such as Ubuntu contains hard links in the tar
file. Hard links share the same inode as a previously seen file.
2018-11-17 15:18:13 -08:00
Theodore Dubois
fa6fe66af7 Stack allocate TLBs 2018-11-16 16:31:13 -08:00
Theodore Dubois
81566a1ea9 Fix compilation errors on Linux 2018-11-14 18:51:35 -08:00
Theodore Dubois
884947a32a Log into a circular buffer 2018-11-14 17:13:37 -08:00
Theodore Dubois
cf7dd8a8b5 Unbreak fakefs usage message 2018-11-14 11:36:25 -08:00
Fabian Baumanis
53d8402a05 Add usage information instead of backtrace 2018-11-14 08:56:52 +01:00
Theodore Dubois
c4fa9ea5ff Use the new name of struct tms_ in ptraceomatic 2018-11-13 12:27:45 -08:00
Theodore Dubois
4269401854 Handle prlimit in ptraceomatic 2018-11-11 02:07:08 +00:00
Theodore Dubois
b47423af74 Fix a variety of floating point math bugs 2018-11-07 14:02:38 -08:00
Theodore Dubois
ebcd6aefea Support getrandom in ptraceomatic 2018-11-04 19:35:17 -08:00
Theodore Dubois
e982b7d2a6 Undefined flags for both shrd and shld 2018-11-04 19:34:37 -08:00
Theodore Dubois
a6236c7545 Fix build for x86 darwin 2018-10-08 17:18:19 -07:00
Theodore Dubois
4a8efe8d01 Make various memory management things shared between threads 2018-10-07 13:02:15 -07:00
Theodore Dubois
dad860852e Null terminate the db inode key in fakefsify 2018-09-26 09:24:24 -07:00
Theodore Dubois
78b588b1c6 Allow infinitely retrying a unicornomatic failure 2018-09-16 08:50:17 -07:00
Theodore Dubois
7c22fec4c0 Attempt to grow the stack in unicornomatic 2018-09-11 09:43:12 -07:00
Theodore Dubois
738fb78530 Add support for a whole bunch of system calls to unicornomatic 2018-09-10 15:50:25 -07:00
Theodore Dubois
54a4d987e4 Add handlers in unicornomatic for ioctl and setitimer 2018-09-02 17:14:43 +00:00
Theodore Dubois
7f2373c823 Step unicorn over an entire string instruction 2018-09-01 23:48:19 +00:00