Commit Graph

1280 Commits

Author SHA1 Message Date
pancake
f5666844e0 * Fix debugger for BSD systems (OpenBSD)
- contsc callback accepts a new argument
  - abi changed. must recompile libr/debug and libr/core
  - Deprecate dbgplg->archs
2011-04-03 16:38:24 +02:00
pancake
17189725d2 * Fix other use-after-free bugs related to r_list_unlink
- Use r_list_delete instead of r_list_unlink in various places
    - Some operations are now a bit faster
2011-04-29 13:55:27 +02:00
pancake
1210a6c4eb * Simplify cons-html code (-50LOC) 2011-04-29 10:38:01 +02:00
pancake
020dd97a8b * Fix many segfaults discovered in OpenBSD
* Fix segfaults caused by read buffer overflow in x86im
  - use a 16 byte delta buffer in function and basic block analysis
* Fix r_list_delete segfault caused by an use-after-free bug
  - Thanks Edd Barrett for notifying :)
* Clean up many warnings reported by OpenBSD's gcc
* Reduce analysis depth to 50
* Fix OpenBSD syscall definitions and fix generator python script
2011-04-03 02:43:15 +02:00
pancake
a2a58c8dc3 * Commited syscall entries for OpenBSD (thanks Edd Barrett!) 2011-04-28 18:31:06 +02:00
earada
708e10e413 * Change some files license from GPL3 to LGPL
* Fix build
2011-04-28 02:09:43 +02:00
earada
ee7fefb41f * Initial dex-files format support 2011-04-28 01:54:54 +02:00
pancake
8bef25d14d * Fix segfault in bin_java (still buggy and duppy)
* Change asm_bf license from gpl3 to lgpl
2011-04-27 16:51:41 +02:00
pancake
e4094a0cee * Fix RCore.read_at vapi and partial reads 2011-04-25 20:09:09 +02:00
earada
58cb9fc42f * Fix fs_open and fs_dir with ext2 filesystem
* Fix r_str_chop_path
* Add new funtion to join two lists
* Update fs.vapi
2011-04-24 13:46:28 +02:00
pancake
41d4e0bc0b * Some fixes for static builds 2011-04-23 04:33:45 +02:00
pancake
d2401f1ea0 * Fix build against uClibc 2011-04-23 02:05:00 +02:00
pancake
205a9285a4 * Apply some fixes for kFreeBSD debugger and OS detection
* Add --with-libversion flag to configure
  - Make OpenBSD version numbering system happy
* Force -ldl for HURD
* Fix off by one bug in grub/fs/fat.c
2011-04-20 13:56:58 +02:00
pancake
78209c2d43 * Do not use NULL hook on mount->dir check
- Seems to be problematic on some filesystems
2011-04-20 13:15:42 +02:00
pancake
ae2ee76dd9 * Fix r_fs_mount on delta != 0
- Show partition list offsets column aligned
2011-04-20 13:04:24 +02:00
earada
0676f04542 * Initial import http api
* Fix r_socket tcp/udp connections
* Update vapis
2011-04-20 00:22:54 +02:00
earada
8d8faea38b * Use RList int io_sections
* Fix core_server return value
2011-04-19 14:43:48 +02:00
pancake
f468132621 * Allow grub dir closure to be NULL
- Used to check if mount was successful or not
* Fix r_fs.vapi owning attribute for r_fs_mount()
2011-04-19 13:11:27 +02:00
pancake
194bc4dafd * r_fs_mount returns boolean value for success 2011-04-19 10:04:06 +02:00
pancake
a16f3f27b4 * Implement S- command (remove sections)
- by index, offset or all (*)
* Fix block_read() issue with io.va
2011-04-19 00:59:16 +02:00
earada
450764d0c6 * Some fixes in the rap protocol 2011-04-17 20:58:32 +02:00
pancake
8069e1f509 * Fix cmdline arguments parsing segfault in radiff2
* Do not build r_big api
  - It's incomplete, not used and is problematic to build
