| 332 | MicrocodeInstructionGraphContainer() : m_TW(NULL), m_GV(NULL) {}; |
| 333 | |
| 334 | bool Display(minsn_t *top, sample_info_t *si) |
| 335 | { |
| 336 | mbl_array_t *mba = *si->mba; |
| 337 | m_MG.Build(top); |
| 338 | |
| 339 | m_Title.cat_sprnt("Microinstruction Graph - %a[%s]/%a", mba->entry_ea, si->name.c_str(), top->ea); |
| 340 | m_TW = create_empty_widget(m_Title.c_str()); |
| 341 | netnode id; |
| 342 | id.create(); |
| 343 | |
| 344 | m_GVName.cat_sprnt("microins_%a_%s_%a", mba->entry_ea, si->name.c_str(), top->ea); |
| 345 | m_GV = create_graph_viewer(m_GVName.c_str(), id, migr_callback, this, 0, m_TW); |
| 346 | activate_widget(m_TW, true); |
| 347 | display_widget(m_TW, 0); |
| 348 | viewer_fit_window(m_GV); |
| 349 | return true; |
| 350 | } |
| 351 | }; |
| 352 | |
| 353 | static ssize_t idaapi migr_callback(void *ud, int code, va_list va) |
nothing calls this directly
no outgoing calls
no test coverage detected