http://www.infoq.com/presentations/JVM-Performance-Tuning-twitter (video & slides)
http://www.infoq.com/articles/9_Fallacies_Java_Performance (video & slides)
http://www.infoq.com/presentations/Visualizing-Java-GC (video & slides)
This Gist has been transfered into a Github Repo. You'll find the most recent version here.
When creating your rules for YARA keep in mind the following guidelines in order to get the best performance from them. This guide is based on ideas and recommendations by Victor M. Alvarez and WXS.
[ 89%] Built target not | |
[ 89%] Built target yaml-bench | |
[ 89%] Built target gtest | |
[ 89%] Built target gtest_main | |
[ 89%] Built target LTO_exports | |
[ 90%] Linking CXX shared library ../../lib/libLTO.so | |
../../lib/libLLVMScalarOpts.a: could not read symbols: Memory exhausted | |
collect2: error: ld returned 1 exit status | |
*** Error 1 in . (tools/lto/CMakeFiles/LTO.dir/build.make:255 'lib/libLTO.so') | |
*** Error 1 in . (CMakeFiles/Makefile2:12494 'tools/lto/CMakeFiles/LTO.dir/all') |
void TestCopy() | |
{ | |
BOOL cond = FALSE; | |
IFileOperation *FileOperation1 = NULL; | |
IShellItem *isrc = NULL, *idst = NULL; | |
BIND_OPTS3 bop; | |
SHELLEXECUTEINFOW shexec; | |
HRESULT r; | |
do { |
#!/usr/bin/env python | |
def getDictValueFromPath(listKeys, jsonData): | |
"""Retrieve value from a dictionary using a list of keys. | |
>>> mydict = { | |
'a': { | |
'b': { | |
'c': '1' | |
} |
########################################################################### | |
# Rotating bits (tested with Python 2.7) | |
from __future__ import print_function # PEP 3105 | |
# max bits > 0 == width of the value in bits (e.g., int_16 -> 16) | |
# Rotate left: 0b1001 --> 0b0011 | |
rol = lambda val, r_bits, max_bits: \ | |
(val << r_bits%max_bits) & (2**max_bits-1) | \ |
''' | |
IDA plugin to display the calls and strings referenced by a function as hints. | |
Installation: put this file in your %IDADIR%/plugins/ directory. | |
Author: Willi Ballenthin <[email protected]> | |
Licence: Apache 2.0 | |
''' | |
import idc | |
import idaapi | |
import idautils |
# This file has no update anymore. Please see https://github.com/worawit/MS17-010 | |
import sys | |
from struct import pack | |
if len(sys.argv) < 4: | |
print('Usage: {} sc_x86 sc_x64 sc_out'.format(sys.argv[0])) | |
sys.exit() | |
sc_x86 = open(sys.argv[1], 'rb').read() | |
sc_x64 = open(sys.argv[2], 'rb').read() |
//**********************************************************************` | |
//* This is an include file generated by Message Compiler. *` | |
//* *` | |
//* Copyright (c) Microsoft Corporation. All Rights Reserved. *` | |
//**********************************************************************` | |
#pragma once | |
#include <wmistr.h> | |
#include <evntrace.h> | |
#include "evntprov.h" | |
// |