Category Archives: Programming

Posts about programming topics

Interesting problem when building GMP during GCC build …

… I needed to unset CDPATH in order to get it to build, because otherwise it tries to cd into tests inside one of the folders from CDPATH (in my case the setting was /mnt) instead into ./tests from inside … Continue reading

Posted in /dev/null, EN, Programming | Leave a comment

Curiosity and the need … (updated)

… for more information about reparse points, junction points, volume mount points, symbolic links on NTFS drive (“reparse points” is the generic term for all of them) led me to write a tool called looklink. I put it into the … Continue reading

Posted in EN, Programming, Software | 3 Comments

Useful script for MSVC users …

I wrote a little .cmd script (for the NT script interpreter, cmd.exe) that can be used to get the environment for the newest, or a specified installed version of Visual C++, similar to what the link from the start menu … Continue reading

Posted in /dev/null, EN, Programming | Leave a comment

Arrived 1.1

I updated the program Arrived to version 1.1. There is one important change in this version that breaks compatibility, but I am convinced there are rather few users anyway 😉 The change is to use CreateProcess() instead of ShellExecute(). That’s … Continue reading

Posted in /dev/null, EN, Programming, Software | Leave a comment

The woes of debug builds

I like C++, and I use Visual Studio to make use of it most of the time, even though plenty of that code is later also used on other platforms. However, when you build in debug mode, sometimes the results … Continue reading

Posted in /dev/null, EN, Programming | Leave a comment

Simple and small XML parser …

Posted in Programming | Comments Off on

My Subversion repositories …

Just wanted to let everyone know that I am opening up a few of my Subversion repositories. Others will remain completely private and even others will eventually follow in future. Check it out on vcs.assarbad.net. // Oliver

Posted in /dev/null, DDKWizard/DDKBUILD, EN, Programming, Software | Leave a comment

Schßnemann will Internetzugänge effektiv abschaffen

Wie Heise berichtet, will der niedersächsische Innenminister (natĂźrlich CDU) im Kampf gegen Kinderpornographie im Internet die Kunden von Internetzugängen zwingen eine Filtersoftware zu installieren. Und einige meinen nur der verehrte Dr. Schäuble säße allein in der Fraktion der Verfassungsgegner. Obwohl … Continue reading

Posted in DE, IT Security, Programming, Reversing | Leave a comment

Wow, GCC is pretty patronizing …

Trying to compile the following code in GCC yields an error: #define __dbgprintf /##/ The error reads error: pasting “/” and “/” does not give a valid preprocessing token. As far as C99 is concerned, this should be perfectly valid … Continue reading

Posted in /dev/null, EN, Linux, Programming | Comments Off on Wow, GCC is pretty patronizing …

Arrived

… is the name of a small Win32 command line tool I wrote. It executes a command whenever a volume (e.g. USB memory stick, portable hard drive) gets connected to or disconnected from the machine. The particular use-case for which … Continue reading

Posted in /dev/null, EN, Programming, Software | Leave a comment

Silly little C++ wrapper class

Did you ever have the same problem: if you want to compiler a Win32 program with UNICODE/_UNICODE defined, for some reason the argv vector does not contain a single proper argument?! This happens in particular in DDK/WDK projects. I was … Continue reading

Posted in EN, Programming, Software | 1 Comment

Übercool!

Check this out: predef.sourceforge.net.

Posted in EN, Programming | Leave a comment

Reminder to self

Howto: “Replacing the trunk of a Subversion repository with a feature branch” # From the working copy of my branch: $ svn del file:///repos/trunk -m “Temporarily deleted trunk.” $ svn mv file:///repos/branches/my_branch file:///repos/trunk \ -m “Moved /branches/my_branch to /trunk” $ … Continue reading

Posted in /dev/null, EN, Programming | Comments Off on Reminder to self

DDKBUILD.CMD 7.3/r27 released

Hereby I announce the release of DDKBUILD.CMD 7.3/r27. The version numbers are according to what I posted earlier here. This release contains really minor improvements only, but fixes also one bug that was reported over at OSR. This was caused … Continue reading

Posted in DDKWizard/DDKBUILD, EN, Programming | Leave a comment

Affordable code-signing certificates, no chance!

GlobalSign == relatively cheap code-signing certificates. Cool, I thought. Bullcrap! After attempting to apply for a code-signing certificate for use with Authenticode in kernel mode drivers and other Windows binaries and then calling them on the phone I learnt that … Continue reading

Posted in EN, IT Security, Programming, Software | Tagged , | 7 Comments

Subversion over SSH using specific identity

Everyone knows how to allow one particular system account to be shared among multiple SVN users and who doesn’t can have a look here. However, I had a somewhat inverted situation yesterday, and although the solution turned out to be … Continue reading

Posted in IT Security, Programming, Software | Tagged , , | 4 Comments

Preparing for release of DDKBUILD 7.3

Please note that this is not yet the actual release. I want to use this post to announce that the DDKBUILD.CMD script from trunk is available now for direct download at any time. Please note that the version in trunk … Continue reading

Posted in DDKWizard/DDKBUILD, EN, Programming | Leave a comment

CreateRemoteThread, Vista and separate sessions

Recently I’ve hit a wall during development. I had written a nice workaround for a problem, based on code injection. In fact the code wasn’t injected by loading a DLL but instead by loading relocatable (32bit) code of less than … Continue reading

Posted in /dev/null, IT Security, Programming, Reversing | 24 Comments

CSimpleBuf, a C++ utility class under BSD license

Today I am happy to announce the release of a C++ buffer class that is of special use for interfacing with Windows system functions. The class is a template class and thus only one header file is needed. The template … Continue reading

Posted in EN, FSI/F-Prot, Programming | 5 Comments

DDKWizard demo video

I’ve created and uploaded a little demo clip about how easy it is to create a project with DDKWizard. (Hint: you need Flash enabled.) If you want a higher quality and higher resolution, try this link! More instructional videos about … Continue reading

Posted in DDKWizard/DDKBUILD, EN, Programming | 1 Comment