TransWikia.com

How to calculate Opcode Length from Ollydbg

Reverse Engineering Asked on June 10, 2021

Suppose I reverse a dll, and searching for a Function, say for instance Send(), I have reversed the ws2_32.dll now How Can i calculate the number of bytes from there to know that i need 5 bytes of instruction using say ollydbg or immunity debugger??

I am very new to this and I do not want to use a disassembly library like Minhook and Microsoft Detours. Just something done manually.

One Answer

In Ollydbg it shows the opcodes to the left of the instructions you are currently looking at, inside of the disassembly view.

There isn't anything to calculate, its already there. You can just extract that then get the length through what opcode range you are looking at.

Answered by Graham on June 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP