Commit Graph

47 Commits

Author SHA1 Message Date
pancake
3738a97623 Fix several asserts and crashes when loading invalid reg profiles 2018-11-05 16:55:34 +01:00
pancake
dc96db9e51 Try clang-format when no uncrustify is found and reindent r_reg with sys/indent.sh 2018-10-16 00:17:44 +02:00
radare
63669bee85
Add support for wired-to-ground registers for MIPS and V850 (#11320) 2018-08-31 03:05:41 +02:00
Fangrui Song
c66aaa84f7 Add r_reg_{get,set}_value_by_role and fix "aef" because "PC" is not available on every arch (#8326) 2017-08-27 01:10:19 +02:00
pancake
d9cf73469d Add support for 27bit middle-endian registers in r_reg 2017-07-27 22:57:18 +02:00
pancake
d32e97ace8 Fix #6228 - Double 0x in dr= 2016-11-20 11:30:15 +01:00
Álvaro Felipe Melchor
645b273bb9 loosen up constraint in value.c 2016-11-16 20:49:20 +01:00
pancake
a7e281b524 Enhanced drpi and use gpr as default arena for flags 2016-11-15 16:20:10 +01:00
pancake
7fb8c24be3 Add drpi to show internal representation of drp and check for overflows 2016-11-15 14:40:16 +01:00
Álvaro Felipe Melchor
4915466256 Fix oob due to reg arena changes 2016-11-15 01:12:37 +01:00
SkUaTeR
20a9bbd14a Rreg fpu changes (#6191)
* test with rreg for values greater than 64
* check for redirected regs in debug reg sync
2016-11-14 23:58:29 +01:00
Sushant Dinesh
cf456f4414 Fixes to ESIL (#4951)
- Reverted ADD and ADC to set flags based on internal variables
- Fixed calculation of carry and zero flags from internal vars
- Revert "ESIL: add floating point instructions (#4794)"
  This reverts commit 964d12b392. Since we
  decided that floating point operations will be implemented using separate
  ops, these unions are no longer needed. This commit introduced a regression
  in setting esil->old and esil->cur
- Style fixes
2016-05-23 16:39:54 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
6c931a091f Automatic asm.bits depending on CPSR's Thumb bit 2016-01-11 03:08:24 +01:00
pancake
a4fc08b401 More auto-indentation enhancements 2015-12-08 23:55:23 +01:00
Álvaro Felipe Melchor
5543f73cb1 Fix some covs 2015-10-29 23:39:49 +01:00
Anton Kochkov
30e82852a3 Remove annoying message 2015-10-22 15:07:32 +03:00
pancake
b08add890a Fix the 80/96/128 fpu reg value issue 2015-10-22 13:38:30 +02:00
pancake
5d0bdd4481 Enhacements to ease the iOS debugger development 2015-09-21 23:40:17 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
62755eeb0e Fix latest COVs 2015-08-25 12:40:21 +02:00
pancake
4dff5cca5e Some some COVs related to control flow and memory leaks 2015-08-24 01:58:36 +02:00
pancake
7a871d4cb5 Add drm command to get/set packed registers. Old drm is now drf 2015-08-23 04:43:31 +02:00
pancake
1c143a3e3b Better checks in packed register boundaries
- Support spaces after dr? <reg>
2015-08-23 04:08:01 +02:00
pancake
f776f5a515 Implement RReg API for long double and packed registers 2015-08-23 03:58:49 +02:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
pancake
b7e1dc4354 Fix #1698 - dr rflags=cpz is now supported 2014-11-18 17:22:43 +01:00
trndr
567bcd39f1 Add bigendian register byteswap 2014-11-04 02:17:35 +01:00
pancake
7fafaf6c94 Fix parsing some corrupted RReg profiles, cache profile reloading, fix arena fit 2014-06-23 18:13:41 +02:00
Anton Kochkov
0e93873959 Fix CID 1134722 2014-04-26 01:53:23 +04:00
Judge_Dredd
1b444dfadb fixed? the breakpoint bug? 2014-04-14 15:39:35 +02:00
condret
9c154d003c fix #629 and add some warnings 2014-03-21 03:54:12 +01:00
pancake
571ba82ab6 Many bugfixes related to 'drx'. Still not working on linux 2014-01-11 23:48:55 +01:00
pancake
01a2b485e7 Implement 'drc' command with all the RRegCond magic
- Fix all debug register profiles
- Support for X86 and ARM
- Allow to check conditional instructions
2014-01-08 23:23:06 +01:00
pancake
05a0196690 * Fix osx-x86-32 debug register profile
* Some struct->typedef renaming
2012-03-07 10:43:02 +01: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
pancake
5d946a8b21 * Apply some fixes for w32
* More nullptr checks
  - Fix 'drp'
* Fix build
2010-10-14 19:01:14 +02:00
pancake
124786c1ac * Added 'drd' command to show only modified regs
* Added r_list_foreach_prev()
* Add RSyscallPort to handle Hardware I/O ports
* Remove libr/TODO and refactor /TODO
* Link with 'ld' in rarc2-tool for nasm
2010-09-24 16:45:56 +02:00
pancake
84dd63b743 * Add 'bf' command to change block size based on flag size
- Added help in 'b?'
* Added support for bit-collection registers
  - eflags is now displayed as a string
  - debug/p/debug_native.c needs a correct x86 flag string
* Fix segfault when listing empty register sets
2010-09-24 04:09:39 +02:00
pancake
46aa9f5f7e * Implement stacked register storage
- Add support for register diffing
  - Colorize modified registers are step/cont
  - Add command 'dro' to show old register values
  - requires make clean
2010-09-23 20:42:35 +02:00
pancake
8def2767f3 * Initial quick-and-dirty implementation of backtrace
- Using r_list and so on
* Add 'pm' print command using print_format()
* Change color of nops and end-of-block-split lines
* More random syntax fixes
2010-03-01 10:49:04 +01:00
pancake/fluendo
c02ef87ac2 * Add support to ARM for the debugger
- asm.arm plugin is now embedded into r_asm as static plugin
* Added register alias names for r_reg
  - Add register names for x86/32/64/arm
  - pc, sp, bp, a0, a1, a2, a3
* Do not build lua5.1 if no lib found
* Enable cfg.ffio in debug mode
* Some code simplification in r_asm
  - Fix a negative offset bug in elf on ARM binaries
2010-02-03 14:34:00 +01:00
pancake
e5b6d1582b * Add 'install-vapi' target in libr/Makefile
* Fix linking of r_core (r_bin not found)
* Lot of fixes for valaswig. libr, r_io and r_debug
  are now usable from python/perl/ruby
  - Fix many .vapi files
  - Enhace the libr.pc
  - r_hash.deps must be removed
  - Depends on valaswig-head
2010-01-24 23:47:18 +01:00
pancake
deb263a5fb * Apply whats's patch fixing r_search for stripstr
- Thanks! :)
* Added dummy r_socket_proc_* api
  - Needs to be moved outside r_socket
  - Added two non-working usage examples
* Add some checks and enhacements to the r_buf API
  - Implemented in r_util.vapi
* R_APIfy the r_cache api
* Add missing methods in r_socket.vapi
* Update the README file in r_anal describing the
  new design of r_anal..not yet finished
2009-10-12 17:41:52 +02:00
pancake
b881d4b080 * Implementate r_reg.vapi (register vala api)
* Fix x86-linux using sys/user.h and getoffset() macro
* Some more work on r_mem_copybits
  - Bit level registers are now working (get/set)
  - reg/t test example is now getting/settings bit flags
* Added support for full serialization of all registers
2009-09-19 23:41:25 +02:00
pancake
dfe94a984e * Initial working version of r_reg
- Does not yet supports bitlevel registers
  - Added test program modifying and showing regs
  - Added dummy x86-linux.regs register layout
* Added r_mem_copybits() in r_util
  - Bitlevel precission for a memcpy
2009-09-19 21:54:22 +02:00
pancake
a371f53a0f * Fix build of r_debug/r_core (little api changes)
* Initial import of the new design or r_reg
  - Needs to be implemented at all, but the big
    picture is here :)
2009-09-18 20:11:42 +02:00