Quantcast
Channel: Nikolay Igotti
Browsing all 30 articles
Browse latest View live
↧

Neat book

Frank Hoffman at Solaris team wrote this book which is neat summary of x86/amd64 low level programming. I like it.

View Article


C mini-contest

Go guess, what's behaviour of this code:intfoo() {while (0) while (1) while (2) ; } and this intfoo() {while (2) while (1) while (0) ; } Both are valid C constructs, of course. PS: Question itself is...

View Article


Debugger for Win32 (v2)

Previous version of mini-debugger I described here has a disadvantage, as it was unable to catch symbols in statically linked binaries. This version patches target, not assuming that we call via jump...

View Article

Raw page table access

Today, I'd like to show an example of raw physical memory access, to demonstrate layout of x86 page tables. This demo requires x86 Solaris with 32-bit kernel, and root privileges. You can see how to...

View Article

ILP64, LP64, LLP64

One important platform feature, to be considered when writing portable 64-bit code is if it is LP64, LLP64 or ILP64. Those abbreviations stands for size in bits of basic C data types (int, long,...

View Article


Hotspot internals Q&A

Now this blog is mostly collection of random system programming technologies, in my opinion interesting enough to share. But as my full time job is to hack Hotspot JVM I could also answer VM internals...

View Article

Double mapping of memory regions on Unix

Sometimes it makes sense to double map the same physical memory onto different locations in address space of process, for example in 64-bit systems have some parts of your address space to be...

View Article

Explicit template instantiation in shared libraries

Now a little bit of C++ stuff. Usually I consider this language a bit undercooked, in its "advanced" features, like templates, but sometimes they could be useful. Consider following simple...

View Article


FS neutral data recovery tool

Recently my wife got several files accidentally removed, from ext3 storage. I tried several different programs, including FS debuggers, but mostly unsuccessful, as ext3 is rather aggressively erasing...

View Article


Leaving Sun

Starting Aug 17 I leave Sun Microsystems. My personal e-mail is igotti@gmail.com. Have fun! PS: I have no other technical blog yet, you may look at my Livejournal blog, but it's in Russian and...

View Article
Browsing all 30 articles
Browse latest View live