pancake
41d12ff98b
Fix #2880 - Fix crash in rapatch (r2 -P)
2015-07-08 14:21:43 +02:00
jvoisin
8155c6e8f2
Even more coverifix
2015-06-01 23:06:55 +02:00
pancake
2096e855ba
Fix gs0 crash
2015-04-16 17:49:17 +02:00
pancake
515b2e77bc
Fix about 40 COVs related to memleaks and buffer overflows
2015-03-21 01:27:54 +01:00
fenugrec
a0e354a8de
Fixed some error checking + return values for r_buf_cpy()
2015-03-18 22:10:55 +01:00
fenugrec
cafcf4b0ab
WIP: ihex:// plugin rework for sparse buffers & extended records
2015-03-18 22:10:54 +01:00
pancake
595db83d93
Add RBufferSparse API and sparse:// io plugin
2015-03-16 01:19:25 +01:00
pancake
a7fc3eedc3
Fix crash when passing NULL to RBufRead
2014-12-11 17:05:30 +01:00
pancake
a8dc744f48
Fix #1811 - Corrupt ELF header crashes r2 - reported by @crowell
2014-12-09 04:19:16 +01:00
pancake
acf25245d9
Fix latest CIDs
2014-11-19 10:54:08 +01:00
pancake
ff72e9f0b8
Fix an overflow in r_buf_read
2014-11-19 01:08:46 +01:00
pancake
1f685fc8df
Fix #1699 - Double free with aa
2014-11-18 23:00:13 +01:00
pancake
a6c1582e1a
Revert dac7dbdc89
2014-11-17 16:29:31 +01:00
pancake
dac7dbdc89
rbufread is now more strict
2014-11-10 04:15:28 +01:00
pancake
278e63f10f
Properly test RBuffer boundaries in r_buf_read_at()
2014-11-10 02:18:44 +01:00
pancake
9f570a927b
Fix overrun in r_buf api
2014-11-10 02:08:32 +01:00
pancake
dcfb90ae94
Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path)
2014-11-03 11:47:51 +01:00
pancake
e8140ab8bf
Add r_buf_seek()
2014-10-29 22:53:51 +01:00
pancake
92b167bbdd
Add r_buf_read/write methods using CUR, fix some more warnings
2014-10-29 22:12:16 +01:00
pancake
69b40d1afa
Add ragg2 -n and -N and fix some bugs in r_buf and r_egg
2014-10-29 02:44:21 +01:00
pancake
8aa76e644c
Add some more safety checks for RBuffer
2014-10-28 18:18:30 +01:00
pancake
45a04948b7
Remove debug printf
2014-10-17 18:35:00 +02:00
pancake
da866539ee
Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob'
2014-10-17 00:04:52 +02:00
deeso
55fe0a9e9a
Added command that 'bruteforces' the parsing of a class file in a blob of data
2014-09-20 19:46:21 +02:00
pancake
4c4173769b
Revert "Fixing the issue where file size exceeds size of an integer":
...
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
deeso
3adb00621b
Fixing the issue where file size exceeds size of an integer
2014-09-17 23:53:25 +02:00
pancake
ae06dc24b5
Fix file2 and file3 fuzzed ELF files
2014-09-17 11:01:36 +02:00
pancake
dec5580bf4
Fix some ELF OOB crashes (thanks @maijin for reporting)
2014-09-17 00:09:00 +02:00
pancake
f27cbe34c2
Use memmove instead of memcpy to avoid overlap issues in RBuffer
2014-08-22 18:01:16 +02:00
pancake
332f21971a
Initial fix to support loading TinyELFs (wip)
2014-08-09 23:53:13 +02:00
tosh
eb6b86dd4b
Some fix in the ELF parser
...
New functions used to prevent integer overflow when add, sub or mul
Fix an out of bound in r_buf_fcpy_at
2014-06-23 15:34:51 +02:00
pancake
216c183b6e
Remove tons of useless 'if (x) free (x)'
2014-05-09 17:40:28 +02:00
deeso
4ad0f2a400
Tweaking bin plugins so that they can check bytes along with a binfile and fixed extraneous * in buf.c and r_util.h
2014-05-08 14:09:10 -05:00
deeso
621e425e26
Adding buffer accessors
2014-05-08 12:27:50 -05:00
deeso
14354feb61
fixed MMap Read-Write issue in io plugins and RBuf
2014-05-02 16:43:47 -05:00
deeso
3adcb54f17
Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed
2014-05-01 20:13:57 -05:00
Adam Pridgen
b144099451
RCore yank_buf is now a RBuffer with a defined API. Tweaked RBuffer so it reallocs buffers correctly. Modified io_zip to write through on new files.
2014-03-20 13:09:37 -05:00
pancake
c406144aa7
Fix build and implement basic, print_hexdump works with null instance
2014-02-16 03:11:41 +01:00
pancake
6c2200c80b
Fix build and some warnings
2014-01-04 02:06:36 +01:00
pancake
2475dc6d04
Optimize r_anal_reflines and r_anal_data_kind (disasm is now 7 times faster)
2014-01-04 01:59:23 +01:00
pancake
0f2fd99986
Fix some warnings and add a specific plugins.cfg for emscripten
2013-09-15 23:57:22 +02:00
pancake
128097572a
Optimize DEX header parsing. Fix 'psp' command
...
Added r_buf_get_at() method to avoid copies
2013-04-04 23:19:19 +02:00
pancake
8f4d23a5ce
Initial implementation of io.map plugin
2013-03-12 01:50:55 +01:00
pancake
9b1df62609
Fix mmap and other minor issues on w32
2013-01-23 18:38:08 +01:00
pancake
60a951e9b1
New io.buffer cache system and refactorized RHashTable
...
Implement io.buffer for fast IO (work in progress)
Rewrite util/cache.c and use it form io/buffer.c
Refactor util/ht.c and util/ht64.c to reuse code
Various minor fixes in RIO api
cache.c must be rewritten into r_buf for
2013-01-12 04:29:45 +01:00
pancake
b1e30e731b
Fixes for the r2irc.js bot and various consistency in core
2012-11-27 14:09:53 +01:00
pancake
850045c329
Fix many bugs noticed during the training course
...
Fixed ragg2 -e segfault
Fix use of ragg2 -p
Fix memleaks and null derefs in rio and rsocket
Fix some build warnings
Fix the segfaults found in the ELF parser
Dwarf parsing is only done if bin.dwarf is true
2012-09-22 20:32:19 +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
c33a057d41
* Fix segfault in OpenBSD when opening empty files
2011-07-04 02:17:00 +02:00
pancake
f6e36687ed
** Apply Simon Ruderich patch with few modifications
...
* libr/bin/bin.c: Temporary solution to fix malloc://
* libr/bin/t/test_create.c: Add missing return
* libr/bin/t/test_create.c: Fix gcc warning
* libr/core/cmd.c: Fix read from uninitialized memory
* libr/io/io.c: Fix uninitialized variable
* libr/print/print.c: Prevent invalid read
* libr/util/buf.c: Don't return free()d memory in r_buf_mmap()
2012-02-04 23:25:10 +01:00