2011-04-17 03:54:27 +02:00
pancake
7ffe4b6d4a * Fix collision with MD5_CTX
* Fix build without openssl
2011-04-15 09:22:34 +02:00
pancake
186b5a0aef * Add untested support to compile on GNU/HURD 2011-04-13 16:39:44 +02:00
pancake
4acf226db4 * Oops. fix bsd/non-bsd detection in r_types.h 2011-04-13 16:36:00 +02:00
pancake
1cc9a40503 * Added support for GNU/kFreeBSD (thanks sre!) 2011-04-13 11:34:27 +02:00
Eloi Sanfelix
f62871b98c Merge 2011-04-07 23:23:34 +02:00
Eloi Sanfelix
f0a708e6fd rdebug->arch as a ut64 bitmap 2011-04-07 23:21:30 +02:00
pancake
a6a92aa73e * Honor --without-debugger
* Fix linking of r_anal_x86_simple plugin
* Fix some uninitialized vars reported by debian build system
2011-04-07 23:15:58 +02:00
Eloi Sanfelix
128f6927a8 Removed eprintfs and warnings from io_gdb 2011-04-07 21:16:32 +02:00
Eloi Sanfelix
b4118249e3 * Fixed debug_gdb build 2011-04-07 21:01:42 +02:00
Eloi Sanfelix
32e1b95440 * Generic gdb remote support
- Arbitrary number of registers
  - Arbitrary register size (1,2,4 or 8 bytes supported)
  - Added hw bp commands (not tested yet)
* Added system commands for io_gdb.c
  - Step, cont, regs (28 32bit regs now, platform-specific), bp (not always supported)
2011-04-07 20:49:05 +02:00
Eloi Sanfelix
1c29358245 Fixed io_write ignoring map select return value. 2011-04-07 09:35:03 +02:00
pancake
8b27aa6723 * Make io.gdb plugin work again
* Fix more unused var bugs
2011-04-06 12:26:19 +02:00
pancake
fd8545e76e * Fix some valgrind warnings 2011-04-06 11:35:18 +02:00
pancake
94e316b6fe * Do not build r_db
* Group bfd getl{16,32} helpers
  - fix build of sh-dis plugin
* Fix lot of warnings
* Port rap to use RSocket
2011-04-06 09:29:25 +02:00
pancake
18835c0907 * Drop another unused lib (r_crypto)
- Fix debian farm build and reduce compilation times
2011-04-04 18:09:45 +02:00
pancake
3b490556f5 * Do not export drx_get and drg_set
* Do not build/use r_th
2011-04-04 14:39:42 +02:00
pancake
075b495a5c * Implement basic register profile for OpenBSD
native debugger backend.
* Fix make symstall in BSD systems
  - PWD var looks like a linuxism
2011-04-02 20:03:00 +02:00
pancake
2810f68d65 * Fix doublefree in reg_profile that was causing random segfaults 2011-04-02 18:55:47 +02:00
pancake
bbf8348e71 * Add another hack to fix build of debugger on BSD systems
- Not yet tested. Needs code cleanup too
2011-04-01 19:25:48 +02:00
pancake
bc18f03378 * Apply some patches reported by Edd in order to make OpenBSD build happy
- Not all patches applied, only the correct ones. needs some review
    in other BSD systems (NetBSD, FreeBSD, GNU/KFreeBSD, ...)
* Added R_BTW macro
2011-04-01 18:33:26 +02:00
pancake
c8d1de0ad5 * Show cursor in disasm bytes when scr.color=false 2011-03-30 18:41:42 +02:00
pancake
6cd26d1666 * Merge @esanfelix's bundle 2011-03-30 13:17:53 +02:00
Eloi Sanfelix
c01f3070b6 Changes to SH4 anal plugin
- Added static keywords
  - Fixed JMP/CALL instructions
2011-03-29 22:25:39 +02:00
pancake
c4c08c05dd * Fix strstr reported by Nicolai Stange 2011-03-29 17:30:06 +02:00
Eloi Sanfelix
7c04f11226 Initial SH4 support 2011-03-29 14:55:41 +02:00
Eloi Sanfelix
08ee3226ec Removed $Id line in sha2.h 2011-03-29 14:55:02 +02:00
pancake
2f1c4885ea * Fix build on OSX (thanks @capi_x) 2011-03-29 14:30:14 +02:00
pancake
14148050fb * Obey return values in callback in r_config_set
* Add pZ[zoombytechar] command (as recommended by @hteso)
2011-03-29 14:29:33 +02:00