Skip to content

Instantly share code, notes, and snippets.

View rohanrhu's full-sized avatar
🐈
Meow...

Oğuzhan Eroğlu rohanrhu

🐈
Meow...
View GitHub Profile
@skeeto
skeeto / fuzz.c
Last active November 8, 2022 00:54
Jsonic fuzz tester
// Fuzz test for Jsonic
// $ afl-gcc -m32 -fsanitize=address,undefined fuzz.c jsonic.c
// $ afl-fuzz -m800 -iexamples/heroes -oout ./a.out
// https://github.com/rohanrhu/jsonic
// This is free and unencumbered software released into the public domain.
#include <stdio.h>
#include <stdlib.h>
#include "jsonic.h"
static int explore(jsonic_node_t *root, char *buf)
@RoyBellingan
RoyBellingan / main.cpp
Last active November 5, 2022 12:48
Jsonic vs the world
#include <boost/json.hpp>
#include <QDebug>
#include <QElapsedTimer>
#include <QFile>
#include "jsonic.c"
#include "jsonic.h"
#include "fmt/format.h"
@mafulafunk
mafulafunk / URLTest.java
Created January 17, 2012 09:45
URL get Content as InputStream, ignore any SSL security
package de.martinfunk;
import java.io.IOException;
import java.io.InputStream;
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.security.KeyManagementException;