Commit graph

149 commits

Author SHA1 Message Date
jvoisin
600c6cfaf2 Coverifix 2015-02-28 14:32:39 +01:00
pancake
d8f96a765d Fix android build and bin/d installation issue 2015-02-23 01:55:35 +01:00
jvoisin
a61ea4e70a Coverifix++ 2015-02-19 01:53:11 +01:00
jvoisin
7a1975bd06 Add some comments for graphs + coverifix 2015-02-17 17:03:16 +01:00
pancake
416873216c Fix symbol override and memleak in pf 2015-02-09 10:06:17 +01:00
Skia
efdefb2299 pf - Complete issue #1636: accessing specific elem in an array 2015-02-08 17:40:09 +01:00
Skia
317a173d47 pf - Complete issue #1636: accessing specific elem in an array 2015-02-08 00:22:17 +01:00
pancake
383e225135 Fixes on top of the clang-warn-fix commit 2015-02-05 10:57:28 +01:00
Jeffrey Crowell
bf943e8729 coverifix 2015-02-05 00:29:59 -05:00
Skia
06a57bddc4 Improve pf display 2015-02-05 02:30:20 +01:00
Skia
cf5057a229 pf: Implement unions 2015-02-05 02:30:20 +01:00
jvoisin
1facea2766 Fix two minor warnings 2015-02-03 15:53:51 +01:00
Skia
c78b0968d6 Refactor pf. Function is now more clear and readable 2015-02-03 11:50:45 +01:00
Skia
92b205d3ac Fix #1342: add escaping char feature in pf 2015-02-01 02:59:14 +01:00
Skia
e713f16b28 Fix flags in pf 2015-01-29 02:59:19 +01:00
pancake
94bdaf75d9 Fix all pf warnings 2014-12-22 11:55:07 +01:00
pancake
c8458d3379 Fix build 2014-12-19 14:59:18 +01:00
pancake
af49b74b49 Fix #1866 - pf.a.b crash 2014-12-19 13:16:04 +01:00
Skia
58375097ae Fix coverity pf leak by cleaning the function up
CID fixed:
	1258915
	1258912
	1258911
