pancake
e54b8d0092
Rename bin.demanglecmd to cmd.demangle ##config
2020-08-28 20:34:44 +08:00
Dennis Goodlett
ee133222fe
Add zignature spaces to ##rasign2 ( #17404 )
...
* Add zignature spaces to ##rasign2
* Update help information
* Use space API instead of core
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-08-11 12:36:10 +08:00
Zi Fan
ac126508d5
Fix debugger to run debuggee with original environment variables ##debug ( #17116 )
...
* Change `fork_and_ptraceme` to start debuggee with rarun2 profile on Linux & Mac
* Add two new commands `doe` and `doe!` to show and edit rarun2 startup profile
* Fix `r_run_parse` to read last line
2020-07-24 16:25:55 +08:00
pancake
d441baad62
Fix latest COVs, remove dead code and unnecessary global variables ( #17231 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-22 19:37:31 +08:00
pancake
c06d82eb9b
Fix #17229 - Refactor function that exports bin info add tests and fix segfault ( #17232 ) ##bin
2020-07-20 12:18:38 +02:00
Riccardo Schirone
594b940b7c
Fixes some of the issues in Travis ( #17267 )
...
* Do not check with r_return_ if the convention is present
Let's just assume the NULL default in such a case, so that architectures
for which we don't have a defined calling convention can still be
processed somehow by the analysis code. It won't be precise, but it's
better than nothing.
Also add a warning message so users are aware when the calling
convention is not defined.
* Fix oob-read when # is at the end of the cmd string
* Do not set TMPDIR when the new value is the empty string
When TMPDIR is set to empty value, clang+ld behaves in weird ways and
you cannot compile files from within the r2 shell (e.g. when using #!c
or #!cpipe)
* Use meson and add -lasan to pkgconfig files when sanitizer are used
2020-07-16 20:47:30 +08:00
Riccardo Schirone
d6c9bd4542
Add support for binr/blob and fix android build ##meson ##build ( #17150 )
...
* Make sure meson can build with `system` = `android`.
* Add support for binr/blob in meson build
* Add also r_util as dependency
* Create sdb_version.py to get the SDBVER value from config.mk
* Set unknown sdb version if something fails
2020-07-05 10:53:37 +08:00
phakeobj
3f0cfff3d5
Fix incorrect ragg2 empty string check ( #17202 )
...
* Check for empty path string only if |file| actually exists
* Add a test that would have spot this bug in first place
2020-07-03 21:09:42 +02:00
pancake
37e10ee7b0
Initial support for git tags in r2pm ##r2pm ( #17178 )
...
* Initial support for git tags in r2pm ##r2pm
* Use `r2-` as tag prefix instead of `v`
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-02 11:56:08 +08:00
pancake
d47aed440a
Fix covs from 2020-06-29 ( #17184 )
...
* Fix covs from 2020-06-29
* CIDs: 1293553 1408695 1430058 1430059 1430060
1430061 1430062 1430063 1430064 1430065 1430067
* More fixes
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-01 09:33:38 +08:00
pancake
3acbe60fde
Implement rafind2 -F to find the contents of the file ##search ( #17143 )
2020-06-29 20:11:34 +02:00
pancake
f061b49c14
Fix all the covs (memleaks) reported the 15th of this month ( #17163 )
2020-06-29 09:40:35 +02:00
phakeobj
1abc5d0914
Bail early if path string is an empty string ( #17126 )
2020-06-27 23:03:44 +02:00
Dennis Goodlett
7575d05252
Fix leak in radiff2 on windows ( #17120 )
...
* Fix undeclared variable
* Fix leak in radiff2 on windows
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-06-23 13:26:37 +08:00
Riccardo Schirone
a64cd12951
Fix wrong type warning ( #17123 )
2020-06-22 13:06:45 +02:00
pancake
bd9a604a87
Check for return values in about ~50 method calls ( #17025 )
2020-06-15 11:24:43 +02:00
pancake
160fc95e66
Use (void) instead of () in function signatures ( #17026 ) ##refactoring
...
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
pancake
84ecf9fff2
Fix all the coverities detected last month ( #17060 )
...
* Fix all the coverities detected last month
* Fix one more cov
* Fix build
* refix build
Co-authored-by: pancake <pancake@nopcode.org>
2020-06-14 13:21:57 +02:00
Anton Kochkov
ffe743ef39
Fix #4056 - rename DEPS to R2DEPS ##build ( #17020 )
...
* Rename DEPS to R2DEPS
* Cleanup of sys/build.sh
2020-06-12 10:49:28 +08:00
Dennis Goodlett
3d2f02be24
Add dumping of FLIRT signatures to rasign2 ##signatures ( #16934 )
...
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-05-22 12:16:34 +08:00
pancake
5603366182
Be consistent and make all env vars start with R2_
( #16841 )
2020-05-18 13:21:50 +02:00
Khairul Azhar Kasmiran
3662290b45
meson: Build rasign2 ( #16831 )
2020-05-17 00:36:43 +08:00
Dennis Goodlett
ae04a73774
Move rasign2 into RMain ( #16819 ) ##tools
...
* Quote to prevent cmd injection
* Added -q,-j,-h and -v options
* Remove unneeded includes
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-05-16 12:36:41 +02:00
pancake
f8a9011924
Rename core.assembler to core.rasm ( #16814 )
2020-05-13 01:28:23 +02:00
pancake
afeb859366
Boolify some RUtil.file APIs ##util ( #16734 )
2020-04-28 14:00:42 +08:00
Khairul Azhar Kasmiran
123aa79117
x86_64: Support mov r64, 0xffffffffffffffff ( #16630 ) ##asm
2020-04-23 19:30:35 +02:00
pancake
a3407a535b
Cleanups for RAsm, rasm2 related to brainfuck hacks
2020-04-20 16:02:08 +02:00
Liumeo
6faf60be5b
Rename 4 local vars ( #16633 )
2020-04-19 11:15:27 +02:00
Riccardo Schirone
c8f99840ab
r_core_seek accepts a boolean as 3rd argument ( #16618 )
...
Replaces all 0/1 passed as 3rd argument to r_core_seek with false/true.
2020-04-17 12:53:35 +02:00
pancake
57c68c752c
Fix #16389 - r2r -qv and r2 -v to show version and quiet versions ( #16472 ) ##tools
2020-04-08 13:56:52 +02:00
pancake
ab05f06287
Some random cleanups in RUtil ( #16457 )
2020-04-07 14:07:40 +02:00
pancake
282e9da656
Fix #16436 - OOBREAD in argv with rasm2 -E ( #16458 )
2020-04-07 12:56:06 +02:00
pancake
bc09cba29a
Add r2 -NN to not load plugins ##core ( #16415 )
2020-04-05 15:02:46 +02:00
radare
5e4cdaaa04
Always use r_getopt, do not depend on libc (not just on windows) ##core ( #16325 )
2020-03-27 17:06:40 +01:00
Florian Märkl
04e257bd47
R2R in C Enhancements ( #16310 ) ##test
...
* Skip extras dirs in r2r by default
* Fix BROKEN loading in r2r
* Print actual diff in r2r-c
* Fix some tests for r2r-c
* Do not require stdout if not specified in r2r-c
* Address most review comments
2020-03-27 06:13:41 +01:00
Florian Märkl
fe825ca055
Use r_core_cmd_lines() for -c ( #16290 ) ##core
2020-03-24 15:17:20 +01:00
kuqadk3
0707122d3e
Fix print string in radiff -qu ( #16212 ) ##diff
2020-03-19 18:23:10 +01:00
Florian Märkl
0b5e78e923
Make size arg of r_file_slurp() size_t ( #16221 )
2020-03-15 23:34:38 +01:00
pancake
4f457230b6
Fix #16173 - rax2's force mode regression and add test
2020-03-12 12:25:56 +01:00
radare
72093ac706
Fix #16138 - Do not preincrement when it's not necessary ( #16151 )
2020-03-05 19:06:59 +01:00
radare
5e629a3260
Avoidify the strTrim() APIs + cleanup/refactor ##util ( #16056 )
2020-03-02 21:39:37 +01:00
kuqadk3
53f21d9ae6
Fix #14647 - Add output of sections to segments mapping for ELFs ( #16045 )
...
Add output of sections to segments mapping for ELFs
2020-03-02 13:44:49 +08:00
Paul I
0e62dda341
Fix fgets() usage ( #16068 )
2020-02-29 20:47:10 +01:00
Anton Kochkov
9ae41ae69f
Revert "Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor" ( #16055 )
...
This reverts commit 38b61c7bcfe55a727b9c3cedbc0f3147018e7c6b.
2020-02-26 09:59:04 +08:00
Roman Valls Guimera
b26a3ac19e
Remove stray pancake activity ;) ( #16054 )
2020-02-26 09:03:21 +08:00
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor
2020-02-25 17:53:09 +01:00
abcSup
6acd523a0d
Refactor r_bin file hashes
...
* Add r_bin_file_compute_hashes
* Add r_bin_file_set_hashes
* Refactor it itj commands
* Introduce hashes method to RBinPlugin
2020-02-21 23:58:47 +01:00
Zi Fan
2c6fc43b7e
Add Authentihash support for PE ( #15987 ) ##bin
...
* Add Certificate Table parser to PE plugin
* Add SpcIndirectDataContent ASN.1 structure parser
* Add Authentihash calculation and check
* Refactor r_bin_file_hash
* Add tests for Authentihash check
2020-02-20 21:03:16 +01:00
radare
7af5c55683
Kill all globals in rabin2.c ##refactor
2020-02-18 12:00:32 +01:00
pancake
6a729b6678
Remove globals from main.r2 ##refactor
2020-02-17 16:52:28 +01:00