Commit Graph

65 Commits

Author SHA1 Message Date
radare
ffb2c9e928 Fix bits issue and add r_str_reverse 2017-07-31 11:33:39 +02:00
pancake
807402e123 Fix testsuite and remove commented code 2017-07-28 04:39:20 +02:00
pancake
6ac720175d Fix writebits 2017-07-28 01:30:24 +02:00
Lowly Worm
8dbd051388 support doff for bitwise copy 2017-07-27 15:24:57 -07:00
Lowly Worm
47b434bf76 blah, reading works now 2017-07-27 14:18:00 -07:00
Anton Kochkov
928fbb0320 Fix build 2017-07-28 03:43:30 +08:00
Lowly Worm
95d9c80909 squash warnings 2017-07-27 11:04:11 -07:00
Lowly Worm
5ea6f5ae21 i am totally blank 2017-07-27 11:01:56 -07:00
Lowly Worm
278d877f5e fix bitwise copy delta 2017-07-27 10:57:57 -07:00
pancake
cd28744049 Add r_mem_{alloc,free} to avoid issues mixing multiple allocators 2017-03-30 02:39:18 +02:00
Roi Martin
0ca78a43e5 Do not add zignatures with zero mask
Fix #5688
2017-03-19 17:20:31 +00:00
pancake
82eb65563b Fixes for r2-indent
* Supports r2pm's uncrustify without having to r2pm -r
* Add r2-indent -a to run indent-whitelist.sh
* Add --fix option in whitelist script
2017-03-09 02:13:09 +01:00
pancake
b5fa234124 Enhance the printable check used in radiff2 -u/U 2017-01-09 03:37:24 +01:00
pancake
5ca1be956d Implement radiff2 -i, fix -z and add -u/-U
* Unified support using:
  - internal bindiffer
  - using system's diff program