2014-12-19 12:02:10 +01:00
Skia
4a8d7e6875 Refactor cmd_print_format into r_print_format
* Enable nested specific fields access for reading and writing
* Fix pf: json regression
2014-12-17 11:34:54 +01:00
pancake
12f598d77d Fix crash in pfj 2014-12-01 23:30:32 +01:00
pancake
adce73673f Fix two ASAN crashes for pf 2014-11-26 01:03:48 +01:00
Julien Nabet
e20728ec15 cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it 2014-11-16 18:13:06 +01:00
Skia
36cd87a6e1 Fix issue #1651 2014-11-10 01:55:09 +01:00
pancake
6555402bf5 Fix warning 2014-11-01 22:12:05 +01:00
Skia
9964f3e7fa Finish pfs 2014-11-01 22:11:12 +01:00
Skia
21e40d9a73 Fix CID 1250448 2014-11-01 22:11:12 +01:00
Skia
8c19b32810 Revert "Simplify code to fix COV 1250448"
This reverts commit d49373bcb3.
2014-11-01 22:11:12 +01:00
pancake
d49373bcb3 Simplify code to fix COV 1250448 2014-11-01 10:35:30 +01:00
pancake
8e29c0ef9d Initial implementation of the & command. Bump capstone 2014-11-01 04:46:33 +01:00
Skia
897cdcd45c Add pfs to print struct size 2014-11-01 04:23:51 +01:00
Skia
367aaa878b Improve linked list display in pf 2014-11-01 04:23:51 +01:00
Skia
4c70e1aa65 Fix pf 2014-11-01 04:23:51 +01:00
Skia
f7929e1801 Add timestamp support in pf 2014-10-31 02:52:45 +01:00
Skia
b94c28b34a Fix nested struct output 2014-10-31 02:52:45 +01:00
pancake
92b167bbdd Add r_buf_read/write methods using CUR, fix some more warnings 2014-10-29 22:12:16 +01:00
Skia
e64f0458d3 Fix json output for enum, bitfield, char and byte 2014-10-28 09:59:47 +01:00
Skia
231064047c Improve enum and bitfield names in pf
Remove the use of null char for non printable chars
English fix
2014-10-26 23:55:49 +01:00
Skia
d54abd6739 Colorize the pf help 2014-10-26 23:52:56 +01:00
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
Skia
cd4d25f92b Make json online 2014-10-26 02:18:13 +01:00
Skia
509f9558f7 Fix #1523 2014-10-26 02:47:34 +02:00
Skia
dc8e1ba712 Make pfj (JSON output) 2014-10-26 02:47:34 +02:00
pancake
329bc84488 Add 'pfo' to open format description files 2014-10-21 11:49:33 +02:00
Maijin
7b55e920f0 Update Enum/Bitfield Help 2014-10-15 02:53:20 +02:00
Skia
8e7c4c67be Fix double bitfield and double enum in pf 2014-10-13 16:29:03 +02:00
Skia
6e0285ab90 Fix pf 2014-10-07 17:59:58 +02:00
Skia
f5a150c0ed Fix pf 2014-10-01 12:05:41 +02:00
Maijin
461ffd6907 Fix #1393 and update other pf help messages 2014-09-28 01:47:57 +02:00
Maijin
c3461856e2 Fix Enum moving cursor 2014-09-25 21:46:50 +02:00
pancake
fe078aef9a Little enhacement for pf enum 2014-09-23 16:12:13 +02:00
pancake
5a2c50f8dc Handle sized bitfields and enums in pf 2014-09-23 16:07:18 +02:00
pancake
931c358d46 Minor fixes for bitfield/enum 2014-09-23 15:24:56 +02:00
Skia
baf8a068b7 Fix CID 1240150, 1240149, 1240151 2014-09-23 10:25:18 +02:00
pancake
bd3b5fe636 More fixes for bitfield prints 2014-09-22 18:08:29 +02:00
pancake
d6aeae624f Implement te,tb,tk and pf E, pf B to handle enum and bitfields 2014-09-21 01:39:18 +02:00
pancake
46ccb5e361 Fix pf x? (b)ee ;pf.a crash 2014-09-20 22:58:46 +02:00
Skia
be6f55b772 Make the [] in pf work like an array (#1349) 2014-09-17 15:58:44 +02:00
Skia
f21748d465 Make the code cleaner and more readable in pf 2014-09-17 15:58:38 +02:00
Skia
951c07b03e Make pf* work and Fix #1349 in pf 2014-09-15 23:07:01 +02:00
pancake
058cae62f2 Set new separator for nested struct in pf 2014-09-15 22:56:31 +02:00
pancake
8be98f3d82 Use () instead of [] for casting nested structs in pf 2014-09-15 00:36:49 +02:00
pancake
3dd52c3d22 Quote the 'w' command for better write strings from pf. Need string filtering 2014-09-13 12:01:36 +02:00
pancake
1882ea8e5a Fix #1320 - crash in pf 2014-09-13 00:36:50 +02:00
Skia
ff626df236 First implementation of pf*
Doesn't work for nested struct yet...
2014-09-09 22:20:18 +02:00
Skia
164ced622b Add more types to compute the struct size in pf 2014-09-09 22:20:18 +02:00
pancake
7fde96ea63 Add some header structs for MACH0 and fix some for ELF (rabin2 -rk '' related) 2014-09-08 12:20:50 +02:00
pancake
34f6c3d06b Fix pf? 2014-09-06 04:22:42 +02:00
pancake
e161a915dd Fix #1276 - Extend 'Vd' to support more types #1276 2014-09-03 10:26:41 +02:00
Anton Kochkov
46e127c73a Fix wrong type specifier in eprintf 2014-08-31 16:10:38 +04:00
jvoisin
f7d6be76bd Fix some Hyask coverity issues 2014-08-31 02:10:12 +02:00
Skia
384dcb4f45 Add support for nested structs in pf 2014-08-26 16:45:25 +02:00
jvoisin
57ea0f76fb Fix a typo 2014-08-02 14:47:58 +02:00
jvoisin
ad51f30c23 Final refactoring for pf 2014-08-02 02:19:43 +02:00
jvoisin
b71e52c7b1 Refactor pf implementation 2014-08-01 19:33:52 +02:00
jvoisin
a8ec8805d8 More LISP-correctness 2014-08-01 17:57:50 +02:00
pancake
bebaba0a0b Fix CID 1229476 with Lisp 2014-08-01 11:46:08 +02:00
pancake
be94a4dee2 Fix all pf tests 2014-08-01 00:15:17 +02:00
Skia
3804df5456 Improve 'pf' 2014-07-30 22:19:02 +02:00
Skia
ebad863e02 Fix name align in 'pf' 2014-07-28 04:08:14 +04:00
Skia
6350fe766e Fix pointer display in 'pf' 2014-07-28 04:08:14 +04:00
jvoisin
6e662abd91 Fix some minor gcc warnings 2014-07-22 00:24:37 +02:00
pancake
7e06e13b3b Fix #1133 - gdbr warnings, and some other 2014-07-21 18:19:31 +02:00
Skia
713606a90d Implement X in 'pf', and update the help 2014-07-17 10:31:02 +02:00
Skia
bbcddaf64a Implement [nb] for widechar in 'pf' 2014-07-17 10:31:02 +02:00
Skia
44430523c9 Remove trailing spaces in some 'pf' 2014-07-17 10:31:02 +02:00
Skia
b8f572c9ae Implement [nb] for pf 2014-07-17 10:31:02 +02:00
Skia
75b331d114 Add pf.obj.str=bar and fix some more 'pf' issues 2014-07-17 04:18:09 +02:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
Anton Kochkov
e0c0e18ee6 Fix CID #1134958 2014-04-25 04:58:48 +04:00
pancake
784a1d2a72 Import radare2-capstone asm/anal plugins 2014-03-07 04:15:45 +01:00
pancake
d100e603c9 Fix #157 - sandbox issue in webui
- add 'f' and ':' print formats
- fix nocolor disasm artifact
- add VW command to launch webui
- rename sN to sp (seek to previous hit)
2013-10-09 00:29:49 +02:00
pancake
05df20f411 Update sdb, more work on types 't' 2013-08-13 03:23:39 +02:00
pancake
59820d6b14 Implement pointer arithmetics in 'pf', 't?' and 'td'. 2013-08-11 14:23:51 +02:00
pancake
3cf0dd1407 Fix the last bugs found during the training
Comments lost spaces when saved to the project
Do not show address offsets when using @@=
Do not fail forever with /m if magic is file not found
2013-03-08 01:03:37 +01:00
pancake
fc6e799c26 Add pfD (disasm). Fix VI and Vi with+without cursor
Simplify r_print_string
Fix r_io write boundaries
2013-02-25 09:36:07 +01:00
pancake
e9c38878de Fix endian stuff in r_print 2013-02-22 21:05:08 +01:00
pancake
dc2690e529 Support get/set introspection in 'pf' and handle scr.stride in px
Rename pf$ to pf.
Add support for introspecting and setting named pf fields
Introspection supports get and set
Add scr.stride property for 'px'
Initial work on slist
Add judy arrays implementation (not integrated)
2013-02-01 03:15:48 +01:00
pancake
fc9301b14b Add hints and named print formats and more
Initial implementation of anal hints (ah?)
Use anal hints in core/disasm. Needs more work
New data structure StrHT (string hashtable)
Simplify core/libs.c with cpp macros
Added r_cons_color() wip function for ansi256 consoles
RPrint no longer depends on r_cons
Sort 'a?' help commands
Add support for named print formats with pf$ command
Add support for 64 bit string pointers in 'pf' ('S')
Add r_print_mute and r_print_format_length functions
Bump r2 nodejs bindings version number
Merge r_print into r_util
2013-01-22 05:06:12 +01:00
Renamed from libr/print/format.c (Browse further)