вторник сен 22, 2009
вторник сен 15, 2009
понедельник сен 14, 2009
One would expect dwarfdump to handle all types of ELF files, but until recently, dwardump would often crash when dumping debug information of a relocatable file on x64 and sparcv9 binaries. In this post I'll explain the reasons for crash and why relocation records processing is important when reading DWARF.
[Read More]среда авг 13, 2008
A new set of cheatsheets, now with rather frequently used utilities for ELF files examination. Includes nm, readelf, pvs and a bunch of other useful programs:
![]() |
![]() |
![]() |
![]() |
NOTE: .svg files are saved as "Inkscape SVG" and are intended to be edited in Inkscape, not to be viewed by common image viewer (which may display garbage instead of some elemets).
Refs:
- Linker and Libraries Guide - Solaris 10 edition of a classic volume.
вторник июл 22, 2008
I don't use mdb in my everyday work, however sometimes it is not only useful, but essential - when you have to debug at low level, which dbx tends to hide from you (for example, dbx usually can't display stack trace past main()). So here are a few commands that I find useful:
![]() |
![]() |
![]() |
![]() |
NOTE: .svg files are saved as "Inkscape SVG" and are intended to be edited in Inkscape, not to be viewed by common image viewer (which may display garbage instead of some elemets).
Refs:
- Modular Debugger (mdb) cheatsheet - more thorogh version that my drawings.
- Solaris Modular Debugger Guide - official document from docs.sun.com
среда июл 16, 2008
I got tired of looking up what this or that SPARC instruction means and where to find %fp register value when you're in a leaf procedure, so I decided to prepare a few small cheatsheets that have this kind of information in very compact form.
I'm posting PDF and source svg here in hope that this info will be useful for other people as well. Anyone's welcomed to download/print/modify those.
![]() |
![]() |
![]() |
![]() |
NOTE: .svg files are saved as "Inkscape SVG" and are intended to be edited in Inkscape, not to be viewed by common image viewer (which may display garbage instead of some elemets).
Refs:
- SPARC Assembly Language - very useful, minimum to no "syntactic sugar", pure information.
- A Laboratory Manual for the SPARC - older, longer reading, but has more coding examples.
- Technical SPARC CPU Resources - lots of links to other pages. Explore the Web.
- SPARC Architecture Manual, Version 9 - ultimate source of information, comes in PDF form.
вторник ноя 27, 2007
Страница с вопросами и ответами о Sun Studio -- на русском языке и с актуальной информацией.
Я перевел существующий FAQ о Sun Studio Криса Квенелли, а заодно и обновил содержащуюся там информацию (во время составления оригинального FAQ актуальной была версия 11, теперь же последняя версия Sun Studio - 12).
This blog copyright 2009 by Maxim Kartashev


![[PDF]](/dbx/resource/pdf.png)
![[Inkscape SVG]](/dbx/resource/svg.png)



