Commit Graph

11869 Commits

Author SHA1 Message Date
Sven Steinbauer
887f5bfa8c Support extended 64bit registers [Fix #5364] 2016-07-25 18:02:46 +02:00
Paul
6b9bc8560e iS[j|*|q] [hash] fix 2016-07-25 14:48:49 +02:00
Kodoque1
e582ab8dbb Correction for #5349 (#5369)
* q[y/n][y/n] options added

* Adding crowell remarks

* checking beginning whitespace and fixing else if

* updated

* cleaning update
2016-07-25 10:37:51 +02:00
sdlf
96858ac1e9 Some improvements for arm pseudo code (#5370)
* Fix logical typo scanning for separator

The test would only accept ] as a separator. This was ok for
expressions like:

  r2 = [pc + 8]

But would strip the terminating ) in:

  if (r1 == 0

* arm/pseudo: fix typo /halt/half

* arm/pseudo: fix spacing before byte/half

it is now consistent with the other instructions and
have a space after the '=' also consistent with vmov/vdif.

* arm/pseudo: fix ldr/str

The following str instruction:

  str r0, [r4, 0xc]

Would produce the broken pseudocode:

  [r4 + 0xc] = r0 + 0xc]

With this change we get the expected:

  [r4 + 0xc] = r0

We need to handle 2/3 parameter instructions
differently for ldr/str. By doing this the
special case checking for [ is no longer needed.

* arm/pseudo: add a couple of XXXXs variants

these were arbitrarily selected based on the sample
i have been looking at.
2016-07-25 05:16:51 +02:00
pancake
6dfba715b1 Fix #5361 - realtime hexview edit mode 2016-07-25 05:14:48 +02:00
pancake
6c549b424a Remove x86.tab from r2 master (moved to extras) 2016-07-25 03:47:47 +02:00
pancake
845bfebc9e Fix null deref in x86.nz 2016-07-25 03:42:28 +02:00
pancake
91fe80f4ca Fix avr's rjmp disasm, analysis and esil 2016-07-25 03:19:16 +02:00
pancake
0cffcb981e Fix vsize=0 issue in PE parser (fixes asm68k.exe issue) 2016-07-25 00:03:20 +02:00
Dreamdance61
9226290930 AVR: Correct duplicate IOPort UCSRA in ioports.c (#5366) 2016-07-24 11:16:27 +02:00
Maijin
22de895ef5 Rename CSR disasm/anal into XAP4 Fix #5355 2016-07-23 00:41:42 +02:00
Sven Steinbauer
996e767e0d Refactor nz assembler
Refactor nz assembler
2016-07-22 18:33:54 +02:00
Álvaro Felipe Melchor
d52dfbdfe6 added help message into pv 2016-07-22 00:48:52 +02:00
Owlz
1d97857b67 Adding "8" modifier in doc
Adding in reference to the "8" modifier for pv.
2016-07-22 00:20:09 +02:00
Álvaro Felipe Melchor
8059f4be23 fix build 2016-07-21 23:15:52 +02:00
Kamil Rytarowski
6ad9abb0b1 Fix NetBSD build in r_debug_native_pids() 2016-07-21 23:00:18 +02:00
Álvaro Felipe Melchor
01fe87d467 fix coverity and some coding style 2016-07-21 22:56:58 +02:00
Álvaro Felipe Melchor
b2cd7fb23c improve thumb/arm detection 2016-07-20 23:07:07 +02:00
Álvaro Felipe Melchor
50b20b8153 fix coding style 2016-07-20 18:43:28 +02:00
Maijin
b7d7593342 Add wcj 2016-07-19 23:55:36 +02:00
Ahmed Mohamed Abd El-MAwgood
67af958e63 FIX #5324 vars/args display 0 in afi and afll and add in aflj 2016-07-19 21:50:55 +02:00
diouziou
39907cd94a Typo Update cmd_write.c
Typo Added a missing )
2016-07-19 16:22:00 +02:00
n0w
d6ac4077f4 Update fortunes.fun
Fixed small typo
2016-07-19 16:21:42 +02:00
Maijin
5c4b292f77 Fix #5325 Decide OR and remove unnecessary help 2016-07-18 00:59:16 +02:00
Maijin
9026c6b8b3 Fix #5340 ij command with debugging open 2016-07-18 00:39:03 +02:00
Maijin
1c744dea96 Fix #5342 dbg_file in PE breaks json output 2016-07-18 00:34:09 +02:00
Patrik Bachan
c62cd5a61e Improved AVR register comments/annotations
* Fix missing AVR register descriptions
taken from ATmega16 datasheet

* Improve AVR register descriptions
- extended comments for PORT* registers explaininig their purpose
2016-07-17 23:26:26 +02:00
Maijin
5d418c0009 Adding bindings .gitignore
Adding bindings .gitignore
2016-07-17 23:06:56 +02:00
Álvaro Felipe Melchor
965c0400d2 refix dwarf crash 2016-07-17 19:20:48 +02:00
Álvaro Felipe Melchor
0d42b6c017 fix crash in dwarf fuzzed test 2016-07-17 18:42:22 +02:00
Álvaro Felipe Melchor
8ad4d74316 fix off by one when diffing 2016-07-17 12:10:23 +02:00
NikolaiHampton
392dd94bf7 Optimisation of Levenshtein calc in radiff2 -s
- Optimised the distance calculation for radiff -s
- Fixed a bug in radiff.c that where verbose was always true.
- Added check that calloc() was successful.
- Shuffled code around to minimise use of free()
- Added some comments.

Speeds up the radiff2 statistical diff. Drastically reduced the ‘edit
distance search space’ by ignoring ranges that can’t affect the edit
distance. Improves search for similar files (common use case?), can
reduce the search space significantly:

One file tested went from two unknown versions of httpd, on MacBook has
a 28 hours processing time, down to ~13 minutes. Results will vary based
on file differences the more similar the files, the faster it'll run.
2016-07-17 12:10:20 +02:00
Sushant Dinesh
aee2a7de95 aflj displays at information (#5330) 2016-07-15 03:21:09 +05:30
Álvaro Felipe Melchor
890526f776 fix minor things in mach0.c 2016-07-14 23:11:04 +02:00
Álvaro Felipe Melchor
ab3f37589c Rework previous patch 2016-07-14 22:37:33 +02:00
mttbrown
dd116c65cd fixed breakpoint size based on arch 2016-07-14 22:18:45 +02:00
Álvaro Felipe Melchor
cb0280d62a Fix crash in ec command 2016-07-13 22:31:15 +02:00
Jeffrey Crowell
951f110524 fix build 2016-07-13 00:41:38 -04:00
Jeffrey Crowell
b89bde9df9 reindent cmd_debug.c and fix tons of memleaks 2016-07-13 00:35:13 -04:00
Álvaro Felipe Melchor
7fb29d7e97 added two missing funct declaration into r_num.h 2016-07-12 23:14:30 +02:00
Álvaro Felipe Melchor
7a2f32c281 compile dmh only with linux 2016-07-12 23:04:32 +02:00
javierprtd
07f0502c98 new commands dmh 2016-07-12 23:04:32 +02:00
Maijin
0c1dba02f1 Remove duplicate crc32c, crc32 from fileinfo 2016-07-12 23:03:11 +02:00
Maijin
e3a05bdb76 Kill libr/asm/t 2016-07-12 22:51:47 +02:00
Maijin
103586110f Remove test_stack.c from r2 2016-07-12 22:37:25 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
Kodoque
574e74e89a q[y/n][y/n] options added 2016-07-12 21:50:25 +02:00
monosource
b21603cfeb libr/core/cmd_debug: using r_core_cmd_help for "de" 2016-07-12 21:31:42 +02:00
monosource
bb79c50024 core/cmd_log: Fixed T description 2016-07-12 21:24:55 +02:00
Jeffrey Crowell
9fd13fba06 move some string related macros to r_str.h 2016-07-11 23:00:55 -04:00