PDA

View Full Version : Labeler?


Anonymous
March 29th, 2003, 03:51
Looking at this plugin right now... Don't really understand how it works. Could someone please explain? Thx!

Gigapede
April 15th, 2003, 08:12
When you find array or struct at constant address, Labeler helps you to set label.

- Show top of array or struct address in CPU dump pane
- Open Labeler dialog
- Set label name, number of array, valiable type
- Push OK button to set label

example 1
Label Name:xxx
Start Address:402000
Number:5
TypeWORD
Index:HEX

address label
402000 : xxx[0]
402004 : xxx[1]
402008 : xxx[2]
40200C : xxx[3]
402010 : xxx[4]

and in Disasm pane you find the label like this
mov [402000],123 -> mov [xxx[0]],123

example 2
Label Name:rect
Start Address:402000
Number:16
Type:struct RECT
Index:HEX

402000 : rect[0].left
402004 : rect[0].top
402008 : rect[0].right
40200C : rect[0].bottom
.....
4020C0 : rect[F].left
4020C4 : rect[F].top
4020C8 : rect[F].right
4020CC : rect[F].bottom