Commit Graph

11961 Commits

Author SHA1 Message Date
Sergi Àlvarez i Capilla
4474cbab01 Fix last covs 2022-01-28 15:23:44 +01:00
pancake
51032c662d Remove globals from tcc code ##cleanup 2022-01-25 11:38:41 +01:00
RHL120
785e500a7e
A better way to check if a project has been saved ##projects
* Add a dirty var to RFlag, RAnal and RConfig
* Add  prj.alwaysprompt
* Add R_DIRTY() and R_IS_DIRTY()
2022-01-25 10:39:15 +01:00
Lazula
6b45040a4b
Implement pdu (#19616) 2022-01-25 03:14:52 -06:00
pancake
7e297cb18c Handle vE as in VE - edit color theme ##visual 2022-01-24 00:15:05 +01:00
pancake
52f2f8a2bb Add scr.color.ophex to colorize 'px' with opcode type ##print 2022-01-24 00:00:10 +01:00
pancake
3c3bc79ebd Honor flag colors in 'px' hexdump ##print 2022-01-24 00:00:10 +01:00
Lazula
45160a5854
Add r_core_help_match() to get help for a specific command ##api
* Add exact argument to help_match
2022-01-23 23:40:15 +01:00
pancake
63a3dd5c04 Fix pxa@e:hex.compact=true and add tests ##print 2022-01-23 22:47:04 +01:00
pancake
242bf08b62 Improve the way color flags are handled ##print 2022-01-23 22:47:04 +01:00
pancake
fd6f3732f2 Handle spaces in the 'r-' and 'r+' resize commands
* 'r-3' == 'r- 3' == 'r -3'
* 'r+3' == 'r+ 3' == 'r +3'
2022-01-23 20:20:33 +01:00
pancake
ed2030b79e Improve the 'fc' command to unset and get color flags easily ##cons
* fc-* delete all flags
* fc*  list all color flags as r2 commands
* fc red  set color of all flags in current offset
* fc entry0=red  set entrypoint as red
2022-01-22 00:51:45 +01:00
pancake
deb1d30502 Fix #15473 - Align meta dwords in the middle of instructions ##disasm 2022-01-22 00:19:40 +01:00
lasek0
2ab3794b88 fix x86-16bit seg:off disassembly print for seg=0 2022-01-21 23:10:21 +01:00
pancake
5d564eff75 Fix helps for aan? aaf? and aes? ##help 2022-01-21 20:26:37 +01:00
pancake
e5b1ca27ac Fix help for the 'aaa' subcommands ##help 2022-01-21 20:26:37 +01:00
pancake
d3d0e8f3ec Mark all globals (or most of them) as TLS variables ##core 2022-01-21 17:04:56 +01:00
pancake
1afede4079 Fix race conditions in RCoreTasks ##core 2022-01-21 17:04:56 +01:00
Sergi Àlvarez i Capilla
b9f2a8d87c Another uaf 2022-01-21 16:50:46 +01:00
Sergi Àlvarez i Capilla
b51476f52f Fix uaf introduced in the previous bugfix 2022-01-21 15:48:35 +01:00
Sergi Àlvarez i Capilla
85173c6b16 Fix last covs 2022-01-21 12:39:08 +01:00
Sergi Àlvarez i Capilla
346ac7ab76 Fix warning when building without fork support 2022-01-20 18:11:15 +01:00
Sergi Àlvarez i Capilla
c3310c5ae1 Fix UAF spotted by asan 2022-01-20 15:49:15 +01:00
lasek0
40a70b5174 Add test for lds,les (need more for other cases)
* Add test for call seg:off to analysed and named function
2022-01-20 12:30:28 +01:00
Adrian Laskowski
a6d01f90ca fix x86-16 jumptable analysis for some jmptbl values + fix LES and LDS instruction argument analysis + preserve segoff parameter for pd command 2022-01-20 12:29:11 +01:00
Dennis Goodlett
03b10eef1d Fix editor failing to delete tmp files 2022-01-19 00:19:04 +01:00
pancake
4884287b81
Update to the latest thread-friendly sdb 2022-01-18 19:25:08 +01:00
pancake
f2995c2949
Introduce r_strf and stop using sdb_fmt ##util 2022-01-18 18:35:31 +01:00
Lazula
40c119e20a Free fi in cmd_esil_mem() 2022-01-15 16:42:34 +01:00
Lazula
5a38486561 Free buffer in aespc command 2022-01-15 16:42:34 +01:00
Lazula
0eaa918903 Free tmpopstr in r_core_disasm_pdi_with_buf() 2022-01-15 16:42:34 +01:00
Lazula
0200498e65 Fix command string leak in do_asm_search() and use r_list_free() 2022-01-15 16:42:34 +01:00
Lazula
ae3f643c06 Free inp in r_core_asm_strsearch() 2022-01-15 16:42:34 +01:00
Lazula
85e3520182 Fix ds->opstr leak in ds_build_op_str 2022-01-15 16:42:34 +01:00
Lazula
77f56015e3 Fix leaks in esil2c operations 2022-01-15 16:42:34 +01:00
Lazula
852dc0eeaa Remove const from rels to prevent r_list_free complaint 2022-01-15 01:11:21 +01:00
Lazula
c8b6201a3d Free var string in esil2c_neg() 2022-01-15 01:11:21 +01:00
Lazula
5a6fbfed04 Free var string in esil2c_xor() 2022-01-15 01:11:21 +01:00
Lazula
d68f803bd4 Free hint in 'aho*' command 2022-01-15 01:11:21 +01:00
Lazula
36bead7154 Free relocs in foreach3list() 2022-01-15 01:11:21 +01:00
Lazula
11f4be900a Use ls_free for ls in r_core_bin_export_info() 2022-01-15 01:11:21 +01:00
Lazula
1e3535299c Free recursive help string 2022-01-15 01:11:21 +01:00
Sergi Àlvarez i Capilla
ac62073ba8 Fix warning 2022-01-14 22:45:25 +01:00
Lazula
26cfc906e4
Ignore trailing backslash in unescape_special_chars() (#19585) 2022-01-14 22:44:10 +01:00
pancake
5281f27aa5
Bring back the 32bit builds for Cydia ##build 2022-01-14 19:41:26 +01:00
Sergi Àlvarez i Capilla
0eab6e9fad Add ws1, ws2 and ws4 commands for variable size pascal strings ##write 2022-01-14 18:37:14 +01:00
Sergi Àlvarez i Capilla
4a3db2a1cd Rename retdec plugin reference name in the pdz command 2022-01-14 16:58:36 +01:00
Lazula
21e5728030 Always free argv in 'o' and 'o ' commands 2022-01-14 00:28:09 +01:00
Sergi Àlvarez i Capilla
d83aebe94f Rename config var anal.detectwrites -> anal.onchange 2022-01-12 12:21:12 +01:00
pancake
fba739a1ee
Add ablc, ab-, Fix and optimize in af- and aafs ##analysis
* Add ablc, ab-, Fix and optimize in af- and aafs ##analysis

* delete dangling basic blocks after 'aafs' when using 'af-*'
* add test for aafs and ablc
* queue reanalysis on write, and mark detectwrite tests as broken
* function reanalisis tests in a separate file
2022-01-12 12:07:26 +01:00