Commit Graph

58 Commits

Author SHA1 Message Date
pancake
eac93d5261 Fix #3186 - search.align ignored by /c 2015-09-07 03:13:34 +02:00
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
pancake
6f90213211 Set debug bits when changing asm bits 2015-08-31 12:46:29 +02:00
Jeffrey Crowell
641aec0899 fix compiler warning 2015-07-08 14:19:41 -04:00
Jeffrey Crowell
f5095cff88 add regexp to /c/ 2015-07-08 14:02:48 -04:00
Álvaro Felipe Melchor
daf8e5b06f Fix some infers 2015-06-28 20:15:35 +02:00
jvoisin
59a64235d5 Improves a bit /c
- Results are not separated by `;`
- `;` is now used as a separator instead of `,`
2015-05-02 14:16:24 +02:00
Jeffrey Crowell
8755625348 clean up bwdisassemble 2015-04-12 11:58:58 -04:00
Jeffrey Crowell
1549cd84bb fix pd -x for the last time? 2015-04-12 11:46:59 -04:00
pancake
595616de99 Changes in pd-x and handle .lsp files for newlisp r2pipe 2015-04-08 15:40:06 +02:00
pancake
dbe0972610 Fix pd -x and pD -x : It can be heavily reworked. 2015-04-03 02:24:23 +02:00
pancake
7bda81d6d0 Add /A and s/A to search for opcodes of specific type.
-Add OP.Type.FPU and OP.Type.PRIV (wip)
2015-03-04 00:46:59 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00
Jeffrey Crowell
0d0e5b2a5f fix bwdisassemble to not give garbage instructions. 2015-02-01 23:51:23 -05:00
Alvaro Muñoz
c24a16f51d some checks for pd -xx segfault 2015-01-30 02:10:24 +01:00
pancake
0d7c08ca81 Implement search.maxhits 2014-12-23 00:33:09 +01:00
pancake
ef69adb7f4 Better relocs in disasm and support reloc resolution by ordinal on PE
- Include OLEAUT32 and WS2_32 ordinal-symbol tables
2014-12-21 04:18:56 +01:00
pancake
3976dc49d2 Fix previous commit memleak and handle <=N bwdisasm 2014-12-20 19:09:29 +01:00
Alvaro Muñoz
1763def25f fix #1878 2014-12-20 19:03:54 +01:00
Alvaro Muñoz
73980bf617 Disasm fixes, fix backward disasembly, make pdj not behave as pDj 2014-12-18 00:29:31 +01:00
pancake
8bdea8eea3 Fix several build issues to make crosscompilation and w32 happy 2014-12-07 20:05:24 +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
jvoisin
44ac7ec2a4 Implement backward disasm for most commands and remove pdn 2014-08-24 03:21:06 +02:00
jvoisin
359846b0d1 Fix some buffer overflow 2014-08-18 14:22:36 +02:00
Anton Kochkov
bd51fcaab6 Fix 1208754 2014-05-15 04:48:17 +04:00
pancake
216c183b6e Remove tons of useless 'if (x) free (x)' 2014-05-09 17:40:28 +02:00
pancake
731fc03a29 FIx #905 - assemble rdtsc and fix /c 2014-05-09 10:39:56 +02:00
Anton Kochkov
0dd2d3578f Fix build 2014-05-03 15:55:51 +04:00
Anton Kochkov
b22ba5e576 Fix CID 1134908 2014-05-03 15:40:37 +04:00
Anton Kochkov
3115a0cd03 Fix CID 1134906 2014-05-03 15:38:32 +04:00
Anton Kochkov
f6cf2b9118 Fix CID 1134904 2014-05-03 15:30:15 +04:00
Anton Kochkov
d9a9c8b78a Fix CID 1134758 2014-05-03 03:40:03 +04:00
fr33tux
3d801f90ff Remove r_list_destroy, replaced it by r_list_purge 2014-05-03 01:27:10 +02:00
Anton Kochkov
afedcc0074 Fix CID 1135011, 1195065, 1134730, 1134754, 1134907, 1134758 2014-04-27 01:06:13 +02:00
pancake
f76441b7e7 Fix some warnings 2013-12-09 04:56:13 +01:00
Adam Pridgen
6550a553fd Added potential fix for pd 2013-12-08 22:42:22 +01:00
pancake
d02df0d306 Fix some issues reported by CoverityScan service 2013-12-03 00:14:59 +01:00
Adam Pridgen
88fbfd3301 mend 2013-12-02 00:45:07 +01:00
Adam Pridgen
519190801b Rewrote backward disassemble with a greedy backward algorithm, added a find api to rlist, label to bb struct 2013-12-02 00:09:22 +01: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
dd301cd6a7 Add adler32 checksum, fixes in dex, add 'ws' command
- Handle ^C in searches
- Safer progerssbar for small terminals
- Add 'ws' command to write pascal/dalvik/java strings
- Fix visual refresh on terminal resize
- Partially fix dex negative section issue
2013-04-05 01:53:21 +02:00
pancake
8ea25c4a46 Use RNum in RAsm, fixes for segoff and better disasm
Reference of RNum in RAsm (use flags in 'wa/pa'!)
Use RNum in x86.nz plugin
Rename scr.segoff to asm.segoff
Fixes for segmented addressing resolution
Honor lineswidth in disasm
Remove rabin2 -p flag in help and manpage
Fix disasm.c loop for small blocksizes and invalid ops
2012-11-16 01:34:26 +01:00
pancake
5ad9ae97ed Fix some bugs (nullptr, memleak) reported by clang-analyzer 2012-09-26 10:01:43 +02:00
pancake
3e7c4ad992 Add new opcodes for x86.nz assembler
- Fix search counter
2012-08-03 02:05:50 +02:00
pancake
fee1dfda07 * Fix some bugs reported by clang-analyzer 2012-05-31 02:41:45 +02:00
pancake
65d1dddfd1 * apply rudi_s patch fixing multiple bugs
- Fix uninitialized variables and other GCC warnings
  - Remove unused variables, fix invalid heap ops
  - ?p print error if VA is not
  - Fix invalid write in r_io_cache_read().
* add support for 'mov reg, [addr]' in x86.nz[32]
2012-02-12 23:45:04 +01:00
pancake
24300b79a7 * Add build timestamp in r2 -v
* Swap -n/-N .. to keep backward compatibility
  - Remove useless printf message
* Fix segfault in /c?
* Fix r_line_hist_load() newline issue
2012-02-05 02:22:31 +01:00
pancake
f908b15fb5 * Fix android compilation
- Fix static build
  - Fix dupped symbols
* Fix all errors reported by clang-analyzer
  - Some null dereferences
  - Some uninitialized variable uses
* Fix all important warnings from the farm
  - Remove *all* uses of alloca
  - Fix many %llx format string portability issues
* Fix manpage typos reported by lintian (thanks sre)
2011-12-06 00:27:57 +01:00
pancake
85b952966c * added 'afi' to show info of functions
* afl is now less verbose
* Add /v2 /v4 /v8 and remove /q
* Rename /a to /r
* remove search.asmstr and use /a and /c
* Fail build of bindings if somethings goes wrong
* Add sys/static.sh
2011-11-22 15:12:29 +01:00
pancake
cf06c54228 * Added 'pda' new commands
- Disassemble code byte-per byte
  - Disobey instruction length
* Added 'pdi' command
  - Like 'pi', but showing offset and bytes
2011-11-22 02:00:48 +01:00