pancake
4de93b2703
Fix coredump file generation
2016-05-21 15:11:16 +02:00
pancake
1aff4b141d
Fix #4959 - Fix linewrap in Vv
2016-05-20 17:11:29 +02:00
Sven Steinbauer
901b145f33
Inline r_swap_* functions [ fix #4895 ] ( #4902 )
2016-05-18 10:13:26 +02:00
Álvaro Felipe Melchor
f6a0cfbcb9
fix pxw endian issue
2016-05-16 23:05:06 +02:00
dequis
5d6c3ac947
libr/util/sys.c: Wrap the other backtrace() call with an #ifdef
...
I accidentally broke musl builds with that workaround.
2016-05-16 21:52:05 +02:00
Anton Kochkov
49912c0226
Do not use backtrace if it's not available
2016-05-16 12:42:49 +03:00
dx
cbac4c38e1
libr/util/sys.c: Avoid malloc() calls in the signal handler ( #4896 )
...
Using functions like malloc() in async signal handlers is unsafe, and
may result in deadlocks.
Turns out that backtrace() is not safe either because its initialization
code uses dlopen() and malloc() and others, but this can be workarounded
by calling it once outside of a signal handler.
2016-05-16 04:06:59 +02:00
pancake
d9cdd29268
Fix endian issue in crc16 and crc32
2016-05-16 02:08:59 +02:00
pancake
a2fb171a37
Add R2PM_WWWROOT, update www-t and add http.homeroot r2 var
2016-05-16 00:59:29 +02:00
pancake
1ea99fd31c
Update to acr 0.10.2 and show HOST BUILD TARGET in REPORT
2016-05-15 23:02:59 +02:00
pancake
23dcb486ea
Fix some minor memory leaks, Properly make check_fcn public
2016-05-15 02:43:10 +02:00
pancake
942e3e0da5
Fix #4862 - Fix all pending covs
2016-05-15 02:04:40 +02:00
Riccardo Schirone
1c7119401a
core/graph: improve layer assignment algorithm
...
It should fix some layer problem on some binaries like ls-linux64 and in
the presence of self-loop. The previous algorithm could assign the same
layer to two nodes that are connected with an edge (and it should never
happen, because they have to be on different layers).
This patch uses the topological sort of a graph to assign the layer.
2016-05-14 10:37:55 +02:00
Joshua J. Drake
fad425ec06
Fix perror calls that already pass the function name
2016-05-14 08:42:56 +03:00
Joshua J. Drake
83a76b7158
Propagate location information in perror
...
The "r_sys_perror" function previously would use "perror" on UNIX resulting in
location information of the "perror" callsite being shown. Renaming
"r_sys_perror" to "r_sys_perror_str" and replacing the original identifier with
a macro ensures that the displayed information is useful.
Further, this addreses a TODO that makes this functionality work on both
Windows and UNIX by moving these macros outside of the UNIX #if. The (now)
"r_sys_perror_str" is already implemented for both platforms. Let's use it!
2016-05-14 08:42:56 +03:00
Álvaro Felipe Melchor
647b4f29b5
Fix #4808
2016-05-13 21:52:28 +02:00
Riccardo Schirone
d9e3a290c1
libr: fix compilation warnings
...
libr/util/graph: add some comments to the API
2016-05-13 09:57:55 +02:00
Rakholiya Jenish
a13d46b295
fix CID 1355197, 1355198 and 1355199
...
cleanup
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-12 23:10:37 +02:00
pancake
35ec317f2f
Support shift << and >> in RNumCalc
2016-05-11 00:28:42 +02:00
Riccardo Schirone
15c1197636
util/print: use screen_bounds to store the first non visible address
2016-05-10 22:15:24 +02:00
pancake
cf94e318ac
Fix #4795 - pcp for > 256 blocks
2016-05-10 00:39:31 +02:00
pancake
eabe6512f2
Fix #4815 - Implement HexII print format (ref: http://corkami.googlecode.com/svn/trunk/src/HexII/ )
2016-05-10 00:18:21 +02:00
Damien Zammit
964d12b392
ESIL: add floating point instructions ( #4794 )
2016-05-07 12:32:06 +02:00
Rakholiya Jenish
3019bb477c
Add support for punycode via woE and woD and rahash2
...
Also add aes-cbc support by getting IV from user
2016-05-07 12:31:13 +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
1f7db90e41
Priorize keystone plugins and other random changes
2016-05-02 02:46:01 +02:00
Andrey Torsunov
60de2dc6b4
Fix couple of memory leaks. Issue #2772 . ( #4725 )
2016-04-28 10:47:50 +02:00
pancake
032969927d
More powerpc build fixes
2016-04-27 01:08:12 +02:00
Andrey Torsunov
99832fca3d
Fix path escaping. Issue #4660 . ( #4709 )
2016-04-25 15:18:58 +02:00
Damien Zammit
1a593a6318
GDB debug for lm32 architecture ( #4696 )
...
Signed-off-by: Damien Zammit <damien@zamaudio.com>
* Missing a couple of things in previous commit
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-04-24 23:13:00 +02:00
pancake
6f446b003f
Fix #4664 - wopD on large number
2016-04-21 23:18:31 +02:00
NaveenBoggarapu
4c04b98b47
few memory leaks fixed
2016-04-13 21:55:48 +02:00
Rakholiya Jenish
27fba6fa10
Add crypto plugin for base64 and base91
...
update error occurence.
2016-04-13 10:34:55 +02:00
Álvaro Felipe Melchor
3c98a3acf1
Fix #4567 , #4566 and oob write
2016-04-09 21:13:31 +02:00
Álvaro Felipe Melchor
8009d35f13
Fix #4576 - thx revskills
2016-04-09 17:07:20 +02:00
Anton Kochkov
5b75d4cac7
Fix CID 1353770, 1353769
2016-04-06 00:55:20 +03:00
Daniel Domínguez
71beec242e
Coredump generation for Mach0 binaries
2016-04-05 12:03:59 +02:00
Anton Kochkov
9904f6ae3b
Fix CID 1353779
2016-04-05 11:50:53 +03:00
Álvaro Felipe Melchor
b0c6ae4409
Fix #4295 and #4155
...
This commit is the first attempt to improve relocation
recognition when dealing with relocatables elf-files
2016-04-04 23:09:58 +02:00
pancake
32162ef393
Add r_buf_new_file API
2016-04-04 22:30:11 +02:00
Lukas Dresel
cb60759219
Removed unnecessary r_lib.h dependency in r_util.h
2016-04-04 21:26:20 +02:00
pancake
d706552d2f
Fix #4517 - double free in strbuf
2016-04-04 21:25:03 +02:00
pancake
474fa51da7
Fix #4512 - Fix segfault in pdf with asm.emu
2016-04-04 17:13:07 +02:00
pancake
740e43eadd
Fix some segfault and consistencies
2016-04-04 01:59:30 +02:00
pancake
cb9315b86f
Fix #4466 - null in pf*x
2016-04-03 01:43:16 +02:00
Jeffrey Crowell
8afbe7527f
remove double lock
2016-03-31 14:21:23 -04:00
pancake
354b9efbf2
Add ?E clippy echo and use it in ????
2016-03-30 12:44:56 +02:00
pancake
d092be54e2
API fixes for bochs and honor sandbox
2016-03-27 13:43:51 +02:00
Mizari
59d614edf1
Added drw/arw command + r_reg_arena_set_bytes
2016-03-22 11:48:42 +01:00
pancake
895a966884
Do not diff function strings, increase memlimit
2016-03-22 01:31:10 +01:00