Commit Graph

31565 Commits

Author SHA1 Message Date
Dāvis Mosāns
169923932d Enable winkd 2024-02-16 12:44:12 +01:00
pancake
d733074ba5 Fix signed shift left undefined behaviour bug in the loongarch disassembler
* p/loongarch/loongarch-coder.c:114:13: runtime error: left shift of 8277060 by 9 places cannot be represented in type 'int32_t' (aka 'int')
2024-02-16 12:31:53 +01:00
Francesco Tamagni
3d28835f8e Fix kernelcache sections vaddr offset ##bin 2024-02-16 08:26:10 +01:00
pancake
2db25da77e Fix 1 byte overflow in pyc parser ##crash
* Reproducer: $ r2 negmarshall378
2024-02-16 07:52:53 +01:00
pancake
d4d73836b3 Check for permission string parsing errors on all r_str_rwx callers 2024-02-16 07:47:47 +01:00
pancake
03e1a6b097 fix unit 2024-02-16 07:47:47 +01:00
pancake
ff4915cf89 Improve RStr.rwx permission string parsing ##util 2024-02-16 07:47:47 +01:00
pancake
a8a045643f Improve argument parsing for the dmp command ##debug 2024-02-15 20:00:25 +01:00
pancake
057af65d6e
Fix #22563 - fix 'cannot assemble' in dmp, using egg shellcodes ##debug
* debug's eggs must share the same asm instance
2024-02-15 19:36:35 +01:00
pancake
f68afb49f1 Introduce private pointer for future abi-safe improvements for #22569 2024-02-15 16:59:19 +01:00
pancake
3ee7bcfc68 Fix capstone reference commit for v5 2024-02-15 12:26:04 +01:00
pancake
eea9327710 Remove unused RStr.insert() 2024-02-15 10:55:37 +01:00
pancake
e18ab5e538 Add linter rule to avoid the use of unsafe sscanf("%s") 2024-02-15 10:25:30 +01:00
Yiheng Cao
38c8e5ded6 Use the safe r_str_scanf instead of scanf to parse gdb profile ##crash 2024-02-15 10:09:14 +01:00
pancake
814b3ffff0
Fix #22594 - Handle long flags in r_getopt as an alias for help ##shell 2024-02-14 18:36:51 +01:00
pancake
9aa814c6cf Fix (null) in gS output 2024-02-14 18:09:04 +01:00
Omvpatil
446ce5f541
Fix #19823 - Changed http to https 2024-02-14 17:42:25 +01:00
pancake
989306773f
Implement support for json and r2 output for %env ##shell 2024-02-14 16:42:13 +01:00
pancake
8c620f44c8 More tcc cleanups 2024-02-14 16:06:30 +01:00
Armin Weihbold
b6c28b3830
Autodetect libc version and support manual specification ##debug
* Improve dmh usability
* Add unit tests for regexpes used
2024-02-14 14:38:40 +01:00
pancake
4fc2daf5e3 Add a broken test for r_str_scanf for my future self 2024-02-14 12:42:18 +01:00
pancake
be75b2d9ee
Fix #22588 - Support multiple redirections in the same line ##shell
* allowed: x > a 2> b
* forbidden: x > a > b
* broken: x>a
* todo: add tests and support nesting and multiple redirects
2024-02-13 20:39:31 +01:00
pancake
e394274585 Add test for previous commit 2024-02-13 20:34:58 +01:00
pancake
db8fc600a4 Fix crash when iterating an empty vector backwards 2024-02-13 19:57:55 +01:00
pancake
7552613e09 Fix another tcc regresson on windows 2024-02-13 01:06:03 +01:00
pancake
6c6af6d532 Fix linking and symbol visibility issues in tcc 2024-02-12 22:40:12 +01:00
pancake
144573b098 scr.fix.{rows|cols} -> scr.{rows|cols}.fix 2024-02-12 22:18:03 +01:00
pancake
835f855e4b Fix #21312 - scr.columns -> scr.cols 2024-02-12 22:18:03 +01:00
pancake
02fc7f90ec
Minor cleanups on the tcc code 2024-02-12 19:10:30 +01:00
pancake
df118329f9 Fix test 2024-02-12 17:05:21 +01:00
pancake
a6ac1d8cac Show error when user applies relocs on urified ios ##io 2024-02-12 16:53:01 +01:00
pancake
f9f3fe8873 Add test for ULL enum constants 2024-02-12 16:36:21 +01:00
Tronciu Vlad
8419d7d0cb Fixed null pointer dereference issue in treeblock 2024-02-12 15:33:43 +01:00
pancake
1ee768a40f Fix error and add missing help for r2 -qc '?*~abcd' -- ##shell
* Kudos to @astralia for kindly reporting the bug
2024-02-11 11:44:51 +01:00
pancake
e3da17a0fb Do not use a custom boolean for dwarf 2024-02-10 10:31:32 +01:00
pancake
80e637f76d Fix windows build for debug.evm 2024-02-10 10:07:07 +01:00
Armin Weihbold
ce276ba615 Update dbg_dL
Fix test for dcdf4be163
2024-02-10 09:14:16 +01:00
pancake
dcdf4be163
Import the debug.evm plugin from radare2-extras ##debug 2024-02-09 18:58:16 +01:00
pancake
c1c630220d afbt -> afb, ##shell 2024-02-09 10:46:41 +01:00
pancake
7da6f12ef8 Remove ?: from the ??? help message as its deprecated 2024-02-08 18:58:50 +01:00
pancake
1e0c6b2a48
Fix rax2 -l behaviour ##tools 2024-02-08 17:45:26 +01:00
pancake
f368c8ccdb
Add more tests and fix %c in r_str_scanf 2024-02-08 17:38:39 +01:00
pancake
bf78d090c8
Initial implementation of our custom r_str_printf api 2024-02-08 11:16:42 +01:00
pancake
4e7470a3eb Update cwisstable and fix minor bug in scanf's scanset 2024-02-08 01:39:20 +01:00
pancake
c75ad89e5f Implement scansets support in RStr.scanf ##util 2024-02-07 19:18:13 +01:00
pancake
64aa644ab5 Implement %p in r_str_scanf and add more tests for it 2024-02-07 10:35:45 +01:00
pancake
098669591c
Initial import of our custom and safe r_str_scanf ##util
* %s requires length via %.s
* cant use %*s for backward compat reasons (printf vs scanf inconsistencies)
* support %Lx as a portable ut64 modifier
* add some unit tests
* Implement wide string support
2024-02-06 20:23:30 +01:00
pancake
1009f69cc2 Fixes for large numeric values in base64 and clz64 2024-02-06 20:22:20 +01:00
pancake
ce1170c293 Fixes for macppc support 2024-02-06 20:11:35 +01:00
pancake
88580023d3 Old shells expect number for test -gt 2024-02-06 18:51:28 +01:00