pancake
1a0b6a9abe
Kill RAsmOp, we can reuse RAnalOp in here ##arch
2022-12-07 14:30:22 +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
01937296e0
Unify RArchOp into RAnalOp using common include files ##arch
2022-10-16 22:25:24 +02:00
pancake
7a35f03471
More source spacing linting
2022-08-18 14:37:29 +02:00
pancake
52a22ab995
Add lint for \tfree(
2022-08-18 10:27:06 +02:00
pancake
e4e4ecc605
Add lint for ';;$' and remove strncmp from io plugins
2022-08-18 00:11:36 +02:00
Paul B Mahol
8ffa196193
Fix not calling r_asm_op_fini() when needed ( #20506 )
...
The RAsmOp is used on stack when disassembling and after its content is not need it needs to call its _fini to free possible heap memory previously allocated.
2022-07-29 07:30:05 -04:00
pancake
ad1add71cb
Fix a new linting to remove the double error message in RLOG calls ##lint
2022-07-07 20:25:26 +02:00
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_
2022-06-28 02:49:42 +02:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
...
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
Lazula
d507bda91c
Remove R_EMPTY and R_EMPTY2
2022-03-13 11:26:10 +01:00
Lazula
ae3f643c06
Free inp in r_core_asm_strsearch()
2022-01-15 16:42:34 +01:00
Lazula
ad749a0b1a
Fix static/R_API function definition formatting
...
* Remove spaces before parens
* Remove spaces after asterisks
2021-12-21 20:58:12 +01:00
pancake
13318a5262
Show results after pressing ^C in /ad ##search ( #18549 )
2021-04-08 03:41:44 +02:00
Reviakin Evgeny
8d0f9042d2
Fix /ad of multiple consecutive instructions ##search
2021-04-01 00:47:35 +02:00
Alexis Ehret
43aadf109d
Random dead code cleanup
2021-02-06 03:30:53 +01:00
Qijia Liu
b56096be9a
Fix memleak in db/esil/arm_16
2021-01-14 15:31:04 +01:00
Anton Kochkov
21907a565e
Fix format string warnings
2020-10-19 11:50:06 +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
f8a9011924
Rename core.assembler to core.rasm ( #16814 )
2020-05-13 01:28:23 +02:00
pancake
fdb75d3bf9
Fix memory leak in /ad/ using r_regex api wrongly ##search ( #16537 )
...
* /ad/ in /bin/ls ate 9 extra MB that was never freed
* This is about 400 bytes for each instruction disassembled
2020-04-12 10:53:41 +02: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
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
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor
2020-02-25 17:53:09 +01:00
Riccardo Schirone
dd871daf96
Fix a couple of ASAN issues ( #15324 )
...
* Fix out-of-bound read when searching for the last part of buf
* Fix out-of-bound read in case the input does not contain anything else
2019-10-22 10:52:29 +02:00
pancake
254f4349a6
Bring back /ai and fix regression for SUB.val ##search
2019-08-25 23:28:37 +02:00
pancake
ff3d6ff0a5
Fix #14640 - /aa
2019-07-25 01:56:14 +02:00
radare
c8bda90d59
Fix #14530 - Implementation of i.~{} aka RCoreItem ##anal
2019-07-10 18:31:16 +02:00
Itay Cohen
cc372cca28
Add /cc for case insensitive instruction ##search
2019-06-20 10:06:06 +02:00
radare
a49bb7cf66
Change the signature of r_str_trim to avoid confusions ##refactor
2019-06-16 20:58:40 +02:00
radare
418c337e37
Fix #13321 - Make /ci [from] [to] find immediates in range ##search
2019-04-15 02:36:50 +02:00
radare
ecdeeb534d
Fix search asm boundaries issue ##search
2019-04-14 17:03:06 +02:00
Giovanni
8058018973
Fix #11133 - Remove buf_hex frield from RAsmOp ##refactor
2019-03-26 12:50:13 +01:00
Florian Märkl
4766d5515c
Fix Segfault when executing /cj without args ( #12961 )
2019-01-31 09:17:31 -06:00
radare
21d80aac76
Fix #12942 - Implement /c[vV][j] /cej to search for code immediates ##search
2019-01-30 11:11:57 -06:00
GustavoLCR
7530895d0a
Fix a few clang scan-build bugs ( #12562 )
...
* Removed unnecessary variable from libr/core/disasm.c
* Removed not necessary assignment in libr/core/casm.c
* Removed not used assignment in libr/bin/dwarf.c
* Rem. duplicate declaration and not used values
* Fixed potential memory leak in java/class.c
* Fixed potential memory leak in ragg2
* Removed unnecessary variable in visual.c
* Another potential memory leak in class.c
* Removed not used value assignment
* Fixed memory leak in dwarf.c
* Removed not needed assignments
* Remove more not used assignments
* Refactored where bin_sections gets arch & bits for clarity
* Removed more assignments that are not used
* Rem. more unused assignments
* Surround assignment with paranthesis
2018-12-26 12:54:12 +01:00
dav1901
9b0fbf1ee4
Minor code cleanups - free/R_FREE/etc
2018-11-13 00:23:49 +01:00
radare
e7d3706b8f
Fix gcc8 warnings and rename core/asm.c to casm.c ##refactor
2018-10-20 01:23:15 +02:00