dion
July 31st, 2007, 09:41
i'm stuck debugging delphi apps.
since i get bored pretty quick, i look for a way to log bps, instead of normal bp in olly. that's when i used conditional log bp. then problem arose.
the first. seems like i can't find a way to display *more than one* param (using expression). i.e. if i want to display eax and ebx value in one line, then : [EAX] [EBX]
the second. it is delphi, so it is pascal style string. i can't use STRING [EAX]. if only... i can use PASCALSTRING [EAX] in olly
the third. what i want is simple. to log a function, complete with input params, and output params. input param still can be displayed somehow. but, output param, i can't think a way.
i only put those cond.log.bp *in* function address range. i do not plan to put it elsewhere, as it'd be stressful work.
as you know, delphi mostly using register to pass parameters. if i put cond.log.bp at the end of function (ret), i still can't find a way to know the register value used before (in start of function). what i can think off, is using plugin to somehow *remember* these values, to be used in this cond.log.bp to display out params.
if any, i want to know, if there's a way to solve this, or there is plugin capable to do this.
rgd
since i get bored pretty quick, i look for a way to log bps, instead of normal bp in olly. that's when i used conditional log bp. then problem arose.
the first. seems like i can't find a way to display *more than one* param (using expression). i.e. if i want to display eax and ebx value in one line, then : [EAX] [EBX]
the second. it is delphi, so it is pascal style string. i can't use STRING [EAX]. if only... i can use PASCALSTRING [EAX] in olly

the third. what i want is simple. to log a function, complete with input params, and output params. input param still can be displayed somehow. but, output param, i can't think a way.
i only put those cond.log.bp *in* function address range. i do not plan to put it elsewhere, as it'd be stressful work.
as you know, delphi mostly using register to pass parameters. if i put cond.log.bp at the end of function (ret), i still can't find a way to know the register value used before (in start of function). what i can think off, is using plugin to somehow *remember* these values, to be used in this cond.log.bp to display out params.
if any, i want to know, if there's a way to solve this, or there is plugin capable to do this.
rgd