Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ollydbg2 plugin problem

Featured Replies

Posted

I have plugin header converted to include for masm32 and my plugin works fine

but i have a a problem with my 2 submenu entry with a one submenu works but not with 2

Then WSTR is a macro for convert to unicode

have you an idea if this not works?

Example Menu:

OllyPluginExample-

................- Options

................-About

t_menu    STRUCT
Name1 DWORD ? ; Menu command
help DWORD ? ; Explanation of command
shortcutid DWORD ? ; Shortcut identifier, K_xxx
menufunc DWORD ? ; Function that executes menu command
submenu DWORD ? ; Pointer to descriptor of popup menu
;union t_menu
index DWORD ? ; Argument passed to menu function
hsubmenu DWORD ? ; Handle of pulldown menu
;ENDS
t_menu ENDS
WSTR PluginName,"OllyPluginExample"
WSTR PluginInfo,"Plugin Info"
WSTR PluginOption,"Options"
WSTR PluginOptionInfo,"Option info"
WSTR PluginAbout,"About"
WSTR PluginAboutInfo,"About info"
;Menu command,
;Explanation of command
;Shortcut identifier, K_xxx
;Function that executes menu command
;Pointer to descriptor of popup menu
;Argument passed to menu function
;Handle of pulldown menuMainMenu t_menu <PluginName,PluginInfo,K_NONE,MenuHandler,Options ,0>
Options t_menu <PluginOption, PluginOptionInfo,K_NONE,MenuHandler,NULL,1>
About t_menu <PluginAbout,PluginAboutInfo,K_NONE,MenuHandler,NULL,2>;// Plugin menu that will appear in the main OllyDbg menu. Note that this menu
;// must be static and must be kept for the whole duration of the debugging
;// session.
;static t_menu mainmenu[] = {
; { L"Pluginname",
; L"Plugin Info",
; 0, MenuHandler, NULL, 0 },
; { L"Option",
; L"Option Info1",
; 0, MenuHandler, NULL, 0 },
; { L"|About",
; L"About info",
; 0, MenuHandler, NULL, 0 },
; { NULL, NULL, 0, NULL, NULL, 0 }
;};

Or can any translate it correct please?

Thanks all

Edited by ragdog

I think 'OllyDbg2' plugin coding is very delicate work...

If one menu is disappeared, check 't_menu' structure values of disappeared menu, In memory.

If 't_menu' structure has invalid value, that menu is not work.

good luck ~ :)

  • 2 weeks later...
ida_sigs_pluginmenu    		 t_menu <uni$("Apply IDA Signatures"),uni$("Apply IDA Signatures Info"),K_NONE,MenuHandler,NULL,1>
t_menu <uni$("About"),uni$("About info"),K_NONE,MenuHandler,NULL,2>
t_menu <0,0,K_NONE,0,NULL,0>
  • 1 month later...
  • Author

Hi

I coding on a new olly2 plugin now ist the question

What for a olly api fill the listbox (matching labels) on the expressions dialog?

Decodeadress convert a adress from jump or call to a symbolic name

before i use Decode address must i find all jumps and calls

was is the Olly api for it

Findglobaljumpscallsto or Findlocaljumpscallsto?

and how i can use this apis?

Greets,

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.