Commit Graph

12553 Commits

Author SHA1 Message Date
pancake
98f7b10439 Boolify r_core_yank_file_all() and fix shadow var bug ##api 2022-09-19 02:08:58 +02:00
pancake
4801bbc13d Add r_file_is_executable and r_file_extension apis ##api
* Boolify some rdebug apis
* Make json.parse arg const
2022-09-19 02:06:35 +02:00
pancake
92236e4b1e Update to the latest SDB that's changing the sdb_itoa() signature 2022-09-18 20:38:58 +02:00
HighW4y2H3ll
15d337a70a Use RPVector in RAnalOp src/dst to support ldm/stm/simd ##anal 2022-09-18 10:01:39 +02:00
pancake
f6383a05f3 Introduce the new r_arch library, just the skeleton ##arch 2022-09-18 03:41:39 +02:00
pancake
7bbf82b97d Deprecate graph.web eval config var ##config 2022-09-18 01:36:59 +02:00
condret
bd2837f905 Rename r_arch_set_ to r_arch_config_set_ ##refactor 2022-09-17 04:37:33 +02:00
condret
e2889de5bf Rename R_ASM_SYNTAX to R_ARCH_SYNTAX ##refactor 2022-09-17 00:14:21 +02:00
pancake
bc93eab86c Remove RPrintRowlog and use R_LOG isntead ##shell 2022-09-16 20:45:13 +02:00
Alex Bender
b4bac8feda Change R_LOG_INFO to R_LOG_TODO where suitable ##api 2022-09-16 17:46:08 +02:00
pancake
6967f63396
Allow changing number of saved input lines ##shell
Authored-by: Paul B Mahol <onemda@gmail.com>
2022-09-16 15:50:21 +02:00
pancake
9935bbece0 Do not use unexistent apis like RFile.extension() 2022-09-16 15:13:55 +02:00
pancake
03e6e9ab3c Fix RConfig.SetB as it wasnt attempting to create any new node 2022-09-16 14:46:18 +02:00
pancake
cabab671df Check magic header before assuming an interpreted file is executable ##r2pipe 2022-09-16 12:12:07 +02:00
pancake
e5d8cc46af Add linting to avoid setting bool config vars with strings 2022-09-16 11:46:18 +02:00
pancake
b705e334f6 Massage more R2_580 pending changes breaking APIs and ABIs 2022-09-16 11:34:19 +02:00
pancake
1944e59783 Remove some more r_hash leftovers 2022-09-16 10:46:24 +02:00
pancake
3feb8a514c Remove some more unused and deprecated RCmd APIs 2022-09-15 16:36:10 +02:00
Sylvain Pelissier
4a01f475f3 /ca update help message and add block cipher parameter
/ca initial SM4 key search implementation

Add SM4 key search test

Refactor cmd_search.c to have common code for key search.
2022-09-15 16:28:38 +02:00
pancake
971b5d9b92 Single and reusable RCrypto instance 2022-09-15 11:25:40 +02:00
pancake
e1506f0757 Use the new crypto api 2022-09-15 11:25:40 +02:00
pancake
a6e0d6c480 Merge rhash into rcrypto and improve apis ##api
* Update meson and make build systems
* Remove leftovers and unused dependencies
2022-09-15 11:25:40 +02:00
Alex Bender
12ea8be2ed Change the way TODO messages are printed from eprintf to R_LOG_TODO 2022-09-15 04:07:29 +02:00
pancake
007809f8dd Boolify and rename some methods and fields from RFS ##api
* fs plugins now can hold an .author field
* API breaks for simplicity
2022-09-14 23:41:12 +02:00
pancake
df1dce4109
Remove the file.offset unused config variable ##config
* It was set for a while, RBinFile holds this info in loadaddr
* file.offset was conceptually wrong because its 'global'
2022-09-14 19:53:26 +02:00
pancake
58a5f2d274
Implement log.source and log.origin ##shell
* Update tests
2022-09-14 18:51:02 +02:00
pancake
a27aa03ff3 Add a public api for the yank-unset action ##api 2022-09-14 17:44:08 +02:00
pancake
176c4c40a8 Add the new ucu and ucd commands using the new core-undo apis ##shell 2022-09-14 17:42:03 +02:00
pancake
866f0417a9 Fix "infinite" loop in cmdseek bug test 2022-09-14 16:57:39 +02:00
pancake
5ee08839ff Rename asm.{off} variables to asm.offset ##shell 2022-09-14 16:56:48 +02:00
pancake
5600f4b941 Remove global in bin.obj.reloc_patch ##globals 2022-09-14 16:54:46 +02:00
pancake
b2455ad806
Set hex.hdroff=true by default ##print 2022-09-14 16:46:51 +02:00
pancake
a29e9463af Don't show the linearsize in the afl output ##anal 2022-09-14 15:27:01 +02:00
pancake
80ed4f176a Deprecate scr.seek configuration variable ##core 2022-09-14 12:43:50 +02:00
pancake
4af52dd31d [5.8.0] Disable the default io.basemap ##io 2022-09-14 12:37:45 +02:00
pancake
4f71945b74
Initial implementation of R_LOG_TODO ##core 2022-09-14 12:37:24 +02:00
pancake
22d6bcf2dd
Implement pFAj to render android xml in JSON (abi break) ##print 2022-09-14 08:55:25 +02:00
pancake
61e2da5acf
Remove unused apis in cmd and disable related unit tests 2022-09-14 08:46:06 +02:00
pancake
051db9466f
Constify the help ##api 2022-09-14 08:45:25 +02:00
pancake
3901c2d21a
Import the free pascal symbol demangler from rizin ##bin 2022-09-14 08:44:17 +02:00
pancake
8317a962e1
Add anal.vars.newstack - configurable improved stack-relative var ##analysis 2022-09-14 00:18:38 +02:00
pancake
de0903184a Fix last coverity findings 2022-09-12 23:18:39 +02:00
pancake
de91b82f1a Add open command as a wrapper for the system launcher ##shell
* `start` on windows, `xdg-open` on Linux and `open` on mac
2022-09-12 22:05:25 +02:00
pancake
f29759c4c9 Remove globals in bin.sms ##globals 2022-09-10 11:11:43 +02:00
pancake
0c26327f9d Remove all global variables in rahash2 ##tools 2022-09-10 11:11:43 +02:00
pancake
b2022acb02 Fix #20202 - pd-55 showing invalid instructions ##disasm
* Depending on blocksize that command prints some invalid instructions
* Reverse disassembly is not 100% reliable if the code is not analyzed
2022-09-10 00:29:06 +02:00
pancake
6db7d19e72 Add linting to spot misuses of r_strbuf_appendf and fix them all ##refactor 2022-09-09 23:12:01 +02:00
pancake
399ca4c669 Define =SN for the sparc register profile and improve warning message ##analysis 2022-09-09 22:24:00 +02:00
pancake
998e9474e6 Fix UB bug in afi command causing random segfaults ##crash 2022-09-09 22:19:14 +02:00
pancake
1e57fabb3e Warn when bypassing the word bounds of numeric arguments in wo ##write 2022-09-09 13:50:15 +02:00