Commit Graph

27553 Commits

Author SHA1 Message Date
Sergi Àlvarez i Capilla
7412ed4869 After release version bump 2022-03-23 11:52:05 +01:00
Sergi Àlvarez i Capilla
50b8813f1d Fix w64blob artifact name for the release
* Fix meson -Dplugins=arm reg profile issue
* Fix an infinite loop when emulating with no valid regprofile
2022-03-22 20:06:43 +01:00
Sergi Àlvarez i Capilla
866a80ffbb Release 5.6.6 2022-03-22 17:42:38 +01:00
Sergi Àlvarez i Capilla
3c54a8d7a2 Publish r2blob-w64 on release and fix artifact name ##ci 2022-03-22 17:39:37 +01:00
pancake
0052500c1e
Fix heap OOB read in macho.iterate_chained_fixups ##crash
* Reported by peacock-doris via huntr.dev
* Reproducer 'tests_65305'

mrmacete:
* Return early if segs_count is 0
* Initialize segs_count also for reconstructed fixups

Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Francesco Tamagni <mrmacete@protonmail.ch>
2022-03-22 16:56:27 +01:00
aemmitt-ns
0be8f250c8
Add ESIL for x86 SSE float instructions ##esil 2022-03-22 15:47:18 +01:00
pancake
db253cab01 Fix #19833 - Fix asserts in aor 2022-03-22 14:56:02 +01:00
pancake
44b081b6a1 Fix back scrolling in the decompiler pane in panels ##visual
* Half revert b5311e975f
2022-03-22 12:38:14 +01:00
pancake
cdde8abf05 Add missing 'OK' in the preconfigure script 2022-03-22 12:21:39 +01:00
pancake
19ae07accf Implement 'aeb' using APIs instead of commands ##esil 2022-03-22 12:01:50 +01:00
pancake
c8ae21f68f
Only build library archives when -Dblob is provided ##build
* Lowers the amount of objects from 2400 to 1500
2022-03-22 11:59:13 +01:00
pancake
82794237d7
Update sdb and fix some more unused return value warnings 2022-03-22 11:12:43 +01:00
pancake
60182bb63a Add missing export cflags in sys/user 2022-03-22 09:44:10 +01:00
pancake
801dd326a0 Remove the hexagon from anal ##analysis
* Too large (2.2MB) and too slow to build, time explosion with -O2
* It's outdated and not maintained, better use r2ghidra one
* Move this code into extras (or the updated one)
* Still available via r2pm
2022-03-22 01:04:34 +01:00
Lazula
ea207c528e Fix dxr and use it in dd 2022-03-21 23:40:27 +01:00
pancake
3d572e31cc printf => echo 2022-03-21 19:01:03 +01:00
pancake
a7ce29647f Fix UAF in aaaa on arm/thumb switching ##crash
* Reported by @peacock-doris via huntr.dev
* Reproducer tests_65185
* This is a logic fix, but not the fully safe as changes in the code
  can result on UAF again, to properly protect r2 from crashing we
  need to break the ABI and add refcounting to RRegItem, which can't
  happen in 5.6.x because of abi-compat rules
