28487 Commits

Author SHA1 Message Date
Paul B Mahol
da0f39b082 Fix leak in r_log_vmessage() ##util 2022-08-05 14:26:05 +02:00
pancake
d6cd7e74ba Improve pid directive in rarun2, better info reporting ##tools 2022-08-02 03:15:24 +02:00
Dennis Goodlett
a28d10f222 Add pickle descriptions ##anal 2022-08-01 23:49:18 +02:00
pancake
a1c68b92dd After release version bump 2022-08-01 19:39:03 +02:00
pancake
a66f301d18 Upgrade to the latest capstone-next for ppc purposes ##arch 2022-08-01 19:31:10 +02:00
pancake
116bb77ffc Fix free(stack) crash in fortunetypes list 5.7.6 2022-08-01 18:48:39 +02:00
pancake
54d66a1536 Fix typo in m1 build script 2022-08-01 18:35:22 +02:00
Paul B Mahol
bf386b221d Remove obsolete tip, and fix another one. 2022-08-01 18:20:10 +02:00
pancake
2913f019f9 Release 5.7.6 - codename mapi 2022-08-01 16:56:33 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
pancake
34323f2c30
GIT_TAP=$R2_VERSION if no .git is found ##build 2022-08-01 15:57:50 +02:00
RHL120
a86c2a1aaa
Minor indent fixes in projects.c 2022-08-01 13:40:05 +02:00
Paul B Mahol
e874bc55c1 Fix for riscv ##asm 2022-08-01 09:54:18 +02:00
Paul B Mahol
4e47807078 Fix r_cons_printf call in calculator ##view 2022-08-01 09:54:18 +02:00
pancake
4f0fd49b1d Fixes riscv w64 build and improve console printing 2022-08-01 05:43:49 +02:00
pancake
8c51861578 Fix consola 2022-08-01 05:37:39 +02:00
pancake
8b44cee545 Add Assembler entry in Tools/ ##panels 2022-08-01 05:32:43 +02:00
pancake
0fded98afa Fix another uaf in the macho swizzling 2022-08-01 05:31:55 +02:00
Dennis Goodlett
8e3142b332
Add mnemonic API to pickle arch ##anal 2022-08-01 05:31:05 +02:00
pancake
36e337227e Fix riscv test 2022-08-01 04:20:29 +02:00
pancake
9b1bc3f85f Fix drf for esil in panels and indent the egg 2022-08-01 04:18:42 +02:00
Paul B Mahol
8a11b29927 Add FPU/XMM/YMM panel displays ##view 2022-08-01 04:10:57 +02:00
pancake
bcff5df91d Fix riscv left shift bugs and implement archinfo ##arch 2022-08-01 04:00:05 +02:00
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
Paul B Mahol
a9badb01ce Speed up rendering by caching context pointer ##cons 2022-07-31 21:47:46 +02:00
pancake
02989468cd
Merge asm.riscv into anal.riscv ##refactor 2022-07-31 21:42:19 +02:00
pancake
fec0a64b41 Fix #20439 - rafind2 -V search for values like in /v ##tools 2022-07-31 19:56:39 +02:00
Adwaith V Gautham
a2007867bb
Fix #16209 - ragg2 on macOS ##tools 2022-07-31 19:06:40 +02:00
pancake
5662271054
Be more strict when parsing numbers ##util 2022-07-31 16:53:42 +02:00
pancake
fb67f995b7 Revert "Update capstone which improves the PPC support ##arch"
This reverts commit a175015eb3e642d0986762446557fd51c12defc2.
2022-07-31 15:29:15 +02:00
pancake
a175015eb3 Update capstone which improves the PPC support ##arch 2022-07-31 14:48:55 +02:00
pancake
8df818b2de Add the infamous command tac ##shell 2022-07-31 14:41:55 +02:00
Paul B Mahol
75a206cb17 Check for memory allocation failure in backtrace_fuzzy() 2022-07-31 14:24:10 +02:00
Paul B Mahol
2cc93d76c2 Fix leak in backtrace_fuzzy()
The stack pointer is written once and then read
and after that is abandoned.
2022-07-31 14:24:10 +02:00
Paul B Mahol
02e306efa2 Fix leaks when switching color themes 2022-07-31 14:24:10 +02:00
Paul B Mahol
5aad604a27 Fix leak when showing lib versions 2022-07-31 14:24:10 +02:00
Paul B Mahol
d4c2c61df1 Fix leak in pseudo x86 parser 2022-07-31 14:24:10 +02:00
Paul B Mahol
5cb5f9aab2 Fix leak of anal_arch in r_core_anal_cc_init() 2022-07-31 14:24:10 +02:00
Paul B Mahol
a2a29d8a24 Fix memory leak when calling tcc_sym_push() 2022-07-31 14:24:10 +02:00
pancake
1cd49a8d1c Add cmd.undo and handles it for w and CC commands ##core
* Improve undo command listing
* The cmd.undo variable when set some commands add entries into the `uc`
* This is wip, needs to have better facilities and support more commands
* Defer cmd.undo=true for r2-5.8.0
2022-07-31 06:34:16 -04:00
pancake
d2af6a76f8 Update tests using the deprecated anal.noncode 2022-07-31 06:34:16 -04:00
pancake
be93a9c4b0
Implement ~$!! as a tac replacement and clarify the ~$! use ##shell 2022-07-31 01:50:50 +02:00
Paul B Mahol
14df487086 Check if allocation was positive of r_anal_value_new() 2022-07-30 07:22:53 -04:00
Paul B Mahol
2a1872fd1d Fix leak of abandoned buffer in anal_block_cb() 2022-07-30 07:22:36 -04:00
Paul B Mahol
a4b9260efd Fix double free when shrinking vectors ##crash
realloc() call can return NULL for size of 0 and still free()
that memory, there was no check for this so code ends prematurely
and double free can happen later.
2022-07-30 07:21:02 -04:00
Paul B Mahol
4de824fb89 Fix returning imports table ##bin 2022-07-30 07:20:34 -04:00
Dennis Goodlett
daf0c06d81 Add last opcodes to pickle assembler ##anal 2022-07-29 16:06:51 -04:00
Richard Patel
85b69d1e0e Fix string literal free in bin.dol 2022-07-29 10:28:56 -04:00
Paul B Mahol
8ffa196193
Fix not calling r_asm_op_fini() when needed (#20506)
The RAsmOp is used on stack when disassembling and after its content is not need it needs to call its _fini to free possible heap memory previously allocated.
2022-07-29 07:30:05 -04:00
Paul B Mahol
e540f819e0 Fix overreads in r_str_utf8_codepoint() 2022-07-29 07:29:05 -04:00