Commit Graph

14568 Commits

Author SHA1 Message Date
Andrea Sindoni
f546e0751b Fix SIGSEGV in the encoder execution (#9168) 2018-01-09 22:04:25 +01:00
Francesco Tamagni
8f6d84c6a2
Update canal.c
Add missing `;`
2018-01-09 21:29:31 +01:00
Rene Laemmert
0df2adbe09 First step in removing fcn->refs/xrefs (#9157) 2018-01-09 20:38:08 +01:00
emvivre
a3f7ce2336 Add several operators for x86 assembly (LLDT, LMSW, LGDT/LIDT) (#9165)
* Add LLDT operator for x86 assembler (Load Local Descriptor Table Register)

* Add LMSW operator for x86 assembler (Load Machine Status Word)

* Add LGDT/LIDT operator for x86 assembler (Load Global/Interrupt Descriptor Table Register)
2018-01-09 20:17:28 +01:00
Ren Kimura
358a8823b1 Add notice message for NSO binary loading (#9164) 2018-01-09 20:06:15 +01:00
Paul I
e2bb54b41d Update meson.build (#9163) 2018-01-09 18:50:40 +01:00
Giovanni
eb5200743e Removed debug eprintf from gdb code 2018-01-09 18:40:22 +01:00
Khairul Kasmiran
5402c5938d Fixed cases where hash+space in quoted string is treated as comment 2018-01-09 23:11:38 +08:00
pancake
5a6599e2e8 Minor syntax fixes for libr/io 2018-01-09 16:05:50 +01:00
Khairul Kasmiran
b2d2cb25f7 Fixed hang when there are multiple '>' in cmd line 2018-01-09 21:32:36 +08:00
emvivre
3d6584f934 Add several float operators for x64 assembly (FSTCW/FNSTCW, FSTSW/FNSTSW, FSAVE/FNSAVE) (#9154)
* Add FSTCW/FNSTCW operator for x86 assembler (Store x87 FPU Control Word)

* Add FSTSW/FNSTSW operator for x86 assembler (Store x87 FPU Status Word)

* Fix some issues of float instructions for x86 assembler.

* Add FSAVE/FNSAVE operator for x86 assembler (Store x87 FPU State)
2018-01-09 10:38:54 +01:00
Lowly Worm
607cfc1649 revert the # handling that was breaking some parsing 2018-01-08 22:05:21 -08:00
Lowly Worm
f306a3ae0b segments dont use the S_ZEROFILL, just section 2018-01-08 20:50:55 -08:00
Lowly Worm
3d8833f47c handle S_ZEROFILL sections as sz=0 on mach0
- bss is S_ZEROFILL, it's zero size on disk, but it's zerofilled to fill
the full vsz, so vsz = the size, and sz = 0
2018-01-08 20:45:02 -08:00
Lowly Worm
dde733e799 add the correct magic for z64 2018-01-08 18:48:01 -08:00
Lowly Worm
f87b526ea5 disable n64 until the load issue can be worked out 2018-01-08 09:58:09 -08:00
pancake
4427537998 Fix #9144 - Honor RBinInfo.cpu in i,i*,ij... 2018-01-08 15:11:47 +01:00
pancake
06311f718b Fix #9126 - Bring back the good old LEA syntax 2018-01-08 14:17:52 +01:00
pancake
4541670e60 Fix build on C-compliant compilers (for(int) issue) 2018-01-08 13:01:30 +01:00
pancake
6b00784cb1 Add more priviledged arm64 instruction types and opcode descriptions 2018-01-08 11:21:48 +01:00
pancake
6379d18894 Fix #8526 - Implement obq and ob* 2018-01-08 10:28:32 +01:00
pancake
0036b2cae8 Rename r_str_clean -> r_str_trim_nc // TODO: Find better name 2018-01-08 10:23:57 +01:00
pancake
0cb277c2a6 r_str_ansi_chop -> r_str_ansi_trim, r_str_chop_path -> r_str_trim_path 2018-01-08 03:33:01 +01:00
pancake
e43107d1ca r_str_chop_ro, r_str_trim_const -> r_str_trim_ro 2018-01-08 03:29:29 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
pancake
48896bdfb7 Initial implementation of the dyldcache symbols parsing
- Inspired by dsc_syms.c
2018-01-08 03:05:43 +01:00
pancake
37116971d3 Add bin.useldr and bin.usextr options to tweak RBin loading behaviour 2018-01-07 22:08:53 +01:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
vertur
3a91bf0e97 Wide CRC hashes
* Avoid explicit size for CRC hash.
* Add more CRC8 hashing presets.
* Add more CRC16 hashing presets.
* Add more CRC32 hashing presets.
* Add CRC64 hashing presets (disabled).
* Regroup CRC presets and make they presence configurable. Disable CRC16 and enable CRC64 hashing.
* Prevent from bitset overflow. Enable all CRC hashes.
* Regroup CRC presets again. Enable all original and disable rare-used presets.
* Fix issue with mismatched bitset types.
2018-01-07 20:41:53 +01:00
emvivre
28918381e9 Add FSUBR/FSUBRP/FISUBR operator for x86 assembler (Reverse Subtract) 2018-01-07 20:40:05 +01:00
emvivre
ab3ff60f2e Add FSUB/FSUBP/FISUB operator for x86 assembler (Subtract) 2018-01-07 20:40:05 +01:00
emvivre
65a71bcaed Add FMUL/FMULP/FIMUL operator for x86 assembler (Multiply) 2018-01-07 20:40:05 +01:00
emvivre
ae36701d6c Add FDIVR/FDIVRP/FIDIVR operator for x86 assembler (Reverse Divide) 2018-01-07 20:40:05 +01:00
emvivre
a8bd708a39 Add FDIV/FDIVP/FIDIV operator for x86 assembler (Divide) 2018-01-07 20:40:05 +01:00
invictus1306
ac091ff05a Added some checks for the gs command 2018-01-07 20:25:04 +01:00
invictus1306
a904f171b5 Fix the creation of the shellcode 2018-01-07 20:25:04 +01:00
pancake
eae93e80d7 Remove obd and fix ob-, update help messages 2018-01-07 18:18:54 +01:00
pancake
c1ef0d7580 Fix dsb, dmb regressions 2018-01-07 13:54:38 +01:00
Khairul Kasmiran
1e5ddf63ba Removed spaces from func defs in str.c 2018-01-07 14:54:56 +08:00
Khairul Kasmiran
3458ef6195 Renamed R_BIT_SWAP to R_BIT_TOGGLE 2018-01-07 14:46:35 +08:00
Sven Steinbauer
9e516fe6dc Fix clflush to work with r/m mod 2018-01-07 04:02:35 +01:00
Sven Steinbauer
ea9492b660 Remove compiler warnings 2018-01-07 04:02:35 +01:00
emvivre
5abaf1dc66 Add others operators related to float operations for x86 assembly (FBLD, FBSTP, FXRSTOR, FXSAVE, FIST/FISTP, FISTTP, FSTENV/FNSTENV) (#9137)
* Add FBLD operator for x86 assembler (Load Binary Coded Decimal)

* Add FBSTP operator for x86 assembler (Store BCD Integer and Pop)

* Add FXRSTOR operator for x86 assembler (Restore x87 FPU, MMX Technology, SSE, SSE2, and SSE3 State)

* Add FXSAVE operator for x86 assembler (Save x87 FPU, MMX Technology, SSE, and SSE2 State)

* Add FIST/FISTP operator for x86 assembler (Store Integer)

* Add FISTTP operator for x86 assembler (Store Integer with Truncation)

* Add FSTENV/FNSTENV operator for x86 assembler (Store x87 FPU Environment)
2018-01-07 04:01:31 +01:00
Thomas Bailleux
fa3ecb3334 fix issue #9123 with grep [n-] (#9141) 2018-01-07 04:00:59 +01:00
Lowly Worm
8ec19dbfdd skip over strings with Vj 2018-01-06 17:23:48 -08:00
Lowly Worm
a83edb5ccd typo in license 2018-01-06 16:41:53 -08:00
Lowly Worm
c23fe90280 correctly compute size of .text section on n64 roms 2018-01-06 16:38:55 -08:00
pancake
b9b0be01fe More compact section comments 2018-01-07 01:37:53 +01:00
Lowly Worm
86904c13d5
add n64 (z64 format) loader (#9142) 2018-01-06 16:33:49 -08:00
pancake
e5734c008e izz output more compact 2018-01-07 01:29:54 +01:00