2022-03-21 18:46:53 +01:00
pancake
d22d160c45 Fix minor memleak in pf 2022-03-21 17:57:07 +01:00
pancake
dc3e8fff06 Fix signed shift bug (UB) in dalvik analysis plugin 2022-03-21 17:14:59 +01:00
pancake
41d1926923
Save sp,bp,src,dst in heap outside the loop ##anal (#19848)
* Fix an UAF on thumb/arm analysis, but there's still another one more problematic
2022-03-21 17:03:57 +01:00
pancake
ad2df6a14c Fix undefined behaviour in RVector, RPVector, RInterval and container_of ##fix
* All those basic primites were based on wrong assumptions
* Added more return_if preconditions on several anal functions
2022-03-21 12:04:14 +01:00
pancake
69815e22e4
Fix #19838 - Show pins in the disassembly as comments ##disasm 2022-03-20 10:49:53 +01:00
pancake
f69c5824a1 Use R0 instead of A0 in the ret0 pin 2022-03-20 10:28:29 +01:00
Lazula
e85ad664a6 Remove unused update variable in __print__decompiler_cb() 2022-03-19 04:05:44 -05:00
Sergi Àlvarez i Capilla
8a68ef26d4 Fix last memleaks spotted by coverity scan 2022-03-18 16:39:06 +01:00
Sergi Àlvarez i Capilla
c7ef0af76a Improve panels prompt drawing the bottom box line one line above ##visual 2022-03-18 16:35:38 +01:00
pancake
6f547f8cbe Add some extra checks in the preconfigure script 2022-03-18 15:27:45 +01:00
pancake
f0c654d394
Try this commit for TinyCC (#19837) 2022-03-18 15:03:25 +01:00
aemmitt-ns
8138a5d977
Add R0 and F0 aliases, add register profile for MSP430
* fix arp tests
2022-03-18 15:03:09 +01:00
pancake
245babbf9e
Lots of cleanups to reduce the regressions in TCC ##refactor
* Cleanup crypto.aes and anal.arm_cs to make the latest tcc happy
* Dont pick latest tcc. as its broken (-30 commits for now)
* Dont pass multi-dimensional arrays as argument
* Don't assume TCC supports threads, because it doesnt
* Many intrinsics are missing still for tcc on darwin-arm64
* lz4 code crashes when compiled with latest tcc and needs a full rewrit
* Add more null checks here and there
* Remove unused code in the tcc parser
2022-03-17 18:40:58 +01:00
pancake
8089224302 Improve help message for dd? and autocomplete ##debug 2022-03-17 18:36:13 +01:00
pancake
2411bc75a3 Add 'dd+' to open files in the child process as read-write ##debug 2022-03-17 18:35:41 +01:00
pancake
34f1bbbcc8 Fix unitialized buffer read bug enumerating process files ##debug 2022-03-17 18:34:06 +01:00
pancake
39a44903c2 Add scr.notch to blank N lines on top of the screen ##visual 2022-03-17 10:12:17 +01:00
pancake
7699f37c7d Fix warnings spotted by latest XCode (unused variables) 2022-03-17 10:12:02 +01:00
pancake
202e7d3b26 Update the Windows build instructions ##doc 2022-03-17 10:11:28 +01:00
Sergi Àlvarez i Capilla
b0f1c3716f Update tests related to the missing R0 in the regprofile for x86-64 2022-03-16 17:10:14 +01:00
Sergi Àlvarez i Capilla
e8c00902b7 Fix dirty esil regression 2022-03-16 16:43:40 +01:00
pancake
df6c68e150 Add aaepa command to set all unknown imports as ret0 ##esil 2022-03-16 16:38:08 +01:00
pancake
3020803a39 Fix aecs and add test emulating hello world without libc ##esil 2022-03-16 15:33:03 +01:00
pancake
c7f9503e72 Add aaep and extend aep to support pin specific commands ##esil
* Implemented few basic libc calls in pure r2 commands
2022-03-16 15:33:03 +01:00
pancake
cffad47c88 Improve help message for psz, aek, aae, aep, aer and aex commands ##shell 2022-03-16 15:33:03 +01:00
pancake
02f9dd1839 Add w64-static builds in the CI ##windows 2022-03-16 00:48:50 +01:00
pancake
37acc9d87f Add 'configure.bat static' argument to build r2blob.static.exe ##windows 2022-03-16 00:48:50 +01:00
pancake
4ba0af5d1d Fix meson -Dblob=true builds for static ##windows 2022-03-16 00:48:50 +01:00
pancake
87d238c515 Fix r2blob for windows ##windows 2022-03-16 00:48:50 +01:00
pancake
7d534a29be uaf 2022-03-15 23:25:12 +01:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
pancake
d759ee6a07 Fix title glitch in release-notes script 2022-03-15 19:53:02 +01:00
pancake
f544c625bd Fix UAF in mdmp parser 2022-03-15 19:49:05 +01:00