Category Archives: Uncategorized

The Assembly Page

The page contains documentation about architectures, assembly, instruction set, ISA or whatever you name it: x86 (both x86 and x64) http://ref.x86asm.net/ ARM http://www.ch01a.net/static/armref/index.html Power PC http://web.archive.org/web/20071006155454/www.nersc.gov/vendor_docs/ibm/asm/alangref02.htm SPARC Click to access V8.pdf Click to access SPARCV9.pdf http://www.cs.unm.edu/~maccabe/classes/341/labman/labman.html

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Oracle MDB Cheetsheat (quick start)

MDB (acronym for Modular Debugger) is a debugger by Oracle and it is mostly found on Solaris machines. If you need to debug a user application in Solaris, MDB might be the tool for you (along DBX and GDB). MDB … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

Scumbag golang

Looking at the documentation of the “net/url” library of golang, one can see the following example which parses a non secure (HTTP) Bing search query of .NET and turns it into a secured (HTTPS) Google search query of golang. I … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

CodeRetreat2012

CodeRetreat2012 was a blast! I really enjoyed it. This was my first CodeRetreat. CodeRetreat is a hackathon made of sessions, in every session programmers are pairing and trying to solve Conway’s Game of Life. In every session there is a … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

ViM: load ‘random’ color scheme on startup

I downloaded some color schemes for vim but couldn’t decide which one to use – so why not use them all? Here is a small script I wrote for changing color scheme, works on vim and gvim. The string in … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

x86 assembler is not injective

Look at the following opcode: mov eax, ecx There are two ways to assemble it to machine-code: 8b c1 and 89 c8. First, look at the binary representation: 8b c1 = 1000 1011 1100 0001 = 100010 1 111 000 … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Bug: IDAPython Alt+7

It is well known that one of the principles of “good programming” is the separation of code into functions, classes, namespaces, files, etc. There are many explanations for this separation. One reason is the idea that a bunch of codelines … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Not-so-new feature on IDA Pro 5.7

A week ago Hexrays published IDA Pro 5.7’s new feature. The main goal of the feature is both to simplify and to extend the ability of IDA Pro to run scripts (idc and IDAPython) from command line, and by doing so, … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments