To get the docker images:
docker pull klee/klee
docker pull angr/angr
Start docker:
# inspired by http://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang/ | |
import sys | |
import clang.cindex | |
def verbose(*args, **kwargs): | |
'''filter predicate for show_ast: show all''' | |
return True | |
def no_system_includes(cursor, level): | |
'''filter predicate for show_ast: filter out verbose stuff from system include files''' |
/* | |
* Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved. | |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
* | |
* This code is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 only, as | |
* published by the Free Software Foundation. Oracle designates this | |
* particular file as subject to the "Classpath" exception as provided | |
* by Oracle in the LICENSE file that accompanied this code. | |
* |
Open the console to see detalied info about what's going on
#!/usr/bin/python | |
# | |
# Simple script showing configuration of the DTP protocol on | |
# the switch's port. This reconessaince will be helpful for performing | |
# VLAN Hopping attacks. | |
# | |
# Mariusz B. / mgeeky, '18 | |
# |
#include "rang.hpp" | |
#include <windows.h> | |
#include <cstdlib> | |
void BindStdHandlesToConsole() | |
{ | |
//TODO: Add Error checking. | |
// Redirect the CRT standard input, output, and error handles to the console |
Filename : ClassName - Program | |
Debuggers/Disassemblers: | |
--- | |
OLLYDBG.exe : OllyDbg - OllyDbg | |
x32dbg.exe : (Qt5QWindowIcon) - x32Dbg | |
x64dbg.exe : (Qt5QWindowIcon) - x64Dbg | |
x96dbg.exe : (#32770) - x32/x64Dbg Launcher | |
idag.exe : TIdaWindow - IDA native Windows (deprecated) |
What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.
In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.
Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th
# source:http://geocities.com/SiliconValley/heights/7052/opcode.txt | |
From: [email protected] (Mark Hopkins) | |
Newsgroups: alt.lang.asm | |
Subject: A Summary of the 80486 Opcodes and Instructions | |
(1) The 80x86 is an Octal Machine | |
This is a follow-up and revision of an article posted in alt.lang.asm on | |
7-5-92 concerning the 80x86 instruction encoding. | |
The only proper way to understand 80x86 coding is to realize that ALL 80x86 |
/* MIT License | |
* | |
* Copyright (c) namazso 2018 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: |