pancake
bf63107f9a
Fix uninitialized entry field for MZ bins (jman issue)
2016-08-08 10:45:32 +02:00
Álvaro Felipe Melchor
0bc983027f
improve arm/thumb in elf file format and disasm
2016-08-07 17:38:34 +02:00
pancake
b53a7bb84b
Fix regression in AFR related to io_is_valid
2016-08-07 14:08:13 +02:00
Rakholiya Jenish
339a5b7b18
fix iZ and negative o for large files ( #5242 )
...
correct the add section check
keep commented part to it's original code
int to ut64
minor fix and limit buffer size in case file size cannot be allocted
remove section check
show size in readable format
minor changes
2016-07-05 12:46:28 +02:00
Álvaro Felipe Melchor
d21ee9f00f
fix crash due to UAF with io.vio option
2016-07-03 19:32:06 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +02: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
b80904319d
Fix #4194 - Remove RCons dependency from RIO
2016-03-14 00:11:31 +01:00
pancake
808c205f74
Fix r_io_section_next() and make io.sectonly happy
2016-02-20 22:51:34 +01:00
condret
5a300e09e8
fix r_io_section_rm
2016-01-22 15:38:12 +00:00
pancake
6f47901a06
Clarify r_io_section_mget->_in api and use the heap for section->name
2016-01-03 03:08:58 +01:00
pancake
4c4bfd11c2
Enforce size in section.findMatching
2016-01-03 01:40:09 +01:00
pancake
a93ecf2b69
Fix #3898 - Persistent section name in project files
2016-01-03 01:36:16 +01:00
Ricardo Quesada
2c3fdba551
Fix for bug 3788
...
- `r_io_read` calls `r_io_read_at` with vaddrs, and not with maddr
- `r_io_section_maddr_to_vaddr` uses a reverse iterator to check the
sections
- adds `r_io_section_mget_prev`: this function can be removed if the
behavior of `r_io_section_mget` is changed to use a reverse iterator
Squashed commit of the following:
commit a31d359bf1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Wed Dec 9 11:40:54 2015 -0800
fetches sections starting from the back
commit 0b687439ea
Merge: 8485676
92c1631
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 23:40:35 2015 -0800
Merge branch 'master' of https://github.com/radare/radare2 into revert_3788
commit 8485676cf5
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 23:09:05 2015 -0800
This seems to be the "correct" patch...
...but it breaks some tests... apprently searches a few bytes
out of the section creating some false-positives hits
I'm just commiting this PR to give an idea of where the bug is
commit 2e4b8de397
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 22:46:29 2015 -0800
not good... reverting
commit 324afba7e2
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 22:09:25 2015 -0800
workaround for bug 3788
commit 6e6283eaa1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 15:14:12 2015 -0800
Reverts fix for bug #3788
please, reopen bug #3788
2015-12-09 22:20:54 +01:00
Álvaro Felipe Melchor
11ce2c5031
fix aligned issue with S=
2015-10-15 21:57:08 +02:00
Álvaro Felipe Melchor
82e02d15b0
Fix S= issues with paddr and vaddr
2015-10-14 00:11:35 +02:00
Álvaro Felipe Melchor
feb11b7861
Fix #3440
2015-10-14 00:11:35 +02:00
Álvaro Felipe Melchor
a7022f01a5
coding style and fix paddr in S=
2015-10-14 00:11:35 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
Riccardo Schirone
ffdbf919b1
io/section: add r_io_section_vaddr_to_maddr_try API
...
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
Riccardo Schirone
9f3539023e
io/section: r_io_section_offset_to_vaddr get section with mget, not vget
...
* core/cmd_print: adapt to io/section change
* core/cmd_print: print newline in print string json command
2015-09-07 13:40:49 +02:00
Riccardo Schirone
eeef82c2b8
bin: use R_BIN_SCN_MAP flag when a section should be mapped by IO
...
- io/section: filter sections by looking at R_IO_MAP flag
- util/str: consider (m)apped flag when printing/parsing srwx info
2015-08-26 14:12:46 +02:00
shuall
0807686d86
#3052 all printf member functions changed to cb_printf
2015-08-09 03:25:05 +02:00
pancake
c334632809
Add anal.noncode to avoid analyzing data by default
...
Fix double-free in core/anal.c
2015-07-05 01:44:45 +02:00
pancake
6de4e32000
Implement 'o=' command like 'S='
2015-01-27 15:35:42 +01:00
pancake
d08015cf66
Add f--, fs-*, o--, enhace Po a lot
...
- Handle all internal information deinitialization in:
- flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
b736119a4a
Colorize S=, Add anal.gp and better op.refs for mips and x86
...
- Add anal.gp to make mips.cs code analysis happy
- S= honors scr.color
- Fixed x86(capstone,udis) memrefs for mov/cmp
2014-11-07 03:48:27 +01:00
pancake
f6bb048a37
Fix S= asterisk mark
2014-11-06 23:06:51 +01:00
pancake
8c43eddaa2
Honor io.va and scr.width in S=
2014-11-06 03:02:38 +01:00
condret
f4a1b0a3bd
fix #1366 and make r_io_close keeping the current desc if it does not get close
2014-09-16 23:12:37 +02:00
pancake
56f9ac577e
Fix ASLR for linux debugger. Load rbin info from different base address
2014-08-25 04:22:22 +02:00
pancake
3cfeec1d4e
Fix r2 -B .. sets bin.laddr and honors va=2
2014-08-25 03:45:11 +02:00
pancake
6863da3df3
Ignore sections at vaddr=0 (fixes some crappy elfs)
2014-06-27 03:10:09 +02:00
pancake
42617b6cef
Colorize S? and shrink sz/vsz from %08 to %04
2014-06-27 01:43:04 +02:00
condret
6b1efd8ecd
Add R_ERROR and fix RIOSection.get_{first,in}_{vaddr,paddr}{_range}
2014-06-11 17:42:42 +02:00
pancake
ba57864617
Rollback to use the old io api.
2014-05-31 12:14:49 +02:00
pancake
5e33a8a282
Initial huge refactoring of r_io still work in progress
2014-05-28 04:34:12 +02:00
pancake
576c9d6221
Fix ASLR (rabin2, r2 -B working again), sort i? output
2014-05-26 03:06:29 +02:00
deeso
ccc3794eeb
Fixed the 0xff io bug
2014-05-22 02:17:09 -05:00
deeso
6d21408a31
Changing the listing of the Section Id to the position in the RIO Sections List
2014-05-21 14:01:21 -05:00
pancake
c6a73d3074
Fix loading sections from fatmach0 bins
2014-05-16 03:48:57 +02:00
deeso
1fbc7f2168
Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
...
this work with rbinfiles and rbinobjects.
Conflicts:
libr/bin/bin.c
libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
Roi Martin (@nibble_ds)
3f5ebd9d16
Fix #458 - Negative baddr
...
Fix r_bin_get_vaddr() (needs further testing due to changes in r_io)
2013-12-19 19:43:44 +01:00
pancake
f664821d8e
Fix loading the RBin information of PIE bins when debugging
2013-12-17 02:10:13 +01:00
pancake
6fbbb3dea0
Add arch/bits fields in RBinSection (breaks abi)
2013-03-26 23:37:19 +01:00
pancake
837489a5ed
Faster ptrace io and fixed software stepping in ARM
...
Fix software stepping in arm
p/io_ptrace now supports /proc/pid/mem io
Added =!help =!mem and =!ptrace to io/ptrace
Hide invalid section sizes messages
2013-03-19 02:36:14 +00:00
pancake
c11bf6c1cb
Fix partial IO read, show flags under visual cursor
...
Show flags in @@ and visual title with cursor
Port 80 is now default for r2 -C
Key 'q' will quit -C mode
Fix visual core_read() issue with chrome
Fix io.va issue in partial reads
Fix r_io_next_section() code
2013-03-18 00:38:04 +01:00
pancake
f37df0d2c6
Fix fatmach0 extract when unknown files are inside
...
Fix segfault in java class header parser
Fix help message of 'wt' command
2013-01-29 19:39:41 +01:00
pancake
05a2d60270
Fix r_io section load for big binaries (hello chromium!)
2013-01-29 14:56:57 +01:00
pancake
35808e31f8
Add io.zeromap to toggle old buggy mode doublemapping file to 0
...
Add http.maxsize to define the maximum file size to be uploaded
Add http.upget config var (not yet implemented)
2013-01-03 01:43:23 +01:00