There was an error while loading. Please reload this page.
1 parent 4fef5a5 commit f3ccebeCopy full SHA for f3ccebe
WinIoCtlDecoder/WinIoCtlDecoder/WinIoCtlDecoder.cpp
@@ -135,10 +135,10 @@ int idaapi plugin_callback(
135
{
136
case hxe_right_click:
137
138
- // If the current item is non zero const, then add the menu item
+ // If the current item is non zero number, then add the menu item
139
auto window = va_arg(va, vdui_t*);
140
- if (window->item.is_citem()
141
- && window->item.e->is_non_zero_const())
+ const auto number_obj = window->get_number();
+ if (number_obj && number_obj->_value)
142
143
add_custom_viewer_popup_item(
144
window->ct,
plugins/WinIoCtlDecoder.plw
512 Bytes
0 commit comments