Commit Graph

17776 Commits

Author SHA1 Message Date
Akshay Ajayan
de7b02bc10 Add avraj output for gcc (#9823) 2018-04-08 12:22:20 +02:00
Vanellope
14909482d8 Vane11ope/fix panels (#9814)
* created RPanals out of panels.c

* deleted a garbage
2018-04-07 16:51:25 +02:00
Riccardo Schirone
98fa3a33c5 util/num: add support for ROR and ROL 2018-04-07 16:49:33 +02:00
Riccardo Schirone
67eef8ac05 core/graph: free RGraphEdges when freeing long_edges list 2018-04-07 16:49:08 +02:00
Riccardo Schirone
8a13e621b2 core/graph: free g->nodes 2018-04-07 16:49:08 +02:00
Riccardo Schirone
98a65bc044 core/graph: prevent memory leaks of dummy nodes
Iterates over all nodes instead of using sdb nodes
2018-04-07 16:49:08 +02:00
Khairul Kasmiran
335a5539ec Fix #9816: Linux doesn't support STREAMS either 2018-04-07 22:01:43 +08:00
Khairul Azhar Kasmiran
a677f8a320
asm.emu.strflag: control showing of flag for asm.emu string (#9815) 2018-04-07 21:35:12 +08:00
Paul I
6ae080d348 Fix msvc warning for r_debug (#9824) 2018-04-07 13:39:46 +02:00
Akshay Ajayan
fa46a814c4 Minor changes for RTTI (#9822)
* minor changes for 64 bit

* some more changes
2018-04-07 10:12:00 +02:00
Akshay Ajayan
43af9e3bb2 Added support to parse RTTI for GCC (#9812) 2018-04-06 15:28:14 +02:00
pancake
0e2f6c0858 Fix build on macOS 2018-04-06 15:25:16 +02:00
Dirk Eibach
7049eb98aa io: Add changes from review
- Use r_sys_usleep instead of nanosleep
- Make a single if statement for input check in gprobe_get_reply_i2c()
- Add braces around single line if statements
- Add checks for r_buf_new
- use r_print_hexdump with NULL for RPrint

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-04-06 12:46:52 +02:00
Dirk Eibach
fc4e3e00be io: Add DDC2Bi3 protocol wrapper to gprobe plugin
The DDC2Bi3 wrapper is used for both DDC2Bi3 and I2C
communication channels, for example HDMI DDC or
I2C Host Interface.

Using this wrapper you can communicate with displays
that are based on Genesis chipsets like the Dell U2410.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-04-06 12:46:52 +02:00
Riccardo Schirone
8dff0e0106 Fix #9682 (#9810)
* core: fix a couple of segfaults when dealing with large inputs
* core: clone matched flags before executing @@, to prevent UAF
* check for NULLs
* gitignore: ignore autosave Emacs files
* libr/flag: remove assert header
2018-04-05 18:27:26 +02:00
pancake
250a4c89ed Fix previous covs from 2 days ago 2018-04-05 11:22:02 +02:00
Riccardo Schirone
9e88e1b703 anal: fix long vs int size issue on 32bit machines (#9809)
* anal: fix long vs int size issue on 32bit machines

The %lld format expects a long long, but an int was provided on the
stack, so the snprintf was accessing a wrong memory to print %s. Convert
the first argument to long long to solve the issue.

* bin: use st64 instead of long long
2018-04-05 10:59:01 +02:00
pancake
e94e54d695 Fix last covs and leak in izz 2018-04-05 10:49:36 +02:00
Khairul Azhar Kasmiran
497a015ec2 asm.emu.strinvert: control color inversion of asm.emu strings (#9801)
* asm.emu.strinvert: control color inversion of asm.emu strings
* Shortened asm.emu.strinvert to asm.emu.strinv and its desc
2018-04-05 09:54:44 +02:00
pancake
80759f227d Implement pdsb, /gg to graphpath following calls, and honor anal.depth and search.count 2018-04-05 09:30:47 +02:00
pancake
613b240449 Fix aab. (a8 -> ab). Implement /gg and /g? 2018-04-05 01:45:12 +02:00
pancake
5556e7d841 Fix #9588 - Pl -> P 2018-04-05 00:43:35 +02:00
pancake
a866ae451c Implement px[WQ]q and honor asm.offset 2018-04-04 22:42:50 +02:00
pancake
3b7f2b8126 Fix #9805 - Implement file autocompletion after > 2018-04-04 22:32:51 +02:00
pancake
3b8e645770 Fix #9707 - Remove aos from help message 2018-04-04 22:19:35 +02:00
pancake
44a6f48206 Fix #9718 - Support upparse asm.relsub for arm-thumb 2018-04-04 22:17:20 +02:00
Paul I
6172ec25b1 Meson: fix missing libsdb files (#9803) 2018-04-04 21:58:42 +02:00
pancake
9c1f5e0409 Fix mips64 debugger regprofiles 2018-04-04 16:40:46 +02:00
pancake
0529ed0d3f Add breakpoints for mips64 2018-04-04 16:40:28 +02:00
Riccardo Schirone
db67ea5f0c RBin: fix void* != ut64 in elf parser (#9792) 2018-04-04 15:56:19 +02:00
pancake
12d3c8d81e Fix #9800 - null deref in elf parser 2018-04-04 15:55:50 +02:00
Gromimousse
c5e476fed1 Rop gadgets are now stored in sdb (#9784)
* Rop gadgets are now stored in sdb

 - Now gadgets are searched only once, and then future rop search are
 much faster because gadgets are just retrieved directly from sdb
 - Still need to deal with the grep functionnality, and perhaps recode a
 little bit around that to make it work well with the gadget in the sdb
2018-04-04 13:00:52 +02:00
Giovanni
b3f5853316 [v850] V850_ADD_IMM5 fix #8308 (#9797)
* GR [reg2] <= GR [reg1] + sign-extend (imm16)
* fixed missing cast to signed 32 for esil of immediate value
2018-04-04 12:58:13 +02:00
sivaramaaa
17061a7b61 Fix #8198, Avoid restoring and replaying session twice in every step back command (#9794) 2018-04-04 12:57:46 +02:00
Francesco Tamagni
7f5584ee00 Fix “fail” address for arm thumb2 IT instruction (#9795)
- stateless
- get the address of the n-th next instruction using capstone
- in this way the n-sized group of following instructions will be in the same block (regardless of the single instruction condition being T or E)
2018-04-04 12:56:56 +02:00
Riccardo Schirone
f1e9277b1e core: do not print two times the last basic block on /g command (#9793) 2018-04-04 12:45:25 +02:00
pancake
51958b62c3 Implement /g to find all possible paths from A to B inside a function 2018-04-04 00:42:24 +02:00
radare
dfcf6f745d
Initial transition to use RBuffer in RBin (#9787)
* Initial transition to use RBuffer.io in RBin

- Fixes loading Core files from Virtualbox (> 2GB ELF64)
2018-04-03 20:23:26 +02:00
Khairul Kasmiran
9f27259a03 Using Color_INVERT_RESET instead of Color_RESET for asm.emu.str strings 2018-04-03 17:38:57 +02:00
pancake
94af669a8f Implement r2k.wp and fix r2k.io 2018-04-03 14:44:23 +02:00
xarkes
c276ae6c54 Fixed smd/m68k issues (Fix #9790) 2018-04-03 13:19:13 +02:00
Nics
35aca48289 Exclude meson.build from the list of color schemes. (#9648) 2018-04-03 09:09:36 +02:00
pancake
5247515d2c Bring back the old help message in r2k 2018-04-03 02:11:27 +02:00
pancake
f33bf51bef Improve r2k-linux \? commands and revert io.undo patch 2018-04-03 02:02:48 +02:00
pancake
902ce16418 Honor scr.color un cu[1248] 2018-04-03 00:44:54 +02:00
pancake
aa13c0269d Implement cu[1248] command 2018-04-03 00:34:07 +02:00
pancake
5a5ab2693b Fix seek undo and make s.. push in the undo history 2018-04-02 22:41:12 +02:00
Paul I
8675e324ac Meson: add libr_shlr.a building/installation rule (#9789)
* Meson: add libr_shlr.a building/installation rule

* Meson: distribute *.lib/*.a files for Windows by default
2018-04-02 22:33:05 +02:00
pancake
089a201ebc Hex numbers start in 0x (in r2k too) 2018-04-02 20:00:39 +02:00
Khairul Kasmiran
fd598d443c asm.emu.str: include \t, \r and \n as string chars 2018-04-02 04:17:52 +02:00