* Compare list of imports or strings of given files
* Add proper apis to handle all this
* Automatic hexdump when comparing binary buffers (-U)
* Update documentation
2017-01-09 03:18:14 +01:00
Gerardo García Peña
62d8361862 Support for 24 bit esil memory ops and bugfixed AVR flags (#6404)
* refactoring

* Implemented initial support for 24 bit esil memory operations.
AVR flags bugfixed.
2016-12-31 13:13:16 +01:00
Álvaro Felipe Melchor
158d3fcc6b More ELFic works 2016-09-04 14:03:35 +02:00
pancake
d075e86e24 Enhance float support in pf 2016-08-02 00:37:07 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
d9cdd29268 Fix endian issue in crc16 and crc32 2016-05-16 02:08:59 +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
100df3bb32 Better MIPS32BE ELF relocs, add Rx regs in mips.cs and add scr.wheelnkey, nN defaults to flag now 2016-02-21 01:56:50 +01:00
pancake
35e6a4d958 Bump version for git and ios builds 2016-02-20 22:16:28 +01:00
pancake
bea71d7074 Add ap command to find prelude for current offset 2016-01-24 03:05:27 +01:00
pancake
f776f5a515 Implement RReg API for long double and packed registers 2015-08-23 03:58:49 +02:00
Riccardo Schirone
efa0ae88df util: code refactoring
* improve indentation of r_mem_copyendian and r_print_hexdump
* remove duplicated code
2015-06-25 02:07:17 +02:00
pancake
e321c0e62c Add RReg bufdiffing apis to retrieve list of modified regs 2014-06-26 12:18:45 +02:00
Anton Kochkov
bf088d43bd Fix libr_util building for Cygwin 32bit (gcc 4.7.3) 2014-06-25 18:17:34 +04:00
pancake
8330ea59fc Fix stale pointer issue in RBinELF. Add r_mem_dup 2014-06-14 00:04:40 +02:00
pancake
e82b9473ec Fix #630 - Add /v1 and handle cfg.bigendian 2014-02-18 15:34:20 +01:00
pancake
ede55b55c4 Fix r_mem_mem and handle 'K' in visual cursor mode to see manpages 2013-11-03 13:47:34 +01:00
pancake
724630896b Fix #301 - Invalid size: 5 while disassembling x86 TE binary 2013-11-02 12:14:39 +01:00
pancake
766563cc6e Big endian for arm.winedbg and addn randomart in rax2 -k
r_asm: Add support for big endian arm.winedbg
rax2: Add -k randomart to rax2, -k is now -B
rax2: Handle multiple flags on a single argument
rax2: update manpage
2013-02-13 01:20:42 +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
90b1936910 Fix make purge and uninitialized memory in RBin 2012-08-06 17:34:01 +02:00
pancake
840550aa3a * Add asm.tabs for bearuty for free (enable by default?)
* Apply @l0gic patch for ELF parsing segfault
* Improve a lot the startup time by using r_file_mmap
* Fix build on osx
2012-01-26 03:18:45 +01:00
pancake
b00ccc9e18 * Fix build and a null pointer segfault in r_diff 2011-09-19 14:25:27 +02:00
pancake
279d4e6f5f * Fix make deinstall
* rarun2 and rasc2 now depend on r_util
* Add r_mem_protect() as a wrapper for mprotect/VirtualProtect
* Fix segfault in java class parser

--HG--
rename : binr/rarun2/main.c => binr/rarun2/rarun2.c
2011-09-19 13:54:57 +02:00
pancake
4d6c585672 * Add support for mach0-arm and mach0-x86_64 in r_bin_create
- x86_64 has been tested and works fine, but needs some love
  - the arm mach0 (iPhone) is not yet tested, but the bin looks ok
* Install syscall sdb files into versioned directory in lib/radare2
2011-09-09 01:09:36 +02:00
pancake
82b93ffa88 * Rewrite buggy bash r_str_sub and rename as r_str_replace
- Fixes segfault in OSX
  - Fixes r_asm with .equ stuff
2011-08-04 00:33:04 +02:00
pancake
3fbbd865d5 * Fix build in OSX 2011-06-20 23:53:38 +02:00
pancake
4c0b8f437b * Added 'pw' and 'pq' commands to print 32bit and 64bit hex values
* Autocomplete 'dcu' argument
* Analyze [pc+delta] mov and lea opcodes on x86-64
  - Resolves indirect string pointers for ObjectiveC binaries
* Handle UCALL in dso
* Fix x86-64 register profile for OSX
* Implement r_mem_get_num()
* Various fixes in 'pf' command
2011-06-09 01:20:02 +02:00
pancake
fdd8ed6bc1 * Use r_reg API from r_anal in order to retrieve info for r_syscall
* Hacky support for software interrupts in anal.x86im plugin
* Added 'B' key to toggle automatic blocksize
2011-02-03 00:57:29 +01:00
pancake
1f1a36c817 * Initial implementation of the r_anal_aop_execute api
- It's like r_vm, but using r_anal
  - r_vm is going to be deprecated
* Added r_mem_set_num()
* Remove deprecated asm/t/fastcall example
* Fix warnings in r_syscall_regs
  - Integrated with r_syscall_use()
  - Fix r_syscall_reg() out of bound bug

--HG--
rename : libr/syscall/regs.c => libr/syscall/fastcall.h
2011-02-03 00:20:39 +01:00
pancake
264f95a40e * Fix build in iOS 4.1 (darwin-arm)
- Honor CFLAGS everywhere
  - Use ut?? instead of uint??_t
* Add build instructions in doc/iphone
* Fix some out-of-range conditionals
2010-11-08 19:30:25 +01:00
pancake
0a294261aa * Many warnings fixed thanks to gentoo build and @astralia 2010-10-27 16:31:51 +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
Nibble
216973b29c * Fix bug regading false positives with z/
* Fix r_mem_cmp_mask
* Update TODO
2010-07-21 17:11:06 +02:00
pancake
a358d38e50 * Added support for binarymask hexpairs to search and signatures
> s 0&&./x 6c..62&&p8 3@@hit
  > zb function 89e55383ec....38 # binary mask inline
  - works like r_hex_str2bin, but converts binary mask and keyword
* RSign now uses r_cons_printf from core.
* FunctionPrintf typedef to bypass some warnings
* Added r_mem_eq
2010-04-08 18:01:45 +02:00
pancake
3da650d4b1 * Write and install manpages
* Merge r_trace into r_debug (RDebugTrace)
  - Implement 'dt' command to manage debugging traces
  - TODO: Track register values and memory changes
  - Added dbg.trace and dbg.trace.tag
* Added r_sys_now() to retrieve ut64 value of current time
  - Must check endianness issues
* Initial work trying to implement RPATH support to ELF
* Less flat command tree
  - 'dt' is now 'dbt'
  - 'dk' is now 'dpk'
* Some more random syntax cleanup fixes
* Say 'yes/no' instead of 'ok/fail' in check-langs script
2010-03-12 18:46:11 +01:00