Fritz
09-18-2004, 07:43 AM
Hello!
I'm tryin' to keygen some target on Linux. I've got pretty good dead-listing, but there are (ofcourse) some arguments that I need to identify. How can i debug it and find it out?
Target is compiled as LKM (linux kernel module).
For dead-listings I'm using Ida Pro under Winblows.
I'm not very newbie at debugging 'usual' programs under Linux (gdb power!:), but I dont know how would i 'put breakpoint' on this and grab info that I need.
I gotta find out arguments like this:
.text:0800341C var_12 = byte ptr -12h
.text:0800341C var_11 = byte ptr -11h
.text:0800341C var_10 = dword ptr -10h
.text:0800341C var_C = dword ptr -0Ch
.text:0800341C arg_0 = dword ptr 8
.text:0800341C arg_4 = dword ptr 0Ch
.text:0800341C arg_8 = dword ptr 10h
.text:0800341C arg_C = dword ptr 14h
.text:0800341C arg_10 = dword ptr 18h
I'm tryin' to keygen some target on Linux. I've got pretty good dead-listing, but there are (ofcourse) some arguments that I need to identify. How can i debug it and find it out?
Target is compiled as LKM (linux kernel module).
For dead-listings I'm using Ida Pro under Winblows.
I'm not very newbie at debugging 'usual' programs under Linux (gdb power!:), but I dont know how would i 'put breakpoint' on this and grab info that I need.
I gotta find out arguments like this:
.text:0800341C var_12 = byte ptr -12h
.text:0800341C var_11 = byte ptr -11h
.text:0800341C var_10 = dword ptr -10h
.text:0800341C var_C = dword ptr -0Ch
.text:0800341C arg_0 = dword ptr 8
.text:0800341C arg_4 = dword ptr 0Ch
.text:0800341C arg_8 = dword ptr 10h
.text:0800341C arg_C = dword ptr 14h
.text:0800341C arg_10 = dword ptr 18h