mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 11:48:30 +00:00
Make redbean StoreAsset() work better
- Better UBSAN error messages - POSIX Advisory Locks polyfills - Move redbean manual to /.help.txt - System call memory safety in ASAN mode - Character classification now does UNICODE
This commit is contained in:
parent
919b6fec10
commit
690be544da
228 changed files with 3653 additions and 3015 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "libc/calls/internal.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/nexgen32e/x86feature.h"
|
||||
#include "libc/runtime/symbols.internal.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/sysv/consts/ex.h"
|
||||
#include "libc/sysv/consts/exit.h"
|
||||
|
@ -70,9 +71,13 @@ static testonly void GetOpts(int argc, char *argv[]) {
|
|||
* Generic test program main function.
|
||||
*/
|
||||
testonly int main(int argc, char *argv[]) {
|
||||
const char *comdbg;
|
||||
__log_level = kLogInfo;
|
||||
GetOpts(argc, argv);
|
||||
showcrashreports();
|
||||
if ((comdbg = FindDebugBinary())) {
|
||||
setenv("COMDBG", comdbg, true);
|
||||
}
|
||||
g_testlib_shoulddebugbreak = IsDebuggerPresent(false);
|
||||
sys_getpid(); /* make strace easier to read */
|
||||
testlib_clearxmmregisters();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue