Fun with Process Stalker and IDAPython

if you use IDA with Process Stalker, you may find useful these two little scripts:

ps_idapy_gen_colorize.py

This parse a gml graph generated by Process Stalker and prints an idapython script which can be used to reflect in the ida graph the color scheme created by Process Stalker.

mark_blocks.py

An idapython script which scans all functions in the current module and sets a (disabled) breakpoint at the start of each block marked purple, which is the color Process Stalker uses to mark “interesting” blocks (see ps_graph_highlight.py). This is useful to have a list of “interesting blocks”.