📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  removing comments

Topic created on: August 29, 2008 19:46 CDT by gregben .

I realize ':' and ';' add comments to a listing.
How do you remove comments?

  GynvaelColdwind     August 29, 2008 20:24.59 CDT
The simplest way is to press ';' or ':' again and delete the comment text, it will make the comment disapear.

  gregben     August 29, 2008 21:05.09 CDT
> GynvaelColdwind: The simplest way is to press \';\' or \':\' again and delete the comment text, it will make the comment disapear.

Thanks.

I'm having trouble deleting the comments I added.
Here's what the screen looks like:

ROM:076C ; ---------------------------------------------------------------------------
ROM:076C HL
ROM:076C BC
ROM:076C
ROM:076C memcpy:                                 ; CODE XREF: ROM:0771j
ROM:076C                                         ; sub_07B5+8p ...
ROM:076C                 mov     a, m
ROM:076C HL = source addr
ROM:076C BC = destination addr
ROM:076C E = number of bytes to copy
ROM:076C A is used for temporary storage
ROM:076D                 stax    b
ROM:076E                 inx     b
ROM:076F                 inx     h
ROM:0770                 dcr     e
ROM:0771                 jnz     memcpy
ROM:0774                 ret

Notice my comments (HL, BC, HL=source address, etc.)
don't have any comment symbol ';' in front of them. I tried
selecting this text and pressing the 'delete' key but this
didn't work either. It would be nice to see a 'low-level', row-by-row
view of the 'database' to help determine what is going on.

  BegPardon     August 29, 2008 22:46.44 CDT
That's a posterior comment.  Press shift-insert to edit it.  (That's what you pressed originally to create it...)

  gregben     August 29, 2008 23:57.01 CDT
This worked, thank you. I will see if I can figure out how to
use different coloring for the various comment styles to
make it easier to differentiate them

  BegPardon     August 30, 2008 01:12.43 CDT
No need for coloring to differentiate them:  if the comment follows the disassembly on the right-hand side of the display, it's either a ';' or ':'.  If the comment is on its own line and succeeds a disassembly line, e.g.

ROM:076C                 mov     a, m
ROM:076C HL = source addr

Then it is a posterior comment.  If it precedes the disassembly listing, e.g.

ROM:076C HL = source addr
ROM:076C                 mov     a, m

Then it's an anterior comment (ins).

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit