26338 Commits

Author SHA1 Message Date
Apkunpacker
9be5aaad59
Small fortune typo fixes 2021-08-14 09:54:13 +02:00
pancake
88a3524734 Fix tests 2021-08-14 02:25:16 +02:00
pancake
b43dc081b2 Add two more tests for the internal grep 2021-08-14 02:20:25 +02:00
pancake
30704f54cd
Remove colons in "?" number conversion output ##shell 2021-08-14 01:50:59 +02:00
pancake
cdda780e93
Honor < and > comparison operators in RNumMath ##shell (#18979) 2021-08-13 21:13:13 +02:00
pancake
847d1671ce
Use RNum.math in "?b" to make '?b 1<<1' work ##shell 2021-08-13 20:29:17 +02:00
Apkunpacker
4985171219
Update fortunes.fun (#18977) 2021-08-13 20:03:32 +02:00
pancake
9c53763b53 Add m68k.gnu plugin to the meson builds 2021-08-13 19:07:16 +02:00
Enshin Andrey
4cec1a6d0b
Add xX key descriptions in the help message ##panels 2021-08-13 18:38:40 +02:00
RHL120
260dbb9e8f
Integrate rvc in projects and add a default commit message ##vc
* Add an rvc_git_repo_exists ()
* Add a prj.vc.message variable
* Honor interactivity to rvc
* Integrate rvc into projects
2021-08-13 18:37:18 +02:00
Azox
cf93f2aaf9
Fix emulation for AARCH64 ldr,str,stp,ldp instructions ##esil
* Modified tests for LDP (preindex, no writeback)
2021-08-13 18:07:47 +02:00
Dennis Goodlett
078714d0b2 Rasign2 space test fix 2021-08-12 01:14:30 +02:00
Dennis Goodlett
197c9d5316 Fix bug in zaf creating zignspace ##signatures 2021-08-11 01:16:46 +02:00
Dennis Goodlett
eaa235a1b1 Better description for a signatures 2021-08-11 01:16:46 +02:00
László Vaskó
8ef090c017
r_cons_printf_list: fix potential busy loop (#18970)
In case the string to be written by `vsnprintf` including `\0`
termination equals to the length of the buffer, the code enters in a
busy loop. The original code seems to assume, that `vsnprintf` won't
terminate the string with `\0` character which it does.

The [documentation of `vsnprintf`
states](https://en.cppreference.com/w/c/io/vfprintf):

> `int vsnprintf( char *restrict buffer, size_t bufsz, const
> char *restrict format, va_list vlist );`
>
> Writes the results to a character string buffer. At most bufsz - 1
> characters are written. The resulting character string will be
> terminated with a null character, unless bufsz is zero. If bufsz is
> zero, nothing is written and buffer may be a null pointer, [...]

This means that the `size` variable should be set to the total
available length of the buffer, not `length - 1`. Furthermore on the
return value the manual writes:

> however the return value (number of bytes that would be written not
> including the null terminator) is still calculated and returned.

This means that the `written` size returned doesn't count the
terminating `\0` in the length, so the value of `written` can be at
most `size - 1` before truncating the output. In other words a string
having`size = written + 1` would fit exactly in the buffer.

Also as `vsnprintf` will write the terminating `\0` there is no need
to explicitly do that.
2021-08-10 00:31:20 +02:00
Dennis Goodlett
47bd6fa966
Expand r_sign API ##signatures
* Remove RCore from r_sign_fcn_vars
* Move r_sign_add_func to r_sign
* Add r_sign_all_functions to r_sign
* Use r_sign in rasign2 ##signatures
2021-08-08 00:42:47 +02:00
pancake
6ef5e4460a Lowercase sections are no longer a thing in Cydia 2021-08-04 23:26:43 +02:00
RHL120
ff81ce63de
Exclude files of nested rvc repos from repo_files() ##projects 2021-08-04 18:12:42 +02:00
pancake
22a15cb510 Add Author in the Cydia package 2021-08-04 17:48:04 +02:00
Sylvain Pelissier
3e13703536
Rename /cu UDS CAN table search to /ru command ##search 2021-08-03 15:14:47 +02:00
pancake
3145e3dcf5
Fix last covs (#18964) 2021-08-03 14:15:30 +02:00
pancake
305145d37f Fix #18963 - Fix regression when pressing SUPR key in the prompt 2021-08-03 12:44:36 +02:00
aemmitt-ns
1ed085b498
Fix #18860 - mul and imul for *dx operands and 64 bit widths ##esil
* Add imul and mul emulation tests for edx, signed, and 64 bit
2021-08-03 12:37:34 +02:00
Dennis Goodlett
af4aa2e867
Support FLIRT v5 file format compression ##signatures 2021-08-03 12:35:48 +02:00
pancake
23119004b7
Fix test 2021-08-01 13:57:34 +02:00
pancake
b235bcbb32
Allow RBinPlugins to use RBinFile at check() ##bin 2021-08-01 12:39:51 +02:00
Sylvain Pelissier
2a65987bee
Add PGP search for signature and RSA encrypted private keys (#18961) ##search 2021-08-01 12:16:14 +02:00
pancake
321bb7fe75
Fix null deref and boolify the RDebug.attach() function (#18960) 2021-08-01 11:48:09 +02:00
pancake
5399c90173
Initial support for the TIC-80 Fantasy Computer cartridges ##bin 2021-07-31 02:52:26 +02:00
pancake
04483ee801
Initial import of ./preconfigure for packaging purposes ##build
* Use git clone -q for a quieter experience
2021-07-31 02:48:40 +02:00
Murphy
3ed52d4d26
Fix #18813 - Cannot assemble cmp w26, 0 in arm64 ##asm 2021-07-30 12:56:01 +02:00
pancake
1cd01754b6
Improve the pdc output to allow recompilation ##print
* Add pdcc to get C helpers
2021-07-30 12:55:34 +02:00
pancake
d13d351fa0
Fix #18843 - Implement Vx[+-] to add/delete xrefs ##visual 2021-07-30 12:34:13 +02:00
Murphy
5e608cf01f
Fix #18876 - Check imm bounds for some instructions in the x86.nz assembler ##asm
* Add immediate_out_of_range function
* Add range limit to out imm8 instruction
* check imm range in opmov
2021-07-30 11:26:32 +02:00
pancake
0f3e6e6acd Dont use scr.responsive on android by default 2021-07-30 10:58:01 +02:00
pancake
a3faa5e733 Bring back pins to esil land ##esil 2021-07-30 10:38:44 +02:00
pancake
d6624b4257 Add /cg command to search for GPG artifacts ##search 2021-07-30 01:29:01 +02:00
pancake
33f8a981d9 Better x86.pseudo and varsub for strings ##disasm 2021-07-30 01:28:52 +02:00
pancake
35209b643e Add pushf/popf instructions to x86.nz ##asm 2021-07-30 01:23:03 +02:00
pancake
f1c81abd53 Improve dupped symbol filter logic 2021-07-29 21:09:08 +02:00
Paul I
a7a26b4f13 Replace SDB with HtPU in RBin.filter_name() ##bin 2021-07-29 21:09:08 +02:00
pancake
e622272d29 Honor Flag.maxLength in more RName.filter calls 2021-07-29 19:53:50 +02:00
pancake
3e90cc00ed Fix memleaks spotted by coverity 2021-07-29 19:53:50 +02:00
pancake
71f6069a46
Use NULL disassembler in the NULL asm plugin (#18945) 2021-07-28 12:09:36 +02:00
pancake
a242ecf943
Add one more RReg wrapper in RAnal for bindings (#18946) 2021-07-28 12:09:23 +02:00
pancake
6f10062f0c
Improve the macOS packaging scripts ##build 2021-07-28 11:56:57 +02:00
pancake
8abc24c89b System LIBRARY_PATH must be honored (not replaced) on HaikuOS 2021-07-27 19:50:31 +02:00
pancake
8423470ce6 Fix build for HaikuOS 2021-07-27 19:06:47 +02:00
pancake
39993b39d7 Fix arrow handling after fixing mouse clicking glitches ##cons 2021-07-27 11:25:47 +02:00
pancake
b552322004 Handle RAVC2_USER environment variable 2021-07-26 17:00:36 +02:00