15397 Commits

Author SHA1 Message Date
Rene Laemmert
261675ef3b Make old gcc happy again (#8128) 2017-08-04 19:00:02 +02:00
xarkes
3da3958db8 Windbg FIX #7660 + typos (#8126) 2017-08-04 17:49:41 +02:00
pancake
e7086d0253 Fix s.. 2017-08-04 00:58:25 +02:00
josediazfer
74a22ebe07 Changes for windows (memory map, memory modules, radare commands with pipe) (#8109)
* Improvements for windows
FIX: All the memory regions of the process are shown (previously only the modules were shown).
FIX: Before only the 64-bit modules were shown, adding the flag TH32CS_SNAPMODULE32 also shows the 32bits.
FIX: In Windows 7 the stat () function fails if the temporary path ends with slash.
The r_core_cmd_pipe () function is implemented.

* FIX: Changes for windows (memory map, memory modules, radare commands with pipe) #8109
2017-08-03 16:46:06 +02:00
xarkes
3d681b0fe5 Renamed windbg plugin (#8117) 2017-08-03 14:58:39 +02:00
pancake
e0f0c89783 Fix #8115 - PoC for the Visual Split mode 2017-08-03 14:52:59 +02:00
Willi Ballenthin
73e8440582 Fix #8114 - dockerfile: use node v8, better install npm 2017-08-03 14:04:03 +02:00
pancake
97a38e6eea More tweaks for the jemalloc support 2017-08-03 13:56:45 +02:00
pancake
a7f0053dd7 Add CoreBind.cfggeti to fix w32 build 2017-08-03 13:39:05 +02:00
pancake
e913c770f5 Fix build 2017-08-03 13:27:11 +02:00
javierptd
edfd37e7e4 first PR heap jemalloc analysis 2017-08-03 13:08:21 +02:00
pancake
ab9957640c Fix windows build 2017-08-03 12:34:50 +02:00
Fangrui Song
81bc02f375 Fix r_strbuf_setf when the length of returned string >= 1024 (#8112) 2017-08-03 11:29:36 +02:00
pancake
48f1bb0842 Implement loop instruction in the x86.nz assembler 2017-08-02 23:57:23 +02:00
pancake
17752cdb52 Fix a memory leak found by coverity 2017-08-02 21:42:42 +02:00
Jonathan Burnham
59c5a49623 Fix #7774 - Fix xrefs when saving/loading projects 2017-08-02 21:32:03 +02:00
xarkes
e3ee2fca64 PDB Autoloading when debugging 2017-08-02 15:58:59 +02:00
Francesco Tamagni
221194b697 Add ESIL for few ARM instructions and fix minor issues (#8107)
* Add ESIL for few ARM instructions and fix minor issues
* smmla, smmlar, umull, mls, mla, mvn, bfi, bfc

Fixes:
- ldm index displace
- crop 32 bit math results to 32 bits
- crop 32 bit addresses to 32 bits

* Fix indentation issues
2017-08-02 15:55:46 +02:00
Khairul Azhar Kasmiran
1eecc83b9c asm.strenc: tighten up guess for utf16le string (#8108) 2017-08-02 15:55:00 +02:00
leberus
f3d11405e7 Fix debug for Linux 2017-08-02 14:49:56 +02:00
Alex Kornitzer
bfbdb943c8 mdmp: Added custom binary info (#8104)
Updated info so that it will deal with mdmp's extra info fields
2017-08-02 14:47:08 +02:00
Srimanta Barua
74c80f9e09 min-checks on gdb packet size (#8106) 2017-08-02 14:14:11 +02:00
pancake
bf8651454b Avoid another divbyzero in gdb code 2017-08-02 13:28:07 +02:00
xarkes
567b5837b0 Moving /MT modifier to release build (#8103) 2017-08-02 13:13:25 +02:00
Srimanta Barua
7b5de5cb51 fix divide by zero (#8100) 2017-08-02 12:13:28 +02:00
Sven Steinbauer
c7b3a1e2e7 Fix #8008 output for register offset with register (#8102) 2017-08-02 12:11:35 +02:00
Srimanta Barua
f6f5199ef6 let gdbserver select thread (#8101) 2017-08-02 12:10:43 +02:00
Ben Gardiner
3aff806fcb Fix #8095 rasm2 x64 bswap issue #8095 (#8096) 2017-08-02 00:54:34 +02:00
Sven Steinbauer
dcad605335 Allow for 32bit only ops in x86 (#8092) 2017-08-01 18:22:20 +02:00
Dennis Goodlett
66b5808475 fix segfault in vsnprintf on 32 bit systems examining a PPC ELF (#8075)
* fix segfault in vsnprintf on 32 bit systems 

On a 32-bit x86 computer, examining a PowerPC ELF with the "aa" command caused a segfault in vsnprintf. 

The %llx  (PFMT64x) format attempts to get the next 64 bits from the stack. This will consume the cmask32 and ARG(0) values. The following "%s" will cause a segfault if the next 32 bits is not pointing to readable memory.

I doubt this is the best fix. Maybe libr/include/r_types.h should be changed? You guys know better.

* cast instead of duplicating code

* fix white space
2017-08-01 18:20:39 +02:00
Khairul Azhar Kasmiran
1820908da3 asm.strenc: guess whether string is utf8 (#8094) 2017-08-01 18:18:47 +02:00
Sven Steinbauer
1426a73032 Add move, bal, bgezal, and bltzal mips instructions (#8090)
* Add `move`, `bal`, `bgezal`, and `bltzal` mips instructions

* Only divide immediate on branch ops
2017-08-01 18:17:33 +02:00
pancake
78ec2d0340 Implement rafind2 -i to identify binaries 2017-08-01 15:27:11 +02:00
pancake
9bdce20d83 Negate those align checks 2017-08-01 15:06:00 +02:00
pancake
16304fc9a4 Implement data align restrictions for analysis and esil (arm, mips..) 2017-08-01 14:51:29 +02:00
Anton Kochkov
e52447c9ea NEC V850 - Initial ESIL support (#8082) 2017-08-01 14:32:52 +02:00
Marc
409232f7e4 Fix code style 2017-08-01 12:53:24 +02:00
pancake
0d04abce48 s-- and s++ accept a number as argument to half the seek 2017-08-01 12:18:16 +02:00
Srimanta Barua
0f690c7997 return tid after continue (#8079) 2017-08-01 11:40:43 +02:00
Srimanta Barua
9f9192232a Fix a lot of incorrect 'garbage at end of packet' messages (#8080) 2017-08-01 11:40:33 +02:00
Srimanta Barua
579a043b87 rework =!qRcmd to more intuitive =!monitor, send monitor help by default (#8081) 2017-08-01 11:40:15 +02:00
Marc
5da2238b7b Remove debug eprintf 2017-08-01 10:23:10 +02:00
pancake
0140bf07b3 Add some more instructions for the mips assembler 2017-08-01 06:01:52 +02:00
Marc
6aec198df7 Add DEX38 support 2017-08-01 05:00:48 +02:00
pancake
6d953c3b33 Implement adrp instruction for arm64 2017-08-01 04:35:14 +02:00
pancake
94df0f1b44 Fix #8074 - reg profile for xnu-x86-64 native debugger 2017-07-31 18:37:16 +02:00
Ren Kimura
3ffc7e1831 Fixed type confusion of free functions (#8072) 2017-07-31 18:30:05 +02:00
Sven Steinbauer
3f3dd45431 fixes for nz assembler (#8073) 2017-07-31 18:28:57 +02:00
xarkes
cc622a6271 Added runlib to rarun2 - fix #8045 (#8066) 2017-07-31 15:03:11 +02:00
pancake
b3244620b8 Fix #8059 - Fix crash in dwarf parser 2017-07-31 15:00:01 +02:00