Commit graph

40 commits

Author SHA1 Message Date
Liumeo
65f1e5d260 Fix s390x rz-ax -I & memleak (#18151) 2021-01-05 05:21:41 -06:00
eagleoflqj
21dc1bad0b Correct json & clean newline 2021-01-05 05:21:41 -06:00
Eduard MURESAN
ee58a866b6 Fix pdb information dumped as json 2021-01-05 05:21:41 -06:00
Liumeo
e16221a477 Use pj in cbin.c ##refactor (#18143) 2021-01-05 05:21:41 -06:00
pancake
4bb7430e8b Implement rz-ax -I to convert from/to LONG and IP Address ##print 2020-12-30 23:20:41 -06:00
Maijin
f335a91dc2
Removing file.md5 file.desc (#248)
* Remove file.md5 eval

* Remove file.desc eval

* Remove rz-hash -r option

Co-authored-by: Maijin <maijin21@gmail.com>
Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
2020-12-23 01:01:41 +08:00
Maijin
8d09f8d6d5
Remove Rapatch (#215)
* Remove Rapatch

* Remove help message

* Fix remaining issues

* Remove patch.o

* Remove remaining patch

Co-authored-by: Maijin <maijin21@gmail.com>
2020-12-18 13:46:18 +01:00
Aswin C
d42cde8ca5
Disable asm.bytes by default ##cons (#155)
* Disable `asm.bytes` by default

* Fix tests by adding `e asm.bytes=true` (1/n)

* Fix tests by adding  (2/n)

* Fix tests by adding `e asm.bytes=true` (3/n)

* Fix tests by adding `asm.bytes=true` (4/n)

* Fix test by adding `asm.bytes=true` (5/n)

* Fix mostly all broken tests

* Attemp to fix the rzpipe test

* Attempt to fix the tests in `db/cmd/cmd_pipe`

* Fix tests again

* Fix cmd_pipe test

* Add a test where `asm.bytes` is false

Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2020-12-15 12:47:33 +01:00
Khairul Azhar Kasmiran
9ecb0671cd
Fix external AppVeyor tests that are XX (#180) 2020-12-14 23:48:01 +08:00
Anton Kochkov
041d73dce3
Change the "anal" abbreviation to "Analysis" in Code (#117) 2020-12-06 19:25:27 +01:00
Florian Märkl
c5021f7c8a
Add High-Level Binary File Reference to Projects (#99) 2020-12-01 11:57:01 +01:00
Liumeo
fd90cdb108 Implement ppc assembler plugin ##port ##refactor (#17923)
* implement ppc assembler plugin
* reuse code
* update .travis.yml & Dockerfile
* support arm.as big endian
2020-11-24 14:51:44 +01:00
Riccardo Schirone
4ae6e9e4a3 Fix tests because " should also escape $ 2020-11-20 09:45:17 +01:00
Liumeo
68fe1b1fc2 Fix raspbian32 db/tools/rasm2 push ebp (#17900) 2020-11-10 17:55:04 +01:00
Liumeo
2b77b7ffb0 Fix UB in serpent ##crypto (#17899) 2020-11-10 17:55:04 +01:00
Florian Märkl
4e18226c8d
Add new Projects Implementation (#12) 2020-10-26 15:17:33 +01:00
Riccardo Schirone
502e91aff7
Rename R_ and R2_ to RZ_ (#8)
* Rename R2_ -> RZ_
* Rename R_ -> RZ_
* Rename R2R_ -> RZ_TEST_
* Rename R2R defines and types to RZ_TEST/RzTest
* Keep R_ for REIL registers
2020-10-02 16:09:13 +02:00
Riccardo Schirone
338e6fe172 Other renames in man and small places
Remove rz link, just keep rizin

Remove r2 link from acr

Fix http test on macos
2020-10-01 17:53:29 +02:00
Riccardo Schirone
721609a17b
Rename to rizin (#2) 2020-10-01 16:13:03 +02:00
pancake
19f941509b
Fix rasm2 -L bits field for 4 and 0-bit plugins ##asm (#17686) 2020-09-23 13:31:56 +08:00
pancake
d8dd7c1ffc Add tests for ELF relocs on ARM64 ##bin 2020-09-17 12:38:25 +02:00
Riccardo Schirone
850bf37886
Fix #17494 - Pass the whole input string to r_core_cmd_str_pipe ##newshell (#17533)
* Ensure num->value is saved before anything else, otherwise it may change

r_config_get_i calls r_num_math, which sets the num->value, thus losing
the return value of the last command.

* Make r_core_cmd_str_pipe use the new parser when enabled
2020-08-28 13:13:23 +02:00
Khairul Kasmiran
1176a810c3 Do r2 shortcut test 2020-08-19 11:14:52 +08:00
Khairul Azhar Kasmiran
fb1190d248
meson install: Create shortcut/symlink to radare2 (#17463) 2020-08-18 18:22:17 +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
Riccardo Schirone
551c46f753
Print a warning when the entry point is automatically set by r2 ##bin (#17195)
* Use R_LOG_DEBUG instead of eprintf for missing ELF DT
* Remove missing Dynamic tag from rabin2 test
2020-07-06 10:58:33 +02:00
Anton Kochkov
8f0f888215
Add missing ELF DT entries ##bin (#17055)
* Add missing ELF DT entries

* Just add common DT entries in the switch case but do not save them

Co-authored-by: Riccardo Schirone <sirmy15@gmail.com>
2020-07-05 05:44:08 -05: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
3acbe60fde
Implement rafind2 -F to find the contents of the file ##search (#17143) 2020-06-29 20:11:34 +02:00
phakeobj
1abc5d0914
Bail early if path string is an empty string (#17126) 2020-06-27 23:03:44 +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
Alexis Ehret
fa7b8ea87b
Move DT_NEEDED in RBinElfDynamicInfo and remove dyn_buf (#17009) ##elf 2020-06-11 10:50:54 +02:00
GustavoLCR
146c788fa0
Improve BP vars/args detection ##anal (#16935)
* Take into account initial BP position in stackframe
* Add reg name to RAnalVarAccess
* Add `anal.vars.stackname` config variable
* Fix riscv op/src imm info filling
* Fix getting BP vars if it is set with LEA
* Fix arg detection for functions that call __chkstk
* Fix tests

Signed-off-by: GustavoLCR <gugulcr@gmail.com>
2020-05-25 12:55:31 +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
Dennis Goodlett
163ba653b9
Add rasign2 tests (#16836)
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-05-17 12:06:44 +08:00
pancake
00d933f812 Add one test for rasign2 2020-05-16 12:41:52 +02:00
Florian Märkl
f49659a4bc
Make rabin2 prefix Test more explicit for debugging #16452 (#16622) 2020-04-18 11:05:29 +02:00
Khairul Azhar Kasmiran
4afa4296ea
x86_32/64: Don't assemble overlarge MOV imm32 (#16619) 2020-04-17 22:36:58 +08:00
Khairul Kasmiran
7b4bee8cff x86_64: Add some tests and remove some unused MOV C7 code 2020-04-14 23:48:47 +02:00
pancake
346eb5bd38
Move test/new/* into test/ ##tests (#16511) 2020-04-13 19:49:23 +02:00