15583 Commits

Author SHA1 Message Date
alvarofe
d489e1ca2c Fix bug with r_io_alvread_at
The check at the beginning was wrong
2017-08-22 22:30:08 +02:00
alvarofe
0105724d1f Fix issue with onIterMap
If map is not found the desc map is used, that is why the check should
be made against <= 0
2017-08-22 22:28:21 +02:00
condret
e3255d5f65 bring fd-api to RIOBind, for LOC reduction in bin 2017-08-22 21:19:57 +00:00
Sven Steinbauer
2f2d597318 Fix jmp with pointer values and offsets (#8267) 2017-08-22 20:13:02 +02:00
Sven Steinbauer
bf6596f5d4 Add support for 32bit extended regs to mov (#8265)
FIX #8251
2017-08-22 20:12:30 +02:00
Ren Kimura
75c34396fb Fixed dbw parse bug (#8271) 2017-08-22 20:11:59 +02:00
SkUaTeR
560bf70b6f Fix meson siol (#8268)
* some fixes in meson to build under windows

* some fixes in meson to build under windows
2017-08-22 20:10:24 +02:00
xarkes
3a76ba056c Fix Windows memory error (#8274) 2017-08-22 20:09:52 +02:00
alvarofe
e8262bc024 Init when declaring the variables 2017-08-22 17:38:46 +02:00
alvarofe
4a3d7cb7bf Fix infinite loop due to bad usage of r_io_read_at 2017-08-22 17:36:07 +02:00
alvarofe
d2a43bfa72 Fix r_io_use_fd
When we have two fd and one gets closed io->desc is NULL, therefore
returning against this condition, made the code unpredictable because of
this
2017-08-22 17:25:41 +02:00
condret
0161fa0ec2 make read_at bool again and implement RIOAccessLog for accurate error-handling
This reverts commit a9bf4aae2bdca2c139f482c3f0e098fe6ece1ee0.
2017-08-22 17:24:04 +00:00
alvarofe
4e3cf3d202 Remove damn stray character 2017-08-22 16:39:38 +02:00
alvarofe
fbdf71d513 Fix wrong API usage 2017-08-22 16:03:33 +02:00
alvarofe
213da629d4 Fix warning introduced in last commit 2017-08-22 15:23:51 +02:00
xarkes
0b141fa26f Fix travis cfg (node now in make -k all) (#8269)
* Fix travis cfg (node now in make -k all)

* Added unit_tests to make all
2017-08-22 14:40:01 +02:00
alvarofe
ffe365f57d Fix infinite loop cause r_io_read_at return int and not checked properly 2017-08-22 12:59:04 +02:00
xarkes
4a4db0043d R_PACKED tcc fix 2017-08-22 18:09:41 +08:00
pancake
09819a4615 Fix undefined behaviour in colorized opcodes 2017-08-22 11:23:38 +02:00
pancake
4fb761e4c8 Fix ?* and other uninitialized warnings 2017-08-22 11:12:06 +02:00
pancake
c99bae1b6c Fix signed size check (thanks @MaskRay) 2017-08-22 11:11:51 +02:00
Giovanni
1dfe58a98a Fixes #8167 - Use io.cache with pdc 2017-08-22 10:48:02 +02:00
Fangrui Song
a9bf4aae2b Misc fixes to siol (#8262)
* Fix onIterMap (divide-and-conquer like USACO Shaping Regions), check return values of every `op` call
* Change return types of r_io_read_at and friends back to `int`
* Fix some analysis tests and others
* Fix mem leaks
2017-08-22 10:46:48 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
Giovanni
b645c7fd1a fixed wrong check on vle that was causing some wrong output (#8254) 2017-08-22 01:12:36 +02:00
Sven Steinbauer
1064fdba62 Refuse to assemble group 1 ops with dwords on 64bit (#8257)
FIX #268
2017-08-22 01:12:11 +02:00
Fangrui Song
a635b34c77 Move const char help_msg_*[] arrays to top (#8250) 2017-08-21 09:53:23 +02:00
Fangrui Song
11b744f188 Remove SIGSTKSZ from signal list (#8252) 2017-08-21 09:52:58 +02:00
pancake
2b89315b74 Fix jemalloc warnings 2017-08-20 23:29:21 +02:00
Ren Kimura
9862367fd0 Add drx_add/delete for watchpoint (#8244)
* Add drx_add/delete for watchpoint

* Changed breakpoint callback
2017-08-20 10:39:10 +02:00
Giovanni
0c884fef93 fixed double imports value in iaj output (#8246)
* fixed double imports value in iaj output

* fixed missing Export in iaj
2017-08-20 10:37:30 +02:00
Anton Kochkov
cecc20aa97 Fix meson build 2017-08-20 05:04:53 +08:00
condret
45fb32a213 cleanup rbufplug and make it a usual plugin 2017-08-19 22:45:43 +00:00
Anton Kochkov
64f7e2a93a Fix meson build 2017-08-20 04:44:11 +08:00
pancake
62b45bce07 More build fixes for android 2017-08-19 20:05:21 +02:00
pancake
e2719df4dc Fix another io regression 2017-08-19 19:23:09 +02:00
pancake
3867f1ec88 Fix the Linux debugger io 2017-08-19 19:17:09 +02:00
pancake
d68d1fda83 Fix crash regression in fuzzed CLASS binary 2017-08-19 19:10:28 +02:00
pancake
29ca827cf2 Fix Android builds 2017-08-19 18:52:57 +02:00
pancake
f571681c1a Fix null deref in nonstandard api usage 2017-08-19 18:23:44 +02:00
pancake
622df1fdce Fix windbg warnings 2017-08-19 17:39:49 +02:00
Fangrui Song
83a3e9d007 r_list_foreach macros should not stop at an element whose data is NULL (#8231) 2017-08-19 17:23:29 +02:00
Khairul Azhar Kasmiran
90f2721c04 izj/izzj: include Unicode blocks (#8242) 2017-08-19 17:22:25 +02:00
pancake
fd7dfad154 More fixes 2017-08-19 17:16:54 +02:00
pancake
f9073c1979 Fix some warns and off by 1 in x86.nz 2017-08-19 16:19:13 +02:00
pancake
084d70e539 Upgrade zlib from 1.2.8 to 1.2.11 2017-08-19 13:46:10 +02:00
pancake
0771170ae6 Kill io.sectonly and make io.va work as expected 2017-08-19 13:26:51 +02:00
Fangrui Song
e3510cdb65 Fix __desc_cache_commit_cb (#8240) 2017-08-19 10:36:39 +02:00
Fangrui Song
ef292c8468 Fix off-by-1 in io.c (#8239)
Also removed incorrect r_io_map_is_in_range
2017-08-19 10:07:13 +02:00
condret
ea52254c52 add fd abstraction api, and make desc-api a bit more consistent 2017-08-19 02:23:51 +00:00