main.idc
#include <idc.idc> static main() { auto ea = 0x01012475; auto max = ea + 100; for(; ea < max; ea = NextHead(ea, BADADDR)) { Message("addr: 0x%x\n", ea); } }