Murphy
8245e459f4
Add support to stream files using mg ( #18253 ) ##fs
...
* Fix return values to int
* Add support to mg to read files in chunks
* Add support fs_io plugin when read files in chunks
* Change return value to in in read and write of r_fs_plugin_t
* Refactor code of mg command to support streaming
* Truncate destination file if exists
* Removing warnings due to incompatible pointer
* Add offset and size optional parameters to mg cmd
* Fix mg arguments management
* Fix some return values in fs
* Fix and refactor code to read files by chunks using mg
* add format changes
* Using r_num_math to parse the args
* Fixing fs_r2 to remove some warnings
* Remove some debug messages
* Update libr/core/cmd_mount.c
2021-01-23 17:16:39 +01:00
pancake
2d2cef076c
Dont demangle with libs unless requested ##bin ( #18268 )
2021-01-22 15:53:24 +01:00
pancake
5dedf4aa63
Fix crash when wasm file contains symbols with large names ##bin ( #18261 )
2021-01-22 12:07:35 +01:00
pancake
c76558c031
Add bin.cache evar to use io.cache when bins need to patch relocs ##bin ( #18247 )
2021-01-22 11:06:42 +01:00
Liumeo
302f4949a6
Use pj in core ##refactor ( #18267 )
...
* Use pj in core ##refactor
* fix tests
2021-01-22 08:44:44 +01:00
pancake
138c5a9b42
Fix UB in clz(0) spotted by asan ( #18265 )
...
* unum.c:41: runtime error: passing zero to clz(), which is not a valid argumentruet
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-22 01:45:16 +01:00
pancake
a7bb374c62
Update libr/anal/esil_dfg.c
2021-01-22 01:22:24 +01:00
ChD1
c593041309
Fix some bugs in esil_dfg.c
2021-01-22 01:22:24 +01:00
pancake
c3f7d0e1d1
Add CI test to ensure symlink reinstalls work ( #18252 ) ##build
2021-01-22 00:52:12 +01:00
Liumeo
39f5b12b8f
Use pj in cmd_log and cmd_print ##refactor ( #18259 )
2021-01-22 00:51:33 +01:00
condret
321c1dc0d7
Fix crash in radare2-rlang
2021-01-21 17:22:16 +01:00
Francesco Tamagni
d8b6f52e1d
Fix Mach-O rebase on fat slices ##bin ( #18248 )
...
* Don’t add boffset to macho sections paddr
* Add test
2021-01-20 08:08:43 +01:00
aemmitt-ns
f3cce89d41
refactor arm64math and helpers, add L*,S2D,U2D
...
fix u2d to be unsigned
fix and improve formatting
one more format fix
add fmul with vector test
fix zig tests
2021-01-19 23:05:11 +01:00
aemmitt-ns
bff0adf088
add a ton of supporting code for vector instructions
...
achieve working vector instructions
2021-01-19 23:05:11 +01:00
aemmitt-ns
2dc88c63b7
add floating point instructions to arm64 esil
...
fix div by zero compiler issue
update arm64 register profile
fix floating LT,LTE, fix FCCMP,CCMP, add 128 bit vector regs
2021-01-19 23:05:11 +01:00
pancake
fdb39cb5b7
Accept rwx argument in onn command ##io
2021-01-19 19:34:48 +01:00
pancake
fad6785005
Add onn command to fix custom map assignments ##io
2021-01-19 19:34:48 +01:00
pancake
d6f4cca167
Handle io.maps and bin.segments in o* to handle custom maps in projects ##projects
2021-01-19 19:34:48 +01:00
condret
d8c8851a42
Fix x86_cs cmpbs esil ##anal ##esil ( #18251 )
2021-01-19 17:23:36 +01:00
Liumeo
b8784098f7
Fix memleak in db/esil/apple ( #18238 ) ##bin
...
* Add r_skiplist_insert_autofree and fix memleaks in db/esil/apple
2021-01-19 11:49:42 +01:00
pancake
0dbc4ee537
Add missing files and remaining patches from import
2021-01-19 05:37:17 +01:00
yossizap
7919b99305
Fix trace crash caused by a mismatch between the register profile and op anal ##rizin
2021-01-19 05:37:17 +01:00
Khairul Azhar Kasmiran
3073b0f8d8
Clear syscall and sysregs sdbs if their files are not found ( #379 )
...
* Clear syscall and sysregs sdbs if their files are not found
* "Fix" cmd_k tests
Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
2021-01-19 05:37:17 +01:00
wargio
3de5f99e68
AVR: Fixed profile, (null) instruction and anal ##rizin
2021-01-19 05:37:17 +01:00
Alexis Ehret
4827f58ea6
Refactoring function r_str_isnumber
2021-01-19 05:37:17 +01:00
Alexis Ehret
a3f05a9b1a
Fix dead increments in places
2021-01-19 05:37:17 +01:00
Alexis Ehret
8ad2d817c2
Refactoring function r_type_func_guess
2021-01-19 05:37:17 +01:00
Alexis Ehret
78dc2b5b5f
Fix dead increment libr/util/utype.c
2021-01-19 05:37:17 +01:00
Alexis Ehret
9683174a57
Fix dead initialization libr/core/agraph.c
...
r_list_foreach assign already a value for 'gn';
2021-01-19 05:37:17 +01:00
Florian Maerkl
0967e24b40
Fix potential null-deref in r_rbtree_cont_foreach() ##rizin
2021-01-19 05:37:17 +01:00
wargio
085125b4ba
Fixed ACR build scripts to build AVR disassembler and anal plugins
2021-01-19 05:37:17 +01:00
wargio
f2314d4533
fixed double free in ds_update_ref_lines
2021-01-19 05:37:17 +01:00
wargio
cfcf4f86ac
Fixed AVR anal plugin warning due unpopulated mnemonic ##rizin
2021-01-19 05:37:17 +01:00
Giovanni
5ffe3e4240
Fixing clang flow warnings ( #321 ) ##rizin
2021-01-19 05:37:17 +01:00
GustavoLCR
c972d6a523
Fix #rizin302 - Fix function modification detection false ##rizin
2021-01-19 05:37:17 +01:00
Alexis Ehret
21c98d60ac
Remove all dead assignment detect by clang sa ( #310 ) ##rizin
2021-01-19 05:37:17 +01:00
Riccardo Schirone
a2b3adb671
Support evar filtering in eq and check for bool type in RConfig.toggle ##core
2021-01-19 05:37:17 +01:00
Allen McIntosh
5a207ff69c
change usage message so it at least mentions all options. Still need to clean up options with arguments
2021-01-19 04:34:28 +01:00
Allen McIntosh
4ca278c2cb
Fix r_anal_diff_fcn() so that case where only one function has NULL name is not treated the same as two functions with equal names
2021-01-19 04:34:28 +01:00
Allen McIntosh
33421f00c6
If radiff2 can't open first file, don't claim that second file can't be opened
2021-01-19 04:34:28 +01:00
Francesco Tamagni
fb45d1de30
Fix crash in XNU kernel parsing (no cache) ##bin
...
Also handle corresponding chained pointers format
and rename made up name.
2021-01-19 01:29:31 +01:00
pancake
ae9ffe4a83
One more -Werror=maybe-uninitialized
2021-01-18 16:10:59 +01:00
pancake
9b862a8ad8
One more -Werror=maybe-uninitialized issue fixed
2021-01-18 15:49:27 +01:00
pancake
c66b83c679
Fix -Wmaybe-uninitialized issue
2021-01-18 14:48:00 +01:00
pancake
ee5fca96ff
Remove ESIL->REIL code and commands ##refactor
...
* Despite being working it was not complete, not in
* sync with latest ESIL, not tested and we now have
* esil{cfg,dfg} and reil didnt succeed so far.
2021-01-18 12:15:33 +01:00
pancake
3d2856bb81
Type and null check fixes for RConfig
2021-01-18 11:15:04 +01:00
pancake
773695d835
Expose RConfigNode.options APIs to avoid messing with internals ##core
2021-01-18 11:15:04 +01:00
condret
c8b64170c4
fix x86-cs rep/repe/repne esil expressions ##esil ##anal
2021-01-17 04:25:31 +01:00
pancake
917682ac13
Fix plugin type name array issue in Lc command
2021-01-16 03:20:20 +01:00
pancake
d444bf338e
pd, is an alias for pdt (pdt will be removed soon) ##disasm
2021-01-15 10:56:58 +01:00