Hi Robin,

I think, it is better to explain it with a little example:

nib...@hal:~/Desktop/bins$ r2 /bin/ls
 -- Deltify your life with radare

[0x00402350]> fs *  <--- Select all namespaces
[0x00402350]> fs
00   sections
01   symbols
02   imports
03   functions
[0x00402350]> f  <--- All the flags are listed
0x00618700 8 sym.optarg
0x006186e0 4 sym.optind
0x00410e34 0 sym._fini
0x00410e34 0 fcn.sym._fini
0x00401d88 0 sym._init
0x00401d88 0 fcn.sym._init
0x00618708 8 sym.stderr
0x006186d0 0 sym.__bss_start
0x00618710 8 sym.stdout
0x006186d0 0 sym._edata
...
[0x00402350]> fs symbols  <--- Select "symbols" namespace
[0x00402350]> fs
00   sections
01 * symbols
02   imports
03   functions
[0x00402350]> f  <--- Only the flags under "symbols" are listed
0x00618700 8 sym.optarg
0x006186e0 4 sym.optind
0x00410e34 0 sym._fini
0x00401d88 0 sym._init
0x00618708 8 sym.stderr
0x006186d0 0 sym.__bss_start
0x00618710 8 sym.stdout
0x006186d0 0 sym._edata
0x00618c70 0 sym._end
0x00402350 0 entry0
...

I hope the example was self-explanatory enough :)

Kind regards,
-- nibble


On Wed, 14 Apr 2010 10:40:28 +0200
Robin Vossen <[email protected]> wrote:

> Hey All,
> 
> 
> How do Flags work in R2?
> I used to catch the flags in r1 at the beginning but now I cant.
> I already figured out it worked better with flag space etc but I just
> cant manage to get it work.
> 
> I do the following:
> <blob>
> 
> % radare2 /bin/ls
> Cannot read block at 0x00218750
> Cannot read block at 0x00218720
> Cannot read block at 0x00218730
> Cannot read block at 0x00218720
> Cannot read block at 0x00218730
> Cannot read block at 0x00218748
> Cannot read block at 0x00218738
> Cannot read block at 0x00218740
>  -- Feedback, bug reports, patches, ideas are welcome to the mailing
> list at radare.nopcode.org
> [0x00002270]> flags
> [0x00002270]> fs *
> [0x00002270]> flags
> [0x00002270]> fs?
> 00   sections
> 01   symbols
> 02   imports
> 03   functions
> [0x00002270]> fs??
> 00   sections
> 01   symbols
> 02   imports
> 03   functions
> [0x00002270]> fs 03
> [0x00002270]> flags
> [0x00002270]>
> 
> 
> </blob>
> 
> 
> So, how does this work..?
> Thanks
> 
> Cheers,
> Robin
> _______________________________________________
> radare mailing list
> [email protected]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to