cosmopolitan/libc/intrin
Justine Tunney 3f3cb0650b
Have execve() escape double quotes in cmd.exe's preferred style
This makes it possible for us to use system() and popen() with paths
that redirect to filenames that contain spaces, e.g.

    system("echo.com hello >\"hello there.txt\"")

It's difficult to solve this problem, because WIN32 only allows passing
one single argument when launching programs and each program is allowed
to tokenize that however it wants. Most software follows the convention
of cmd.exe which is poorly documented and positively byzantine.

In the future we're going to solve this by not using cmd.exe at all and
instead embedding the cocmd.com interpreter into the system() function.
In the meantime, our documentation has been updated to help recalibrate
any expectation the user might hold regarding the security of using the
Windows command interpreter.

Fixes #644
2022-10-02 09:15:46 -07:00
..
_getauxval.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
_getauxval.internal.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
_PATH_BSHELL.c Have execve() escape double quotes in cmd.exe's preferred style 2022-10-02 09:15:46 -07:00
abs.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
addvdi3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
addvsi3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
addvti3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
arememoryintervalsok.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
asan.c Make important improvements 2022-09-14 22:39:08 -07:00
asan.internal.h Make important improvements 2022-09-14 22:39:08 -07:00
asancodes.h Make improvements 2022-03-16 13:40:10 -07:00
asmflag.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
assertdisable.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
assertfail.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
atexit.c Improve memory safety 2021-10-13 17:27:13 -07:00
atomic.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
avx2intrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
avxintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
bcopy.c Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00
bextra.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bitreverse8.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bitreverse16.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bitreverse32.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bitreverse64.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bits.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsf.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsf.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsfl.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsfll.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsr.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsr.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsr128.S Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsrl.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bsrll.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bswap.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
bt.c Improve pthread_join() 2022-09-16 14:02:06 -07:00
bzero.c Make improvements 2022-04-24 10:06:05 -07:00
closehandle.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
cmpxchg.h Remove stdio lock macros from amalgamation 2022-09-10 12:03:36 -07:00
cmpxchg16b.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
countbits.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
createdirectory.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createfile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createfilemapping.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createfilemappingnuma.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createnamedpipe.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createpipe.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createprocess.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createsymboliclink.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
createthread.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
cxaatexit.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
cxaatexit.internal.h Remove stdio lock macros from amalgamation 2022-09-10 12:03:36 -07:00
cxablocks.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
cxafinalize.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
cxalock.c Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
deletefile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
describearchprctlcode.c Perform more low-level code cleanup 2022-09-09 04:07:08 -07:00
describecapability.c Explicitly disable Linux capabilities 2022-07-23 12:06:41 -07:00
describeclockname.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
describedirfd.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeflags.c Clean up some code 2022-08-20 12:32:51 -07:00
describeflags.internal.h Improve system call wrappers 2022-09-19 15:06:25 -07:00
describeframe.c Rewrite brk() and sbrk() 2022-10-01 23:11:56 -07:00
describefutexop.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
describefutexresult.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
describegidlist.c Add getgroups and setgroups (#619) 2022-09-18 02:48:53 -07:00
describehow.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeinoutint64.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
describeiov.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeiovnt.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describemagnums.c Make important improvements 2022-09-14 22:39:08 -07:00
describemapflags.c Fix pthread stacks with larger guard size 2022-09-09 06:41:22 -07:00
describemapping.c Optimize memory layout 2022-09-12 04:26:52 -07:00
describentconsolemodeinputflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentconsolemodeoutputflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentcreationdisposition.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentfileaccessflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentfileflagattr.c Clean up some code 2022-08-20 12:32:51 -07:00
describentfilemapflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentfileshareflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentfiletypeflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentlockfileflags.c Make important improvements 2022-09-14 22:39:08 -07:00
describentmovfileinpflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentoverlapped.c Make important improvements 2022-09-14 22:39:08 -07:00
describentoverlapped.internal.h Make important improvements 2022-09-14 22:39:08 -07:00
describentpageflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentpipemodeflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentpipeopenflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentprocaccessflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentsecurityattributes.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentstartflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentsymlinkflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeopenflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describepersonalityflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describepollflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeprctloperation.c Explicitly disable Linux capabilities 2022-07-23 12:06:41 -07:00
describeprotflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeptrace.c Prevent Make from talking to public Internet 2022-08-12 21:51:39 -07:00
describeptraceevent.c Prevent Make from talking to public Internet 2022-08-12 21:51:39 -07:00
describeremapflags.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describerlimit.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
describerlimitname.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
describeschedparam.c Improve system calls 2022-07-08 06:42:03 -07:00
describeschedpolicy.c Improve pledge() and unveil() further 2022-07-24 03:10:16 -07:00
describeseccompoperation.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describesigaction.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
describesigaltstack.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describesigset.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
describesocketfamily.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describesocketprotocol.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describesockettype.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
describesocklevel.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describesockoptname.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
describestat.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
describestatfs.c Polyfill statfs() and fstatfs() on BSD distros 2022-08-17 14:54:03 -07:00
describetimespec.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
describetimeval.c Improve system calls 2022-07-08 06:42:03 -07:00
describewhence.c Restore zip.com and .symtab files 2022-08-21 00:17:20 -07:00
deviceiocontrol.c Make important improvements 2022-09-14 22:39:08 -07:00
directmap-metal.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
directmap-nt.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
directmap.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
dos2errno.c Make dos errno multimapping linkage tinier 2022-09-13 06:25:50 -07:00
dos2errno.internal.h Improve synchronization 2022-04-15 15:31:55 -07:00
emmintrin.internal.h Improve quality of our ANSI C clock() function 2022-09-05 23:03:49 -07:00
exit.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
exit1.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
exitr.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
extend.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
extend.internal.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
ezlea.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
fds_lock.c Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
findclose.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
findfirstfile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
findmemoryinterval.c Rewrite brk() and sbrk() 2022-10-01 23:11:56 -07:00
findnextfile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
flushfilebuffers.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
flushviewoffile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
formatint32.c Make improvements 2022-05-12 06:45:36 -07:00
formatint64.c Make improvements 2022-05-12 06:45:36 -07:00
fsgsbase.h Perform more low-level code cleanup 2022-09-09 04:07:08 -07:00
ftrace.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
futex.S Rewrite recursive mutex code 2022-09-10 09:18:52 -07:00
g_fds.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
g_fds_init.S Fix bugs and make improvements 2022-04-20 10:05:34 -07:00
generateconsolectrlevent.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
getenv.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
getexitcodeprocess.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
getfileattributes.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
getmagnumstr.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
getpid.c Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
gettid.c Rewrite recursive mutex code 2022-09-10 09:18:52 -07:00
gray.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
hamming.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
have_fsgsbase.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
hilbert.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
hilbert.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
initializer.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
interrupts.S Enable CPU exception handling w/ IDT & TSS (#640) 2022-09-29 14:43:08 -07:00
intrin.h Change support vector to Windows 8+ 2022-09-15 03:55:05 -07:00
intrin.mk Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
isatleastwindows10.greg.c Optimize memory layout 2022-09-12 04:26:52 -07:00
isdebuggerpresent.c Fix Landlock Make so it can read pattern rule vars 2022-08-13 17:23:05 -07:00
isloopbackip.c Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
isprivateip.c Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
ispublicip.c Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
isrunningundermake.c Make exciting improvements 2022-03-18 03:02:00 -07:00
isworker.c Add seccomp bpf sandboxing to redbean 2022-04-18 08:54:42 -07:00
kclocknames.S Make important improvements 2022-09-14 22:39:08 -07:00
kdos2errno.S Make dos errno multimapping linkage tinier 2022-09-13 06:25:50 -07:00
kerrnodocs.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
kerrnonames.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
kipoptnames.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
kntisinheritable.greg.c Improve synchronization 2022-04-15 15:31:55 -07:00
kopenflags.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
kprintf.greg.c Rewrite brk() and sbrk() 2022-10-01 23:11:56 -07:00
kprintf.h Make some more fixups 2022-06-12 09:37:17 -07:00
krlimitnames.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
ksignalnames.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
ksockoptnames.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
kstarttsc.c Make improvements 2022-03-16 13:40:10 -07:00
ktcpoptnames.S Introduce MODE=fastbuild for 28% speedup 2022-09-09 08:59:59 -07:00
leaky.internal.h Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
leaky.S Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
lengthuint64.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
likely.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
lockcmpxchg.h Remove stdio lock macros from amalgamation 2022-09-10 12:03:36 -07:00
lockcmpxchg16b.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
lockcmpxchgp.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
lockfileex.c Make important improvements 2022-09-14 22:39:08 -07:00
lockxadd.h Improve locks and signals 2022-04-12 05:20:17 -07:00
lockxchg.h Improve locks and signals 2022-04-12 05:20:17 -07:00
macros.h Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
mapviewoffileex.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
mapviewoffileexnuma.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
memcmp.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
memmove.c Improve memory safety 2021-10-13 17:27:13 -07:00
mempcpy.c Make numerous improvements 2021-09-28 01:52:34 -07:00
memset.c Make improvements 2022-04-24 10:06:05 -07:00
memtrack.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
midpoint.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
mman.greg.c Start exploring graphical video modes for VGA console (#637) 2022-10-02 01:50:16 -07:00
mmi.c Clean up some of the threading code 2022-09-08 12:31:56 -07:00
mmi.init.S Pay off more technical debt 2022-09-12 23:36:56 -07:00
mmi_lock.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
mmi_lock_obj.c Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
morton.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
morton.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
movefileex.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
mpsadbw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
mpsadbw.h Make minor improvements 2020-12-23 23:42:56 -08:00
mpsadbws.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
mulvdi3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
mulvsi3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
mulvti3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
negvdi2.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
negvsi2.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
negvti2.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
newbie.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
nocolor.c Make exciting improvements 2022-03-18 03:02:00 -07:00
nomultics.c Make improvements 2022-04-28 09:57:07 -07:00
nomultics.internal.h Make improvements 2022-04-28 09:57:07 -07:00
nopl.internal.h Remove stdio lock macros from amalgamation 2022-09-10 12:03:36 -07:00
ntconsolemode.c Improve locks and signals 2022-04-12 05:20:17 -07:00
ntgetversion.c Fix some issues and do some code cleanup 2022-05-23 10:15:53 -07:00
oldstack.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
onarithmeticoverflow.S Make improvements 2022-04-24 10:06:05 -07:00
openprocess.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
pabsb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pabsb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pabsd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pabsd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pabsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pabsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
packssdw.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
packssdw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
packsswb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
packsswb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
packusdw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
packusdw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
packuswb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
packuswb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddd.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
paddq.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddq.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
paddsb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddsb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddusb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddusb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddusw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddusw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
palignr.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
palignr.h Make minor improvements 2020-12-23 23:42:56 -08:00
palignrs.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pand.c Change license 2020-12-27 17:18:44 -08:00
pand.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pandn.c Change license 2020-12-27 17:18:44 -08:00
pandn.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pavgb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pavgb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pavgw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pavgw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpeqb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpeqb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpeqd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpeqd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpeqw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpeqw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpgtb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpgtb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpgtd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpgtd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpgtw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpgtw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pdep.c Change license 2020-12-27 17:18:44 -08:00
pdep.h Make improvements 2020-12-01 03:43:40 -08:00
pext.c Change license 2020-12-27 17:18:44 -08:00
pext.h Make improvements 2020-12-01 03:43:40 -08:00
phaddd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
phaddd.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
phaddsw.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
phaddsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
phaddw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
phaddw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
phsubd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
phsubd.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
phsubsw.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
phsubsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
phsubw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
phsubw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmaddubsw.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pmaddubsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmaddwd.c Change license 2020-12-27 17:18:44 -08:00
pmaddwd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmaxsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmaxsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmaxub.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pmaxub.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pminsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pminsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pminub.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pminub.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmmintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
pmovmskb.c Change license 2020-12-27 17:18:44 -08:00
pmovmskb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmulhrsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmulhrsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmulhuw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmulhuw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmulhw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmulhw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmulld.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmulld.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
pmullw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmullw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmuludq.c Change license 2020-12-27 17:18:44 -08:00
pmuludq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
popcnt.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
popcnt.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
por.c Change license 2020-12-27 17:18:44 -08:00
por.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
printmemoryintervals.c Optimize memory layout 2022-09-12 04:26:52 -07:00
printsystemmappings.greg.c Make exciting improvements 2022-03-18 03:02:00 -07:00
promises.c Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
promises.internal.h Release pledge.com 1.7 and landlockmake.com 1.3 2022-08-15 19:52:00 -07:00
prot2nt.greg.c Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
psadbw.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
psadbw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pshufb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pshufb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pshufd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pshufd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pshufhw.c Change license 2020-12-27 17:18:44 -08:00
pshufhw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pshuflw.c Change license 2020-12-27 17:18:44 -08:00
pshuflw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pshufw.c Change license 2020-12-27 17:18:44 -08:00
pshufw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psignb.c Change license 2020-12-27 17:18:44 -08:00
psignb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psignd.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psignd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psignw.c Change license 2020-12-27 17:18:44 -08:00
psignw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pslld.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pslld.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pslldq.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pslldq.h Make minor improvements 2020-12-23 23:42:56 -08:00
pslldqs.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pslldv.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psllq.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psllq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psllqv.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psllw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psllw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psllwv.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psrad.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psrad.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psradv.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psraw.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psraw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psrawv.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psrld.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psrld.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psrldq.c Comment out psrldq_fuzz test 2022-05-04 21:43:38 -07:00
psrldq.h Make minor improvements 2020-12-23 23:42:56 -08:00
psrldqs.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
psrldv.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psrlq.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psrlq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psrlqv.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psrlw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psrlw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psrlwv.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubb.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
psubd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubd.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psubq.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubq.h Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psubsb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubsb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psubsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psubusb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubusb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psubusw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubusw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psubw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
psubw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pthread_getspecific.c Improve pthread_join() 2022-09-16 14:02:06 -07:00
pthread_key_create.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
pthread_key_delete.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
pthread_key_destruct.c Clean up threading code some more 2022-09-13 20:17:34 -07:00
pthread_keys.c Clean up threading code some more 2022-09-13 20:17:34 -07:00
pthread_mutex_init.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
pthread_mutex_lock.c Clean up threading code some more 2022-09-13 20:17:34 -07:00
pthread_mutex_trylock.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
pthread_mutex_unlock.c Clean up threading code some more 2022-09-13 20:17:34 -07:00
pthread_once.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
pthread_setspecific.c Improve pthread_join() 2022-09-16 14:02:06 -07:00
pthread_yield.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
punpckhbw.c Change license 2020-12-27 17:18:44 -08:00
punpckhbw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpckhdq.c Change license 2020-12-27 17:18:44 -08:00
punpckhdq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpckhqdq.c Change license 2020-12-27 17:18:44 -08:00
punpckhqdq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpckhwd.c Change license 2020-12-27 17:18:44 -08:00
punpckhwd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpcklbw.c Change license 2020-12-27 17:18:44 -08:00
punpcklbw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpckldq.c Change license 2020-12-27 17:18:44 -08:00
punpckldq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpcklqdq.c Change license 2020-12-27 17:18:44 -08:00
punpcklqdq.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpcklwd.c Change license 2020-12-27 17:18:44 -08:00
punpcklwd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pushpop.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
pxor.c Change license 2020-12-27 17:18:44 -08:00
pxor.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
quick_exit.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
rand64.c Improve pthread_join() 2022-09-16 14:02:06 -07:00
rdfsbase.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
rdgsbase.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
releasefd.c Clean up some of the threading code 2022-09-08 12:31:56 -07:00
releasefd_unlocked.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
removedirectory.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
reopenfile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
repmovsb.h Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
repstosb.h Make improvements 2020-09-14 00:02:34 -07:00
restoretty.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
restorewintty.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
rounddown2pow.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
roundup2log.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
roundup2pow.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
safemacros.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
sched_yield.S Add sys_ prefix to unwrapped system calls 2022-09-13 11:20:35 -07:00
segmentation.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
setcurrentdirectory.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
setjmp.internal.h Get threads working on all platforms 2022-05-13 03:59:09 -07:00
shaintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
shufpd.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
shufpd.h Fix bugs and have emulator emulate itself 2020-08-31 05:17:31 -07:00
shufps.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
shufps.h Fix bugs and have emulator emulate itself 2020-08-31 05:17:31 -07:00
sigaddset.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
sigdelset.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
sigemptyset.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
sigfillset.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
sigismember.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
sizefmt.c Polyfill statfs() and fstatfs() on BSD distros 2022-08-17 14:54:03 -07:00
smmintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
somanyasan.S Scrub double-conversion and add quick wrapper 2022-06-26 05:03:25 -07:00
stpcpy.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
strace.internal.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
stracef.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
strcpy.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
strerdoc.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
strerrno.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
strerror_wr.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
strlen.c Remove unused variable (#536) 2022-08-18 15:42:48 -07:00
strsignal.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
subvdi3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
subvsi3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
subvti3.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
sys_gettid.greg.c Perform more low-level code cleanup 2022-09-09 04:07:08 -07:00
syscall.S Improve memory safety 2021-10-13 17:27:13 -07:00
terminateprocess.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
timespec2timeval.c Improve system calls 2022-07-08 06:42:03 -07:00
tlsisrequired.c Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
tmmintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
tpenc.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
tpenc.S Pay off more technical debt 2022-09-12 23:36:56 -07:00
ubsan.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
ungray.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
unlockfileex.c Make important improvements 2022-09-14 22:39:08 -07:00
unmapviewoffile.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
unmorton.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
vforked.c Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
virtualprotect.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
waitformultipleobjects.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
waitforsingleobject.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
wantcrashreports.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
weaken.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
winerr.greg.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
wmmintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
wrfsbase.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
wrgsbase.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
wsarecv.c Make important improvements 2022-09-14 22:39:08 -07:00
wsarecvfrom.c Make important improvements 2022-09-14 22:39:08 -07:00
wsawaitformultipleevents.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
x86gradenames.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
x86marchnames.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
xadd.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
xchg.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
xmmintrin.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00