Skip to content

Instantly share code, notes, and snippets.

@karkhaz
karkhaz / keybase.md
Created May 10, 2018
keybase.io proof of identity
View keybase.md

Keybase proof

I hereby claim:

  • I am karkhaz on github.
  • I am karkhaz (https://keybase.io/karkhaz) on keybase.
  • I have a public key whose fingerprint is 8459 EBF1 8955 8355 8654 5AB9 2903 203C 2FB3 E6AA

To claim this, I am signing this object:

View gist:8298987334f332551e28f74c69195aa7
This file has been truncated, but you can view the full file.
##################
## Manual stuff ##
##################
0.0.0.0 taboola.com
::0 taboola.com
0.0.0.0 c2.taboola.com
::0 c2.taboola.com
0.0.0.0 nr.taboola.com
View gist:82324c5a40fc25ea12ebd0a4d0c207cd
//===-- ProblemInCriticalSectionChecker.cpp ---------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines a set of checkers that check for calling a function that is
View clangify.py
#!/usr/bin/env python
import argparse
import json
import os.path
import re
parser = argparse.ArgumentParser()
parser.add_argument("--clang-path", required=True)
args = parser.parse_args()
View run.sh
#!/bin/sh
#
# Run clang static analyzer on magenta.
#
# Usage:
# run.sh
#
# To build a single target, set the TARGET variable:
# TARGET=build-magenta-pc-x86-64/dev/hw_rng/hw_rng.mod.o ./run.sh
View gist:27524ea8e9d85c110320951f57d75852
#!/bin/sh
#
# Run clang static analyzer on magenta.
#
# Usage:
# run.sh
#
# To build a single target, set the TARGET variable:
# TARGET=build-magenta-pc-x86-64/dev/hw_rng/hw_rng.mod.o ./run.sh
View gist:5bda791cd1fbc2b5553acd0e7aeb163f
[132/422] Building CXX object tools/clang/l...CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o
FAILED: tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o
/usr/bin/c++ -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/CodeGen -I/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen -I/usr/local/google/home/khazem/doc/llvm/tools/clang/include -Itools/clang/include -Iinclude -I/usr/local/google/home/khazem/doc/llvm/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -fno-common -Woverloaded-virtual -fno-strict-aliasing -g -fno-exceptions -fno-rtti -MD -MT tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o -MF tools/clang/lib/CodeGen/C
View gabor-patchset.sh
#!/bin/sh
#
# Generates a patchset from Gábor Horvath's ctu-master branch, ignoring
# all patches that are merged in from upstream master---i.e., generates
# only those patches authored by Gábor and his team.
#
# https://github.com/dkrupp/clang/tree/ctu-master
#
# Current as of 1bb3636.
View gabor-patchset.sh
#!/bin/sh
#
# Generates a patchset from Gábor Horvath's ctu-master branch, ignoring
# all patches that are merged in from upstream master---i.e., generates
# only those patches authored by Gábor and his team.
#
# https://github.com/dkrupp/clang/tree/ctu-master
#
# Current as of 1bb3636.
View run.sh
#!/bin/sh
#
# Run clang static analyzer on magenta.
#
# Usage:
# run.sh
#
# To build a single target, set the TARGET variable:
# TARGET=build-magenta-pc-x86-64/dev/hw_rng/hw_rng.mod.o ./run.sh