Commit Graph

29444 Commits

Author SHA1 Message Date
pancake
6d68fc18a6
Implement asm.bytes.align to justify them to the right ##disasm 2022-12-07 15:02:00 +01:00
pancake
1a0b6a9abe
Kill RAsmOp, we can reuse RAnalOp in here ##arch 2022-12-07 14:30:22 +01:00
RHL120
ac513ddc34
Fix some bugs in projects ##projects
* Use r_file_is_directory
* Return true instead of false in r_project_rename
* Free core->prj->path before resetting it
* Check for null in r_project_rename
2022-12-06 19:08:23 +01:00
pancake
4bef862bd2 Improve pickle disasm on invalid instructions ##arch 2022-12-06 19:06:38 +01:00
pancake
4832b3b719 Reminiscense of asm.midflags in tests, update to asm.flags.middle 2022-12-06 18:31:57 +01:00
pancake
4b769417e2
Remove RAsmPlugin struct and add the 'aia' command to show archinfo ##arch 2022-12-06 12:16:45 +01:00
pancake
3a16336491 Use RAnalOp instead of RAsmOp in r_core_visual_bit_editor ##visual 2022-12-06 11:00:18 +01:00
pancake
ccb7351b5e
Merge RParse into RAsm ##api 2022-12-03 02:26:41 +01:00
pancake
afaf4cbb05 Fix ios static build 2022-12-03 01:06:16 +01:00
pancake
b4b8b2ee99
Move the remaining asm plugins into the arch ##arch 2022-12-03 00:32:52 +01:00
pancake
a4707696d2 Fix CI build 2022-12-02 23:38:04 +01:00
pancake
903b5f6864 Expose RCore.cmdCall() and fix b64: command + add tests ##shell
* Run r2 commands without evaluating any special char
2022-12-02 23:32:24 +01:00
pancake
fa7fc5b6cd Fix and improve static build, faster libr.a with libtool if available ##build
* Use libtool and CC instead of AR to merge all libraries into libr.a
* Fix archives files for the v35 disassemblers
2022-12-02 23:04:27 +01:00
pancake
3cf4f66811 Add "lua" as an alias for "#!lua" ##lang 2022-12-02 14:56:10 +01:00
pancake
3b033951be Fix rlang build on windows 2022-12-02 15:56:16 +01:00
pancake
e1b1f85397 Fix the meson build 2022-12-02 14:07:17 +01:00
pancake
07b5771f50 Minor plugin selection improvements ##arch 2022-12-02 12:07:09 +01:00
pancake
f0f778994d
Move asm.nasm into the arch ##arch 2022-12-02 12:02:51 +01:00
pancake
82c25407af Refactor RLang api to use the new design ##api 2022-12-02 11:59:33 +01:00
condret
36bf340b4e Kill io->buffer ##io 2022-12-02 03:48:29 +01:00
condret
006a23ab39 Remove unused fcn declarations ##io 2022-12-02 03:48:29 +01:00
pancake
26c5221d5e Document aanf as an alias for afna@@ for ergonomic reasons 2022-12-01 17:49:53 +01:00
pancake
693d235b09 Fix #21080 - Add cfg.codevar to change the buffer varname from pc ##print 2022-12-01 17:49:15 +01:00
pancake
b53a1583d0 Fix integer overflow in fuzzed dwarf rendering in graphs ##crash
* Reported by @solid-snail via huntrdev
* BountyID: c6f8d3ef-5420-4eba-9a5f-aba5e2b5fea2/
* Reproducer: `intof_mod`
2022-12-01 13:57:46 +01:00
pancake
7ef58beabf Use r_hex_bin2strdup instead of copypasta in util.js2hex 2022-12-01 13:36:20 +01:00
pancake
85052958b9 Add support for tarball and zip packages ##r2pm 2022-12-01 13:08:46 +01:00
pancake
ee5f9a635f Improve error checking in r2pm and improve libr archive creation 2022-12-01 09:33:19 +01:00
pancake
1a8eac88b4 Move asm.vasm into arch.any_vasm ##arch 2022-12-01 09:33:19 +01:00
Dennis Goodlett
6925d3264a Assemble large pickle instructions ##arch 2022-12-01 09:32:32 +01:00
pancake
04da3be921 Improve libr.a creation with ar -rcT instead of ar -x ##build
* Support static builds with two object files sharing the same name
2022-11-30 22:50:58 +01:00
pancake
afaea5d82f Fix iOS builds 2022-11-30 19:15:59 +01:00
pancake
57e8214add Dont use |Usage, because Usage is the new trend 2022-11-30 19:04:20 +01:00
pancake
05947def03
Move the preincrement and void arg from tests to lint.sh ##syntax
* The regex was not correct, so it was missing a lot of cases
2022-11-30 17:13:32 +01:00
pancake
55d59eea17 Some more RConfig.geti -> getb code cleanup, wip new lint 2022-11-30 17:11:39 +01:00
pancake
19a377bbda Fix and move failing tests, reorder lib build ##arch 2022-11-30 15:43:54 +01:00
pancake
7ca2004fc9 Move the arm assembler plugin from asm to arch ##arch
* force 4 jobs in bin/d
2022-11-30 15:43:54 +01:00
pancake
28ca83cd73 Move all the arch plugins to the new plugin structure structure 2022-11-30 15:43:54 +01:00
pancake
ffdc611fdc Move the arch.p.arch_pickle to arch.p.pickle 2022-11-30 15:43:54 +01:00
pancake
0b48b67fd1 Temporary add RAnal as dependency for REgg ##arch 2022-11-30 15:43:54 +01:00
pancake
8c8a06cfd7 Improve x86.nz assembler parsing and other bugs in rnum ##arch
* Disable all the gas tests, will be re-enabled with arch.any.as
2022-11-30 15:43:54 +01:00
pancake
f08fc91dd9 Initial implementation of the arch.any.as plugin ##arch 2022-11-30 15:43:54 +01:00
pancake
53b28aecab Better handle of RNum errors for egg and arch.x86.nz ##arch 2022-11-30 15:43:54 +01:00
pancake
d5027d07d3 Support reg+idx and idx+reg in x86.nz assembler ##arch 2022-11-30 15:43:54 +01:00
pancake
0b145c5e40 Move the x86.nz plugin ##arch 2022-11-30 15:43:54 +01:00
condret
0d32c3748f Add esil.dfg.mapinfo and esil.dfg.maps config vars ##anal 2022-11-30 09:53:29 +01:00
pancake
684a4599f6
Fix use-after-free after @@@e spotted by meme ##crash 2022-11-29 12:28:36 +01:00
pancake
f2afd9cc1e Use rabin2 -rO for raw dump operations ##bin
* Useful to dump the section contents in binary instead of hexpairs
2022-11-29 10:41:55 +01:00
pancake
fa8fd1a066 Use glob expressions to specify section name to dump ##bin
* Handy for oneliners when .TEXT changes
2022-11-29 10:41:55 +01:00
pancake
fbe046ff61 Show number conversion error messages in ?v command ##shell 2022-11-29 00:38:34 +01:00
pancake
f295af7204 Fix asm/dis/esil flagstring in rasm2 -LLL 2022-11-28 11:26:31 +01:00