Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View sbahra's full-sized avatar

Samy Al Bahra sbahra

View GitHub Profile
kernel
kernel/ataisa.ko
kernel/sbp_targ.ko
kernel/esp.ko.debug
kernel/geom_label.ko
kernel/random_OTHER.ko.debug
kernel/if_ixlv.ko
kernel/geom_part_bsd64.ko
kernel/isp_12160.ko
kernel/lindebugfs.ko.debug
/usr/bin/ls.debug
/usr/bin/.debug/ls.debug
/usr/lib/debug/usr/bin/ls.debug
/usr/lib/debug/bin/ls
/usr/lib/debug/.build-id/ab/cdef1234.debug
@sbahra
sbahra / -
Created April 22, 2019 15:25
{
/*
* For now, there will be two types of checks: individual and combinative.
* Individual checks are run on each argument specified in the positions array.
* Combinative checks are run once on all arguments specified in the positions
* array and have some implicit operator associated with them (e.g., overflow
* may imply addition).
*
* Available checks:
* valid_memory_size - individual
sbahra@skylake:~/projects/quickstack$ /usr/bin/time /opt/backtrace/bin/bt `pgrep gedit` --no-variables 2>&1|tail
[ 0] libc-2.23.so __GI_poll (../sysdeps/unix/syscall-template.S:84)
[ 1] libglib-2.0.so.0.4800.2 0x7f2216d0f38c
[ 2] libglib-2.0.so.0.4800.2 g_main_context_iteration
[ 3] libgio-2.0.so.0.4800.2 g_application_run
[ 4] gedit main
[ 5] libc-2.23.so __libc_start_main
0.01user 0.02system 0:00.03elapsed 92%CPU (0avgtext+0avgdata 36100maxresident)k
/*
* Defines an elision implementation according to the following variables:
* N - Namespace of elision implementation.
* T - Typename of mutex.
* L_P - Lock predicate, returns false if resource is available.
* L - Function to call if resource is unavailable of transaction aborts.
* U_P - Unlock predicate, returns false if elision failed.
* U - Function to call if transaction failed.
*/
@sbahra
sbahra / -
Created October 28, 2016 22:27
3f777f51cbbbf95230a4e606c50e... ▁▁▁▁▁▁▁▁▁▁▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ 1 month ago
Date: Tue Sep 20 2016 21:59:46 GMT-0400 (EDT)
count: 1
callstack:
/home/sbahra/.steam/ubuntu12_32/crashhandler.so + 0x16fc4 ←
/home/sbahra/.steam/ubuntu12_32/crashhandler.so + 0x4c07 ←
/home/sbahra/.steam/ubuntu12_32/crashhandler.so + 0x3b174 ←
/home/sbahra/.steam/ubuntu12_32/crashhandler.so + 0x3ad78 ←
/home/sbahra/.steam/ubuntu12_32/crashhandler.so + 0x9a77 ←
/home/sbahra/.steam/ubuntu12_32/crashhandler.so + 0x3b140 ←
@sbahra
sbahra / -
Created August 8, 2016 20:27
Token: 913914bf27fb8b7bc3d0c26ff7100277
{
"actions":[
{
"action":"schema",
"model":"configuration"
}
],
"results":[
{
@sbahra
sbahra / -
Created August 8, 2016 20:26
Token: cc582eba951321dd5fe198a108e398b8
{
"actions":[
{
"action":"schema",
"model":"configuration"
}
],
"results":[
{
CREATE TABLE crdb_terse(
epoch numeric NOT NULL,
application text NOT NULL,
collection text NOT NULL,
dc text NOT NULL,
environment text NOT NULL,
fingerprint text NOT NULL,
hostname text NOT NULL,
tag text NOT NULL,
timestamp numeric NOT NULL,
CREATE TABLE crdb(
epoch numeric NOT NULL,
application text NOT NULL,
collection text NOT NULL,
cpu_boottime numeric NOT NULL,
cpu_context numeric NOT NULL,
cpu_idle numeric NOT NULL,
cpu_iowait numeric NOT NULL,
cpu_irq numeric NOT NULL,
cpu_kernel numeric NOT NULL,