Skip to main content
typo
Source Link

In cutter you have an option under right mouse button click to set a label for a particular value.

enter image description here

Or you can use Shift+N to activate that.

From r2 you can get the same behavior by issuing a f name = addr command.

| f name 12 @ 33 set flag 'name' with length 12 at offset 33 | f name = 33 alias for 'f name @ 33' or 'f name 1 33' 

One caveat,it has to start from label. to be inlined in your disassembly. If not it will show up as a comment (not sure if that can be controlled)

So in your case it would be f label.DosVerisonDosVersion = 0x11

In cutter you have an option under right mouse button click to set a label for a particular value.

enter image description here

Or you can use Shift+N to activate that.

From r2 you can get the same behavior by issuing a f name = addr command.

| f name 12 @ 33 set flag 'name' with length 12 at offset 33 | f name = 33 alias for 'f name @ 33' or 'f name 1 33' 

One caveat,it has to start from label. to be inlined in your disassembly. If not it will show up as a comment (not sure if that can be controlled)

So in your case it would be f label.DosVerison = 0x11

In cutter you have an option under right mouse button click to set a label for a particular value.

enter image description here

Or you can use Shift+N to activate that.

From r2 you can get the same behavior by issuing a f name = addr command.

| f name 12 @ 33 set flag 'name' with length 12 at offset 33 | f name = 33 alias for 'f name @ 33' or 'f name 1 33' 

One caveat,it has to start from label. to be inlined in your disassembly. If not it will show up as a comment (not sure if that can be controlled)

So in your case it would be f label.DosVersion = 0x11

Source Link

In cutter you have an option under right mouse button click to set a label for a particular value.

enter image description here

Or you can use Shift+N to activate that.

From r2 you can get the same behavior by issuing a f name = addr command.

| f name 12 @ 33 set flag 'name' with length 12 at offset 33 | f name = 33 alias for 'f name @ 33' or 'f name 1 33' 

One caveat,it has to start from label. to be inlined in your disassembly. If not it will show up as a comment (not sure if that can be controlled)

So in your case it would be f label.DosVerison = 0x11