Commit graph

336 commits

Author SHA1 Message Date
pancake
88ff554959 Fix build 2013-11-29 17:33:45 +01:00
Fedor Sakharov
13547a0bbf Fix #370 - Some memory leaks
Fix memory leak in r_config_new.
  cfg->nodes->free should be a custom function that frees RConfigNode
  structure correctly, but not the ordinary free.
Fix memory leak in r_anal_new.
  In r_anal_free need to call r_meta_free to free the
  whole RMeta structure, not only it's data list.
  The r_meta_free doesn't seem to have any leak itself.
Fix leaking anal->hints.
Fix memory leaks in r_cmd_free
Fix memory leak in r_cmd_plugin_init
Fix memleak in r_lib_new
Fix memory leak in r_io_plugin_init
Fix memory leak in r_debug_trace_new
Fix memory leaks in r_io_new
Fix memory leak in r_graph_new
Fix memory leak in r_sys_getdir.
  Note: calling getcwd with dir=NULL is a Linux-specific extension
  of POSIX, not sure if works on other non-windows platforms.
Fixes a typo
2013-11-19 01:51:40 +01:00
pancake
79946ef2da Add @capi_x patch to fix Haiku's build 2013-11-12 23:55:57 +01:00
pancake
603b595e53 Fix reflines overflow 2013-11-07 15:13:33 +01:00
pancake
50fe2fdd1f Fix #315 - Changing bin.rawstr on runtime doesn't updates RBin info 2013-11-06 23:15:16 +01:00
pancake
2a909d6302 Fix #300 - (64bit dr= indentation) and fix r_sys_pid_to_path on linux 2013-09-05 01:44:05 +02:00
pancake
497cb0e2e1 Fix #57 - 'is' does not work for attached process 2013-11-04 03:30:46 +01:00
pancake
0e470adc27 Fix #258 - Hide SIGTRAP signals 2013-11-03 03:05:00 +01:00
pancake
708dc29b3b Fix #304 - debugger breakpoints not handled properly on Linux 2013-11-03 02:48:13 +01:00
pancake
5879f30297 Disable dbg.trace by default, more fixes for 'dr=' and 'drd' 2013-10-31 02:39:24 +01:00
pancake
629c64c851 Fix 'dr=' columns width for 64bit registers 2013-10-31 01:53:17 +01:00
pancake
403baf93e7 Fix register diff 'drd' (affects #30) 2013-10-30 20:12:02 +01:00
pancake
d814a5b01b Fix #264 - Add a command to display changed registers 2013-10-20 02:09:03 +02:00
pancake
502add8914 Fix #240 - rasm2 have -l but not -S to skip bytes from the beginning of the file 2013-10-15 01:54:37 +02:00
pancake
47faadf31b Fix #260 - "dr all" is broken 2013-10-14 22:23:05 +02:00
pancake
b3c57e53aa Add 'exit' alias for 'q'. Implement JSON output for 'dm' 2013-10-06 15:04:19 +02:00
pancake
9a6c149768 Implement 'dd-' using code injection 2013-09-18 03:46:50 +02:00
pancake
f1d70a76c8 Handle signals on OSX debugger backend 2013-09-18 03:28:57 +02:00
pancake
7b931261fe Fix #184 - support skip+cont attributes in 'dk' for signal handling 2013-09-18 02:55:51 +02:00
pancake
7403b1d671 Implement 'dk' to handle signal events in debugger 2013-09-18 02:11:23 +02:00
pancake
b8badee419 Oops. Missing ; 2013-09-12 00:36:38 +02:00
pancake
eaf33b44e2 Aim to fix 32bit target debugging on 32bit host 2013-09-12 00:28:44 +02:00
pancake
7855f4952f Initial work supporting emscripten compilation 2013-09-07 00:39:08 +02:00
pancake
0c108154b5 Add 'gs' to assemble syscall eggs and 'dis' to inject them 2013-08-29 04:44:18 +02:00
pancake
45d8bebe2e Add initial support for signal handling on linux debugger 2013-08-28 21:36:11 +02:00
pancake
5297304067 Fix gdb 100% cpu and connect timeout bug in socket api 2013-07-24 08:58:10 +02:00
Eduardo de la Arada
7187adb5e8 Add alloc/dealloc memory
* Allow memory alloc and dealloc on debug (APPLE ONLY)
2013-07-21 03:05:56 +02:00
pancake
dc8e37f420 Update sdb, simplify some makefiles 2013-07-15 02:51:55 +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
16ddff4eb9 More work on ESIL, and implement r2 -Desil .. 2013-05-20 03:00:49 +02:00
pancake
0d993c8cbd Initial working code injection with r_debug_execute() 2013-04-16 04:01:39 +02:00
pancake
7e4d92c6fb Fix some warnings 2013-04-02 12:45:16 +02:00
pancake
837489a5ed Faster ptrace io and fixed software stepping in ARM
Fix software stepping in arm
p/io_ptrace now supports /proc/pid/mem io
Added =!help =!mem and =!ptrace to io/ptrace
Hide invalid section sizes messages
2013-03-19 02:36:14 +00:00
pancake
7e7be66fca Autocomplete 'dml' and add 'TE' in the README list 2013-03-06 01:09:43 +01:00
pancake
701a43fc23 Use r_sandbox_kill instead of kill 2013-03-02 19:44:10 +01:00
oblique
bf5d2ba3da Check if debug is dead in r_debug_kill function. 2013-03-01 10:41:35 +01:00
pancake
8879796427 Fix 'dr*' command 2013-01-10 18:20:36 +01:00
pancake
9e0ebe9def Handle ^C in rap://, add rap listen command =:9999 2012-12-30 23:40:17 +01:00
pancake
f4d743d58c Update LungoJS to 2.1git 2012-12-23 18:34:30 +01:00
pancake
55bb8dc95e Fix udis86 trailing spaces, add 'dw' command 2012-12-07 12:03:53 +01:00
pancake
83da070d44 Fix fcn lines in disasm, minor fix in meta
Initial work to fix linux32 debugger on linux64
2012-12-06 03:11:40 +01:00
pancake
e495421782 Initial implementation of 'ad' (analyze data)
Force tid=pid when tid=-1 in r_debug_select()
Add support for 16bit mov in x86.nz assembler
2012-11-20 03:59:00 +01:00
pancake
7c1e0c85d9 Support for remote raw commands (client/server)
See the '.:' command
Full integration with awk bindings
Add install make target for the awk bindings
Handle as debug mode if io->file->debug
Fix typo quite/quiet in rabin2
Resolve $pc,$bp,$sp,$a0.. in r_core_num
Minor random fixups
2012-11-05 02:00:34 +01:00
pancake
8270c60a16 flex no longer mandatory, fix ios debugger
Flex is no longer mandatory for configure
Fix overflow in r_core_cmd0
vm_protect works again on iOS (using VM_PROT_COPY)
ptrace-cont is just a detach
fix build with latest ios sdk
2012-10-31 16:37:19 +01:00
pancake
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
4ffdaeb04f Fix warnings and refactor 'p' subcommands (pw -> pxw ..) 2012-09-27 19:35:19 +02:00
pancake
be247348b5 Rename r_file_exist into r_file_exists 2012-09-06 08:59:13 +02:00
pancake
a8757a695f Fix android build and add r_core->anal_define api
Fix static build (libr.a)
Fix android build farm scripts
Build system is still hacky
2012-09-03 01:27:52 +02:00
pancake
e365b90d5f Implement support for >- (pipe to editor)
Fix another race condition in the build system
Fix many null deref reported by clang-analyzer
Assume -w when running r2 with -d
2012-08-13 17:42:25 +02:00
pancake
44ee3ce8d2 Initial working (again) version of gdb:// 2012-08-08 17:43:51 +02:00