Skip to content

Instantly share code, notes, and snippets.

View EmilGedda's full-sized avatar

Emil Gedda EmilGedda

  • MSAB
  • Stockholm, Sweden
View GitHub Profile
@EmilGedda
EmilGedda / log.txt
Created March 8, 2020 17:19
IWYU Segmentation fault
[1/2] Building CXX object CMakeFiles/main.dir/main.cpp.o
FAILED: CMakeFiles/main.dir/main.cpp.o
/usr/bin/cmake -E __run_co_compile --iwyu=/usr/local/bin/include-what-you-use -- /usr/bin/clang++ -MD -MT CMakeFiles/main.dir/main.cpp.o -MF CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c tests/main.cpp
Error running '/usr/local/bin/include-what-you-use': Setting verbose-level to 7
Search path: /usr/include/c++/9.2.0/x86_64-alpine-linux-musl/ (system)
Search path: /usr/local/lib/clang/9.0.0/include/ (system)
Search path: /usr/include/c++/9.2.0/backward/ (system)
Search path: /usr/include/c++/9.2.0/ (system)
Search path: /usr/include/ (system)
Found include: <built-in>:-1 -> tests/main.cpp
@EmilGedda
EmilGedda / seed.json
Created April 16, 2019 20:35
json fuzzing seed
{
"a": "b",
"b": true,
"obj": { "a": "c" },
"undef": null,
"c": false,
"int": -1,
"list": [1, 2, 0, 3,
4, -6 ],
"obj2": {
@EmilGedda
EmilGedda / seed.json
Last active April 13, 2019 13:44
Json fuzz seed
{"web-app": {
"servlet": [
{
"servlet-name": "cofaxCDS",
"servlet-class": "org.cofax.cds.CDSServlet",
"init-param": {
"installationAt": "Philadelphia, PA",
"adminEmail": "ksm@pobox.com",
"poweredBy": "Cofax",
"poweredByIcon": "/images/cofax.gif",
cmake_minimum_required(VERSION 3.12)
project(kattis C CXX)
file(GLOB_RECURSE srcs CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.c*")
find_program(HATTIS NAMES hattis)
add_custom_target(test-all)
foreach(file ${srcs})
# Add target for problem
get_filename_component(_target ${file} NAME_WE)

Keybase proof

I hereby claim:

  • I am EmilGedda on github.
  • I am gedda (https://keybase.io/gedda) on keybase.
  • I have a public key whose fingerprint is 60E1 4DAA 1B2A 46F6 2A3C 7B4E 35AD 054C AA99 663A

To claim this, I am signing this object: