Monday, March 7, 2011

How to Disassemble DLL on Linux


1. Log in to the Linux computer as a user with read privileges for the DLL file. Start a command shell by logging in in text mode.
2. Navigate to the directory where the DLL file is, by typing the following command into the shell:cd /home/anitra/dllsReplace '/home/anitra/dlls' by the absolute path to the DLL's directory. Press 'Enter.'
3. Disassemble the code in the DLL by typing the following command into the shell:objdump -C --disassemble library.dllReplace 'library.dll' with the name of the DLL file. Press 'Enter.' The '-C' option to 'objdump' decodes low-level symbols into human-readable, user-level names. The output of 'objdump' will be a complete disassemble of the code contents of the DLL file.