Commit graph

62 commits

Author SHA1 Message Date
pancake
089ee49261 Fix #4410 - aai command to show analysis statistics info 2016-03-29 00:39:50 +02:00
Riccardo Schirone
81555efde2 flags: use name instead of realname as the key field of a flag item
flags: remove r_flag_set_name API because not consistent
       the right way to change the name of a flag item is by using
       r_flag_rename. the old api has been then marked as static and
       refactored.
2016-02-22 18:21:25 +01:00
Riccardo Schirone
23006460c1 flags: refactoring of r_flag_set
flags: remove dup parameter from r_flag_set
2016-02-22 18:21:25 +01:00
Riccardo Schirone
b80c635aba flags: refactoring of the APIs to unset a flag item
flags: free items when using unset_name, unset_off or unset_glob
2016-02-22 18:21:25 +01:00
Riccardo Schirone
a13d21cce7 flags: start fixing some style issues and add comments to the API
* remove format and cmd from RFlagItem because not used
* remove space_idx2 from RFlag because not used
* remove some dead code (USE_SDB and USE_BTREE)
* move around some functions
2016-02-22 18:21:25 +01:00
Y. Sapir
66225b9ee1 Filter unselected flagspaces in r_flag_get_at. 2016-01-15 03:11:55 +01:00
pancake
d91df64286 Initial support for 'an' aka no-return analysis points 2015-11-12 13:47:44 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
7e9c260254 Enhace the Material WebUI and add fs-. command,
- Rebumped Overview
  - Show info in columns
  - Show fortunes
- Handle Ctrl+[0-9]
- Analyze refs and show entire function from pd
- Search more stuff (magic,hex,rop,code,..)
- Script panel
- Lists using tables
2015-07-17 11:21:04 +02:00
pancake
22c9b3f0fe Fix #2628 flags offset hashtable issue and Fix #2607 ELF relocs 2015-05-29 00:51:57 +02:00
pancake
3c99fc7ebc Handle f*pfx to list flags with base prefix r2 format 2015-05-07 12:12:55 +02:00
pancake
6ab06a15ba Various fixes for DEX and Dalvik support 2015-04-11 04:33:37 +02:00
pancake
3734f203a1 Fix #2258 - Add flagspace-push/pop and use regs flagspace int the debugger 2015-04-03 20:38:34 +02:00
pancake
d08015cf66 Add f--, fs-*, o--, enhace Po a lot
- Handle all internal information deinitialization in:
  - flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
03ab85d632 Show all flags in disasm on every offset 2015-01-17 01:56:20 +01:00
jvoisin
a8937732b8 Fix all 'warning: function declaration isn’t a prototype [-Wstrict-prototypes]' 2015-01-13 03:40:35 +01:00
pancake
bfbf336a22 Fix #1691 - Add comments, xrefs and flags in pdj
jump lines should be done in the client side. all the
information required to do the lines is in this json.
2014-11-20 01:14:47 +01:00
pancake
bd618dccf2 Implement RFlagBind and use it from RAnal. Add 'ask' command 2014-09-26 14:24:33 +02:00
pancake
710b97610b Properly honor asm.demangle for symbol names 2014-09-24 11:37:59 +02:00
pancake
0931f502ed Implement asm.demangle and bin.demangle, add 'fn' to display realname of flags 2014-09-24 03:01:18 +02:00
pancake
64245f1be8 Add 'fa' command to support flag aliases 2014-09-01 02:24:38 +02:00
pancake
2a2e25114c Implement 'fc' command to set color to flags. Useful for 'pxa' 2014-08-19 01:47:02 +02:00
pancake
2397c956c9 Use R2_ as unique header guard prefix 2014-03-27 16:34:17 +01:00
pancake
d3af1ea077 Fix #723 - header guards conforming to C standards 2014-03-27 02:32:26 +01:00
pancake
d55212a17a Fixes for p= and add 'fm' to move flags 2014-03-02 05:41:45 +01:00
pancake
302328a76c Fix #203 - Call to a section + some more work on utf8 2013-09-03 22:45:43 +02:00
pancake
eabb791936 Add r_flag_relocate() and 'fR' command 2013-08-29 03:19:16 +02:00
pancake
2cbce80f2f Add __cplusplus extern "C" boilerplate everywhere 2013-06-18 12:09:23 +02:00
pancake
bc0104563b Initial support for runtime versioned libraries
- This check will ensure you are running the latest r2 version.
2013-06-14 02:51:33 +02:00
pancake
26a7854dd6 Rewrite DEX parser 2013-04-25 03:42:17 +02:00
pancake
ba3ad8112a ELF parser more permissive, add 'fsr' and other fixes
Make ELF loader more permissive
Add 'fsr' to rename flagspaces
Fix parsing issue in 'yy'
Fix crash in r_num
2013-03-07 23:47:41 +01:00
pancake
18ff639bd6 Add 'fj' and 'fsj' commands to show json instead of blocks 2013-01-17 03:29:46 +01:00
pancake
674c732f53 Implement 'fb' command and enforce 'fr' rules 2012-11-13 03:25:07 +01:00
pancake
5ae5849992 Implement support to associate comments to flags 2012-10-26 10:00:22 +02:00
Anton Kochkov
e075a18b56 Types cleanups 2012-07-22 12:01:39 +04:00
pancake
76b68079ee * Handle int3 on x86 as a trap instruction instead of SWI
* Make 'fd' work without arguments
* Added r_flag_get_at () to handle deltas
  - Show it in visual title
  - Used by 'fd'
