main.idc
#include <idc.idc> static main() { auto ea = GetEntryPoint(GetEntryOrdinal(0)); Message("entry point: 0x%x", ea); }