Skip to content

Instantly share code, notes, and snippets.

View arichardson's full-sized avatar

Alexander Richardson arichardson

  • Mountain View, CA
View GitHub Profile
===> usr.bin/column (includes)
===> usr.bin/comm (includes)
===> tests/sys/pjdfstest/tests/mkfifo (includes)
===> usr.bin/col/tests (includes)
===> cddl/usr.sbin/zhack (includes)
===> usr.bin/cmp/tests (includes)
===> libexec/rpc.rquotad (includes)
===> libexec/rpc.rstatd (includes)
===> usr.sbin/cron/crontab (includes)
===> libexec/rc/rc.d (includes)
; ModuleID = 'reproducer.c'
source_filename = "reproducer.c"
target datalayout = "E-m:e-pf200:128:128:128:64-i8:8:32-i16:16:32-i64:64-n32:64-S128-A200-P200-G200"
target triple = "mips64c128-unknown-freebsd13.0-purecap"
%struct.explore = type { i32, i32, i32, i32 }
%struct._ns_dtab = type { i8 addrspace(200)*, i32 (i8 addrspace(200)*, i8 addrspace(200)*, i8 addrspace(200)*) addrspace(200)*, i8 addrspace(200)* }
%struct.addrinfo = type { i32, i32, i32, i32, i32, i8 addrspace(200)*, %struct.sockaddr addrspace(200)*, %struct.addrinfo addrspace(200)* }
%struct.sockaddr = type { i8, i8, [14 x i8] }
%struct.in6_ndireq = type { [16 x i8], %struct.nd_ifinfo }
_cheri_capability_build_user_data+0x54 (?,?,?,?) ra ffffffff8072fab4 sp c000000013e9f470 sz 16
cheri_syscall_authorize+0x1454 (?,?,?,?) ra ffffffff803c6a7c sp c000000013e9f480 sz 128
kern_execve+0x1424 (?,?,?,?) ra 0 sp c000000013e9f500 sz 0
class QReadWriteLockPrivate;
typedef __uintcap_t quintptr;
namespace {
enum {
StateMask = 0x3,
StateLockedForRead = 0x1,
StateLockedForWrite = 0x2,
};
This file has been truncated, but you can view the full file.
# 1 "<built-in>"
# 1 "/local/scratch/alr48/cheri/qt5/qtbase/src/corelib/global/qt_pch.h" 1
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
This file has been truncated, but you can view the full file.
0xffffffffbfc00000: j 0xffffffffbfc00580 # ??:0
--- Kernel mode (ERL=0, KX=1)
Write C00|v:1 s:0 p:00007fff b:0000000000000000 l:ffffffffffffffff
|o:0000000000000000 t:0
Write C01|v:1 s:0 p:00007fff b:0000000000000000 l:ffffffffffffffff
|o:0000000000000000 t:0
Write C02|v:1 s:0 p:00007fff b:0000000000000000 l:ffffffffffffffff
|o:0000000000000000 t:0
Write C03|v:1 s:0 p:00007fff b:0000000000000000 l:ffffffffffffffff
|o:0000000000000000 t:0
@arichardson
arichardson / CLion_Ninja.md
Last active January 25, 2024 15:23 — forked from nevkontakte/CLion_Ninja.md
Ninja support for CLion IDE

Ninja support for CLion IDE (working with newer versions of clion)

This script enables Ninja-powered builds in CLion IDE by wrapping around CMake, which it uses. See my blog post for details.

Disclaimer

This script is provided AS IS with no guarantees given or responsibilities taken by the author. This script relies on undocumented features of CLion IDE and may lead to instability of build and/or IDE. Use it on your own risk under WTFPL terms.

typedef __builtin_va_list __va_list;
typedef long ssize_t;
typedef __va_list va_list;
typedef int FILE;
int fflush(FILE *);
int fprintf(FILE *, const char *, ...) __attribute__(());
int vsnprintf(char *, unsigned long, const char *, __va_list) __attribute__(());
void *bsearch(void *, void *, long, long, int(const void *, const void *));
long strtol(char *, char **, int);
long strtoull(char *, char **, int);
mips/crt1.o: file format elf64-tradbigmips
mips/crt1.o
architecture: mips:isa64r2, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x0000000000000000
private flags = 80000007: [abi=64] [mips64r2] [not 32bitmode] [noreorder] [PIC] [CPIC]
Sections:
Idx Name Size VMA LMA File off Algn
crt1.o: file format elf64-tradbigmips
crt1.o
architecture: mips:4000, flags 0x00000011:
HAS_RELOC, HAS_SYMS