Programming stuff - IDAhttp://www.the-interweb.com/serendipity/
enSerendipity 1.5.5 - http://www.s9y.org/Sat, 12 Jul 2008 13:12:51 GMThttp://www.the-interweb.com/serendipity/templates/default/img/s9y_banner_small.pngRSS: Programming stuff - IDA - http://www.the-interweb.com/serendipity/
10021Hotch 1.0.0http://www.the-interweb.com/serendipity/index.php?/archives/108-Hotch-1.0.0.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/108-Hotch-1.0.0.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=1082http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=108nospam@example.com (sp)
<p>Hotch 1.0.0 - named after <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=704&amp;entry_id=108" title="http://en.wikipedia.org/wiki/Criminal_Minds" onmouseover="window.status='http://en.wikipedia.org/wiki/Criminal_Minds';return true;" onmouseout="window.status='';return true;">everyone's favourite TV profiler</a> - is an IDA plugin that can be used to profile binary files. It sets breakpoints on all basic blocks of a program, records breakpoints hits and tries to figure out statistics from these hits. Click <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=701&amp;entry_id=108" title="http://www.the-interweb.com/bdump/ida/results-small.html" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/results-small.html';return true;" onmouseout="window.status='';return true;">here</a> to seen an example of a simple profiling session (starting Notepad and exiting Notepad again). Click <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=702&amp;entry_id=108" title="http://www.the-interweb.com/bdump/ida/results.html" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/results.html';return true;" onmouseout="window.status='';return true;">here</a> to see a huge 6.5 MB results file that shows a larger profiling session (loading a file in Notepad and playing around in it).</p><p>Random Notes:</p><ul><li>&quot;This is really slow for larger files&quot;. Yeah, it is really slow in IDA up to 5.2 but Ilfak fixed some things in IDA 5.3 and it works acceptably fast now. So patience, young padawan.</li><li>&quot;The timing results don't really make sense&quot;. Yeah, I know. Since I execute a callback function after each breakpoint hit tight loops take disproportionally much time. For anything but tight loops the timing results should kinda work, at least relative to each other of course.</li><li>Ignore the source file libida.hpp, it's an early version of my experimental-at-best C++ wrapper library for the IDA SDK.</li><li>I take feature requests for Hotch.</li></ul><p>Click <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=703&amp;entry_id=108" title="http://www.the-interweb.com/bdump/ida/hotch-1_0_0.rar" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/hotch-1_0_0.rar';return true;" onmouseout="window.status='';return true;">here</a> to download Hotch 1.0.0 (full source included, of course).</p>
Thu, 10 Jul 2008 20:10:29 +0200http://www.the-interweb.com/serendipity/index.php?/archives/108-guid.htmlRubLib 0.04http://www.the-interweb.com/serendipity/index.php?/archives/91-RubLib-0.04.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/91-RubLib-0.04.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=910http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=91nospam@example.com (sp)
Version 0.04 of RubLib, a high-level API for writing IDA Pro scripts in Ruby, is here. It grew from 125 methods to 163 methods since version 0.03. The most important new features are:<br /><ul><li>Support for function chunks</li><li>The Instruction class was restructured a bit</li><li>The behaviour of the [ ]-operator of the RubLib classes was standardized. It behaves like the [ ]-operator of the standard String class now.</li></ul><a href="http://www.the-interweb.com/serendipity/exit.php?url_id=629&amp;entry_id=91" title="http://www.the-interweb.com/bdump/ida/rublib/rublib-0_04.rar" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/rublib/rublib-0_04.rar';return true;" onmouseout="window.status='';return true;">Download RubLib 0.04</a><br /><a href="http://www.the-interweb.com/serendipity/exit.php?url_id=630&amp;entry_id=91" title="http://www.the-interweb.com/bdump/ida/rublib/index.htm" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/rublib/index.htm';return true;" onmouseout="window.status='';return true;">Online manual, examples, API documentation</a>
Sat, 10 Feb 2007 20:08:35 +0100http://www.the-interweb.com/serendipity/index.php?/archives/91-guid.htmlRubLib 0.03http://www.the-interweb.com/serendipity/index.php?/archives/89-RubLib-0.03.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/89-RubLib-0.03.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=895http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=89nospam@example.com (sp)
<p>Here comes RubLib 0.03, everybody's favourite high-level Ruby library for writing <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=610&amp;entry_id=89" title="http://www.datarescue.com/idabase/index.htm" onmouseover="window.status='http://www.datarescue.com/idabase/index.htm';return true;" onmouseout="window.status='';return true;">IDA </a>scripts. RubLib grew from 88 methods to 125 methods since version 0.02. The most significant addition is probably that users have access to the sections of a file now. Lots of other smaller things were added too.</p><p>I've even begun to write an actual manual for RubLib. <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=611&amp;entry_id=89" title="http://www.the-interweb.com/bdump/ida/rublib/index.htm" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/rublib/index.htm';return true;" onmouseout="window.status='';return true;">Here it is</a>. Make sure to check out the examples section. The entire RubLib API documentation can now be accessed online too (check the end of the manual).</p><p><a href="http://www.the-interweb.com/serendipity/exit.php?url_id=612&amp;entry_id=89" title="http://www.the-interweb.com/bdump/ida/rublib/rublib-0_03.rar" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/rublib/rublib-0_03.rar';return true;" onmouseout="window.status='';return true;">Download RubLib 0.03</a></p>
Thu, 25 Jan 2007 14:00:17 +0100http://www.the-interweb.com/serendipity/index.php?/archives/89-guid.htmlrublib 0.02http://www.the-interweb.com/serendipity/index.php?/archives/75-rublib-0.02.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/75-rublib-0.02.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=754http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=75nospam@example.com (sp)
Did you ever sit in front of IDA thinking &quot;Wow, I think this function would make more sense if all the lines were randomly shuffled&quot;. That's not a problem anymore with rublib 0.02!<br /><br />foo = file[0].map{|l| l.line}.sort_by{rand}<br />foo.length.times{|i| file[0][i].manual_line = foo[i]}<br /><br />And you have the lines of the first function shuffled in random order!<br /><br />OK, this might be a bit useless. But it shows one of the many improvements of rublib 0.02 over yesterday's version. In the new version it's possible to modify values too. In the old version only read access to the IDB database was possible. There are many other improvements in the new version. It's now significantly longer (88 methods according to rdoc), it contains better code, I've added quite a few bug fixes, there's an actual documentation for it, and I've written unit tests to make sure I don't accidentally break things.<br /><br />Let's see some more one-liners.<br /><br />Here's what you do to get all function comments:<br /><br />p file.map{|f| f.comment}.compact<br /><br />Or if you want to get all comments from inside a function:<br /><br />p file[0].map{|l| l.comment}.compact<br /><br />Or if you want to add some TODO reminder to all functions you named but don't yet have a function comment:<br /><br />file.select{|f| f[0].user_name? &amp;&amp; f[0].auto_name? == false &amp;&amp; f.comment == nil}.each{|f| f.comment = &quot;TODO: Add comment&quot;}<br /><br />There are a few things that are on my list of things to do next.<br /><br />First, I need a better name for rublib. I should stop naming my stuff after what it does. Many moons ago there was something on Slashdot that commercial products have names that appeal to the general population while open-source products have names for nerds (Exhibit A: Photoshop vs GIMP). Although I doubt that rublib is something for the general population I'd like to move away from GIMP and towards Photoshop.<br /><br />Second, besides the goal of allowing people to write IDA scripts in as few lines as possible I want to add something that the IDA SDK is missing: Consistency and decent names. Sometimes the IDA SDK names use camelCase and sometimes they_use_underscores, sometimes they use neither. Furthermore names like get_func_qty are not easy to remember compared to number_of_functions. Adding consistent names is relatively easy. Adding consistent behaviour is tricky because no two situations are 100% the same. Sometimes it makes more sense to throw an exception and sometimes it makes more sense to return nil. There's another example. Negative indexes are OK for functions (file[-1] returns the last function in the file) whereas negative indexes are not OK for strings in the string list (file.string_list[-1] throws a RuntimeError).<br /><br />Third, there are a few design issues. One of them is the question whether it would make sense to create a class hierarchy containing all string classes (ansi, unicode, pascal...)? It probably would.<br /><br />Oh well, <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=473&amp;entry_id=75" title="http://www.the-interweb.com/bdump/ida/rublib-0_02.zip" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/rublib-0_02.zip';return true;" onmouseout="window.status='';return true;">here's rublib 0.02</a>. Enjoy.
Sat, 22 Jul 2006 09:58:48 +0200http://www.the-interweb.com/serendipity/index.php?/archives/75-guid.htmlA higher level API for IdaRubhttp://www.the-interweb.com/serendipity/index.php?/archives/74-A-higher-level-API-for-IdaRub.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/74-A-higher-level-API-for-IdaRub.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=740http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=74nospam@example.com (sp)
I'm still dreaming of IdaHaskell for the sheer expressiveness that language provides. Alas, I fear IdaHaskell will remain a dream for years to come. Using IdaRub it is fortunately possible to make a big step towards the expressiveness of Haskell. I have started to develop a higher level API for IdaRub that allows you to do things in fewer lines of code.<br /><br />Here are a few examples.<br /><br />Here's how you get a list of all instructions used in a file:<br /><br />p file.map{|f| f.map{|i| i.instruction}}.flatten.uniq.sort<br /><br />Want to find all functions that start with a 'jmp' instruction? Here you go:<br /><br />p file.map{|f| [f.name, f[0].instruction]}.select{|x| x[1] == 'jmp'}<br /><br />Or what about listing all functions ordered by the number of functions that call them?<br /><br />p file.map{|f| [f.name, f[0].crefs_to.length]}.sort{|x,y| y[1] &lt;=&gt; x[1]}<br /><br />If you want to have a sorted list of all bytes used in the first function you'd do this:<br /><br />p (file[0].start .. file[0].end).map{|x| x.byte}.uniq.sort{|x,y| x-y}.map{|x| &quot;%02X&quot; % x}<br /><br />If you want a list of all unicode string references in the file containing an asterisk the following one-liner would do the job:<br /><br />p file.string_list.select{|x| x.type == 3 &amp;&amp; x.offset.unicode =~ /*/}.map{|x| [x.offset.offset, x.offset.unicode]}<br /><br />I could go on and on and on. The number of one-liners to do neat stuff is nearly endless. It's not quite Haskell yet but I'm reasonably happy.<br /><br />There's also a <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=471&amp;entry_id=74" title="http://www.the-interweb.com/bdump/ida/icnew.rb" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/icnew.rb';return true;" onmouseout="window.status='';return true;">new instruction counter script</a> that makes use of the high level API. The new script is noticibly smaller and prettier to look at. Furthermore you will notice that all output is directed through the new idap function. This function prints to stdout if the script is started from the console (remote mode) or to the output window inside IDA if the script is started from within IDA (local mode).<br /><br />Right now the high-level API is merely a quick one-day hack. Nevertheless you can already do pretty cool stuff with it. You might want to <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=472&amp;entry_id=74" title="http://www.the-interweb.com/bdump/ida/rublib-0_01.zip" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/rublib-0_01.zip';return true;" onmouseout="window.status='';return true;">check it out</a>.
Fri, 21 Jul 2006 09:35:06 +0200http://www.the-interweb.com/serendipity/index.php?/archives/74-guid.htmlFirst experiences with IdaRubhttp://www.the-interweb.com/serendipity/index.php?/archives/73-First-experiences-with-IdaRub.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/73-First-experiences-with-IdaRub.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=730http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=73nospam@example.com (sp)
Some of you might you know that spoonm recently introduced IdaRub to the general public in <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=464&amp;entry_id=73" title="http://recon.cx/en/f/spoonm-idarub.pdf" onmouseover="window.status='http://recon.cx/en/f/spoonm-idarub.pdf';return true;" onmouseout="window.status='';return true;">a talk at ReCon 2006</a>. IdaRub is an IDA plugin that is comparable to <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=465&amp;entry_id=73" title="http://www.d-dome.net/idapython" onmouseover="window.status='http://www.d-dome.net/idapython';return true;" onmouseout="window.status='';return true;">IdaPython</a>. It allows people to write plugins for IDA in yet another language: Ruby. IdaRub 0.07 (including source code, examples and a decent readme file) is available from <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=466&amp;entry_id=73" title="http://www.metasploit.com/users/spoonm/idarub/" onmouseover="window.status='http://www.metasploit.com/users/spoonm/idarub/';return true;" onmouseout="window.status='';return true;">here</a> and there's a <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=467&amp;entry_id=73" title="http://groups.google.com/group/idarub" onmouseover="window.status='http://groups.google.com/group/idarub';return true;" onmouseout="window.status='';return true;">Google group</a> dedicated to the tool.<br /><br />Significantly fewer of you know that I've been beta-testing this tool since version 0.03. This post gives a brief overview of my experiences with IdaRub.<p /> <br /><a href="http://www.the-interweb.com/serendipity/index.php?/archives/73-First-experiences-with-IdaRub.html#extended">Continue reading "First experiences with IdaRub"</a>
Thu, 20 Jul 2006 09:06:29 +0200http://www.the-interweb.com/serendipity/index.php?/archives/73-guid.htmlSome ideas about extending the IDA GUI with pluginshttp://www.the-interweb.com/serendipity/index.php?/archives/65-Some-ideas-about-extending-the-IDA-GUI-with-plugins.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/65-Some-ideas-about-extending-the-IDA-GUI-with-plugins.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=650http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=65nospam@example.com (sp)
The first service pack of IDA 4.9 brought an important change to writing IDA plugins which I doubt many people have noticed. It's now theoretically possible to extend the IDA GUI in any way you like and in a way that's significantly easier than the low-level Win32 API methods already known. The emphasis is still on "theoretically" because even though it's looking really good, a lot of stuff needs to be figured out first. So far the method only works if you write plugins with C++ Builder but in the future it might be possible to make it work with all C++ compilers.<br />
<br />
<br /><a href="http://www.the-interweb.com/serendipity/index.php?/archives/65-Some-ideas-about-extending-the-IDA-GUI-with-plugins.html#extended">Continue reading "Some ideas about extending the IDA GUI with plugins"</a>
Mon, 27 Feb 2006 14:32:57 +0100http://www.the-interweb.com/serendipity/index.php?/archives/65-guid.htmlidadoc 1.00http://www.the-interweb.com/serendipity/index.php?/archives/64-idadoc-1.00.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/64-idadoc-1.00.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=640http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=64nospam@example.com (sp)
I'm going to start a larger project in March which makes it necessary to automatically create documentation from IDA disassemblies. Kinda like <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=401&amp;entry_id=64" title="http://java.sun.com/j2se/javadoc/" onmouseover="window.status='http://java.sun.com/j2se/javadoc/';return true;" onmouseout="window.status='';return true;">javadoc</a> and <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=402&amp;entry_id=64" title="http://www.doxygen.org/" onmouseover="window.status='http://www.doxygen.org/';return true;" onmouseout="window.status='';return true;">Doxygen</a> do for all kinds of languages. My latest plugin idadoc does something like that too. It extracts comments from all parts of an IDA database where I assume useful information about functions is stored. I think this first version already satisfies all my needs but there's also still a lot left to improve.<br />
<br /><a href="http://www.the-interweb.com/serendipity/index.php?/archives/64-idadoc-1.00.html#extended">Continue reading "idadoc 1.00"</a>
Sat, 04 Feb 2006 22:15:23 +0100http://www.the-interweb.com/serendipity/index.php?/archives/64-guid.htmlPorting the InstructionCounter plugin to Pythonhttp://www.the-interweb.com/serendipity/index.php?/archives/63-Porting-the-InstructionCounter-plugin-to-Python.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/63-Porting-the-InstructionCounter-plugin-to-Python.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=630http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=63nospam@example.com (sp)
The latest release of <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=394&amp;entry_id=63" title="http://d-dome.net/idapython/" onmouseover="window.status='http://d-dome.net/idapython/';return true;" onmouseout="window.status='';return true;">IDAPython 0.8.0</a> gave me an incentive to look into the wonderful world of Python for the first time. Equipped with <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=395&amp;entry_id=63" title="http://docs.python.org/tut/tut.html" onmouseover="window.status='http://docs.python.org/tut/tut.html';return true;" onmouseout="window.status='';return true;">the Python tutorial from the official Python website</a> and Google I decided to <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=396&amp;entry_id=63" title="http://www.the-interweb.com/bdump/ida/InstructionCounter.py" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/InstructionCounter.py';return true;" onmouseout="window.status='';return true;">port my InstructionCounter plugin to Python</a>, just to find out how Python and IDAPython work.<br />
<br />
Here are my first impressions of Python:<br />
<br />
1. Despite liberal use of empty lines the Python version is only 48 lines long, compared to the ~150 lines of the C++ plugin. I see four main reasons for this: The C++ plugin has 11 #include directives. It's also necessary to define the plugin structure and some functions IDA expects in the C++ version. If you use IDAPython this is done for you as part of the IDAPython IDA plugin. The third major reason is the lack of lambda expressions in C++ (unless you use something like Boost::lambda). The last reason is that my C++ plugin supports two versions of IDA (4.8 and 4.9) using some kind of conditional compilation which also takes a few lines of code. The actual functional code is pretty much the same in C++ and in Python.<br />
<br />
2. Python string formatting using the well-known printf placeholders in combination with the % operator is pretty cool.<br />
<br />
3. Where is the ternary operator? Seriously. That's the main issue I'm having with Python so far.<br />
<br />
4. I like the Python collections a lot.<br />
<br />
5. I think the : behind if-statements or loops should be dropped. Maybe there's some deeper meaning behind it but so far I've only experienced it as syntax pollution.<br />
<br />
6. Yay for aspects from functional programming (map, filter, reduce, ...).<br />
<br />
7. IDAPython is pretty cool. A perfect intermediate step between IDC scripts and writing entire plugins. I don't think I'll ever write IDC scripts again.
Sat, 21 Jan 2006 18:55:47 +0100http://www.the-interweb.com/serendipity/index.php?/archives/63-guid.htmlIDA InstructionCounter plugin 1.02http://www.the-interweb.com/serendipity/index.php?/archives/62-IDA-InstructionCounter-plugin-1.02.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/62-IDA-InstructionCounter-plugin-1.02.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=620http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=62nospam@example.com (sp)
While checking out some ARM binaries I realized that my InstructionCounter plugin contained a bug which I didn't spot earlier because it doesn't really appear when counting instructions in x86 or 6502 disassemblies. In ARM binaries however the problem became apparent.<br />
<br />
Here's a <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=393&amp;entry_id=62" title="http://www.the-interweb.com/bdump/ida/InstructionCounter-1_02.zip" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/InstructionCounter-1_02.zip';return true;" onmouseout="window.status='';return true;">fixed version</a> which still doesn't work 100% but about 99% and the few mistakes are easily detectable when looking through the results.
Mon, 09 Jan 2006 20:17:05 +0100http://www.the-interweb.com/serendipity/index.php?/archives/62-guid.htmlInstructionCounter plugin for IDA Prohttp://www.the-interweb.com/serendipity/index.php?/archives/57-InstructionCounter-plugin-for-IDA-Pro.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/57-InstructionCounter-plugin-for-IDA-Pro.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=575http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=57nospam@example.com (sp)
The InstructionCounter plugin for IDA Pro is actually the first plugin I've ever succesfully finished. The main reason for this is probably that it's not exactly a very complicated plugin but basically a copy / paste of the template code from <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=355&amp;entry_id=57" title="http://www.binarypool.com/idapluginwriting/" onmouseover="window.status='http://www.binarypool.com/idapluginwriting/';return true;" onmouseout="window.status='';return true;">Steve Micallef's awesome IDA plugin tutorial</a> with just a few extra lines added.<br />
<br />
The plugin counts all instructions used in a file, orders them by their frequency of occurrence and prints all that information to a text file of your choice.<br />
<br />
Here's what the output looks like:<br />
<br />
<pre>Opcode distribution of file: D:\Coding\nes\new\Page_15.idb
Total opcodes: 6390
0001. 001337 20.92% LDA
0002. 001022 15.99% STA
0003. 000589 9.22% JSR
0004. 000260 4.07% RTS
0005. 000205 3.21% AND
0006. 000198 3.10% LDX
0007. 000186 2.91% CMP
0008. 000178 2.79% ADC
0009. 000177 2.77% BNE
0010. 000171 2.68% BEQ
...
</pre>
<br />
The <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=356&amp;entry_id=57" title="http://www.the-interweb.com/bdump/ida/InstructionCounter.zip" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/InstructionCounter.zip';return true;" onmouseout="window.status='';return true;">ZIP file</a> contains the complete Visual C++ source code and the compiled plugin for IDA 4.8 and IDA 4.9.<br />
<br />
There are two minor problems I'm having which are mentioned in the source file. Unfortunately none of the people I bug about my IDA problems have been online in the last few days.<br />
<br />
Furthermore I was convinced that a plugin like that already exists but I didn't find anything at the <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=357&amp;entry_id=57" title="http://www.backtrace.de/" onmouseover="window.status='http://www.backtrace.de/';return true;" onmouseout="window.status='';return true;">IDA Palace</a> when I needed it a few days ago. If there's really already a plugin like that let me know.
Fri, 25 Nov 2005 17:04:03 +0100http://www.the-interweb.com/serendipity/index.php?/archives/57-guid.htmlSyntax highlighting for IDC script files in Crimson Editorhttp://www.the-interweb.com/serendipity/index.php?/archives/26-Syntax-highlighting-for-IDC-script-files-in-Crimson-Editor.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/26-Syntax-highlighting-for-IDC-script-files-in-Crimson-Editor.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=260http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=26nospam@example.com (sp)
<img src="http://www.the-interweb.com/bdump/ida/idacrimson.png" style="float:left; margin-right:20px;margin-bottom:10px">
<br />
<br />I use <a href="http://www.the-interweb.com/serendipity/exit.php?url_id=156&amp;entry_id=26" title="http://www.crimsoneditor.com/" onmouseover="window.status='http://www.crimsoneditor.com/';return true;" onmouseout="window.status='';return true;">Crimson Editor</a> for all my text/script editing needs. Unfortunately it didn't yet support syntax highlighting for IDA's scripting language IDC. Thanks to the easy extensibility of syntax highlighting in Crimson Editor I was able to create syntax definition files for the IDC language. Included in the archive is the Perl script I used to extract the names of the standard functions and macro definitions from the main file of the IDC scripting language, IDC.IDC.
<br />
<br /><a href="http://www.the-interweb.com/serendipity/exit.php?url_id=157&amp;entry_id=26" title="http://www.the-interweb.com/bdump/ida/crimson-idc.zip" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/crimson-idc.zip';return true;" onmouseout="window.status='';return true;">Click here to get the archive including all files</a>.
<br />
<br /><a href="http://www.the-interweb.com/serendipity/exit.php?url_id=158&amp;entry_id=26" title="http://www.the-interweb.com/bdump/ida/idchighlight.png" onmouseover="window.status='http://www.the-interweb.com/bdump/ida/idchighlight.png';return true;" onmouseout="window.status='';return true;">Click here to see a screenshot of Crimson Editor with syntax highlighting for IDC script files</a>.
Fri, 10 Jun 2005 17:51:27 +0200http://www.the-interweb.com/serendipity/index.php?/archives/26-guid.htmlIDA 4.8 arrivedhttp://www.the-interweb.com/serendipity/index.php?/archives/25-IDA-4.8-arrived.html
IDAhttp://www.the-interweb.com/serendipity/index.php?/archives/25-IDA-4.8-arrived.html#commentshttp://www.the-interweb.com/serendipity/wfwcomment.php?cid=250http://www.the-interweb.com/serendipity/rss.php?version=2.0&type=comments&cid=25nospam@example.com (sp)
<img src="http://www.the-interweb.com/bdump/ida/idalogo.gif" style="float:left; margin-right:20px;margin-bottom:10px">
<br />
<br />After working lots of extra hours in the ice mines I've recently managed to cough up enough money to buy IDA Pro from the lovely Belgium-based company <a href="http://www.datarescue.com/" class="bb-url">Datarescue</a>. I've bought it through their German re-seller <a href="http://www.german-sales.com/" class="bb-url">German Sales</a> though because quite frankly the original order form scared me. At the German Sales website I just put the product into the e-shopping cart and went to the order page. That's how I prefer to buy stuff.
<br />
<br />I'm not Richie Rich so I opted for the Standard edition instead of the Professional edition even though it doesn't support the AMD64 CPU which might have come in handy in the future. And because there are plenty of reviews of the product itself I've decided to make one about the ordering process. <br /><a href="http://www.the-interweb.com/serendipity/index.php?/archives/25-IDA-4.8-arrived.html#extended">Continue reading "IDA 4.8 arrived"</a>
Thu, 09 Jun 2005 17:12:38 +0200http://www.the-interweb.com/serendipity/index.php?/archives/25-guid.html