* Colorize trap instructions in bright red
2011-11-22 01:42:16 +01:00
pancake
c9faf9f88b * Do not load strings if project is already loaded
- Added bin.strings eval key
* Fix range check for anal/meta
* Do not exit(1) when write error on console
* Added 'ad' command to analyze data
  - Find trampolines from data to text f.ex
  - Supports 32 and 64 bit archs
* flags/name moved to util/name

--HG--
rename : libr/flags/name.c => libr/util/name.c
2011-06-04 05:27:26 +02:00
pancake
6099a388f6 * Reimplement r_flag using RHashTable64
- Much faster (over ninethousand)
  - Must do the same for code analysis stuff
  - Added test case
* Implement r_str_glob ()
2011-05-21 21:05:21 +02:00
pancake
035027fde3 * Remove silly (ignored) messages in swig/ when target already built
* Fix r_flag_space_get signature
2011-02-17 01:34:29 +01:00
earada
c089297bd8 * Add print zoom mode 'pZ'
* Visual zoom mode 'z'
* r_print now uses RIOBind
* Add r_flag_space_get
2011-02-17 00:58:54 +01:00
Nibble
5742b10641 * Remove remaining fastcall stuff from r_asm
* Fix build for bindings
2011-02-04 18:34:20 +01:00
pancake
7454f9f224 * Add missing method definitions in r_flags vapi 2011-01-06 23:20:18 +01:00
earada
cf1d6a1d78 * Use RList in RFLags 2010-12-24 00:51:01 +01:00
pancake
53843bb8ab * Added static version of 'sw' in doc.sw/sw
- main repo only works in cgi mode..
* Fix 'z*' command
  - Display bytes when listing 'zb'
* Drop unused 'RList*' from RSignItem
* Add missing definition of r_flag_rename
2010-07-21 00:05:33 +02:00
pancake
ade05c9aeb * Display some string references on x86
* In 'pd' display strings as text, not opcodes
* Added 'Vdu' command to undefine metadata and flags on cursor
* Better support for visual cursor
* Added f-@ command to undefine flags at given address
* Fix parse of C* commands
* Added C- and C[xXsSm..]- to unset metadata
* Disable cursor when quitting visual mode
2010-06-21 01:58:45 +02:00
Nibble
7abcfe6852 * Refactoring
- Remove all init functions (included in _new)
  - Update vapi's (needs more work)
2010-05-20 17:40:58 +02:00
pancake
96bf343a4b * Added doodle results in main TODO file
* Added r_flags.vapi in r2-swig
  - Add example usage
  - Add missing r_core.deps
    - There are some bugs there while accessing inner fields of RCore :/
2010-04-09 17:13:35 +02:00
pancake
d468580c3c * Fix one-byte overflow in r_cons_memcat
* Fix flagSort command (fS)
  - sort by name is now done by strcmp
  - str_hash and str_hash64 are not enought
* Use r_cons in flag/t .. we must drop this dependency
* Add 'all-flagspaces' entry in Vt menu
  - When switching back to visual mode, the
    print mode is not lost
* Some code cleanup
2010-04-09 13:24:40 +02:00
pancake
db3aa272b0 * Add 0xeb (short jmp) in modify asm x86 plugin
* Add help for 'fs' command
* Added 'fS' command to sort by offset (fSo) or name (fSn)
  - Current r_flag_sort breaks the linkedlist
2010-04-09 11:32:17 +02:00
Nibble
8d4172972d * r_bin
- Add field bits to RBinInfo
  - Make r_bin_*_get_arch compatible with r_asm
* rabin2
  - List sections before anything else
  - Add "e asm.bits x" to "rabin2 -ir" output
* r_flags
  - Remove r_flag_set_base
* r_io, r_core
  - Now r_io handles all the va related stuff
  - Execute rabin2 with the flag -v if io.va = true
2010-02-21 11:35:49 +01:00