Fangrui Song
27e8ead3a5
Fix a few warnings ( #8144 )
2017-08-08 11:34:53 +02:00
Giovanni
858dfea170
Fix #6411 - pseudo for AVR ( #7978 )
...
* avr.pseudo
* tabs and flavour
2017-07-20 21:36:26 +02:00
Guillaume Valadon
ea8adc48da
Use void in prototypes ( #7974 )
2017-07-20 14:50:13 +02:00
Giovanni
ab221f8326
Implement pseudo for sh4
2017-07-20 08:20:19 +02:00
Marc
80d4b44b2e
Fix random code style issues
2017-07-13 00:46:27 +02:00
Lowly Worm
b5c0c01c6b
fix the cov defect
2017-06-24 22:03:47 -07:00
Lowly Worm
f0faf8bbea
fix crash in oob pseudo ( #7815 ) ( #7816 )
...
* fix crash in oob pseudo (#7815 )
* syntax error
* fixup from pancake comments
* fencepost
* final fixups
* fix scoping error
2017-06-24 15:29:25 -07:00
Giovanni
715884816d
improvements of asm.pseudo for x86 (jmp,test,cmp,etc..) ( #7589 )
...
* improvements of asm.pseudo for x86 (jmp,test,cmp,etc..)
* jne/jeq optimized and fixed swap
2017-05-25 01:09:34 +02:00
Giovanni
1602fa8025
Now working PPC pblr and fixed b/bc jumps ( #7588 )
2017-05-24 16:31:07 +02:00
Xiangyu Zhu
ad2cf6e58b
bug in varsub in att syntax ( #7552 )
...
Sorry I only considered the case where a minus sign is before `oldstr`, actually this should be the correct way to handle that so arguments like `8(%rbp)` and `28(%rbp)` will work too.
2017-05-21 03:05:06 +02:00
Frefreak
642062d58e
refine asm.varsub for att syntax and code refactoring ( #7538 )
2017-05-20 13:53:24 +02:00
pancake
98f03c1ff0
Fix varsub regression on intel syntax
2017-05-18 02:11:49 +02:00
pancake
21aa34726e
Fix #7516 - Honor asm.syntax=att for x86 varsub and relsub
2017-05-18 01:01:34 +02:00
SkUaTeR
9a1337512a
meson.build fixes to build with MSVC
2017-05-14 23:06:00 +02:00
SkUaTeR
1b5a746786
add more fixes to msvc build ( #7468 )
...
* add more fixes to msvc build
* more fixes
2017-05-10 22:12:49 +02:00
pancake
69b4c61b8a
Fix mingw32 build
2017-05-09 22:57:47 +02:00
xarkes
926f024909
Improved MSVC support (WIP)
2017-05-09 14:25:57 +02:00
Giovanni
883422082d
Fix PowerPC's SUBF esil and parse
2017-04-27 14:55:22 +02:00
Giovanni
4a88e13e00
Add more standard SPR to pseudo for SPARC
2017-04-26 13:39:31 +02:00
pancake
e641318973
Fix a bunch of bugs reported by clang-analyzer
2017-04-17 19:59:14 +02:00
alvarofe
643267ab67
Fix some warnings when compiling
2017-04-02 12:43:25 +02:00
Giovanni
4715f1e2b9
fixed crash on cmask due bad args ( #7188 )
2017-03-31 10:22:57 +02:00
radare
bda3afbf3b
Fix asm.pseudo when asm.cmtright=0
2017-03-20 23:43:34 +01:00
Riccardo Schirone
084d5c1217
libr/parse: add another view for function variable/arguments ( #7048 )
2017-03-17 11:54:34 +01:00
Maijin
84dd98732c
Fix #7041 - Enhance var/local display ( #7042 )
...
Fix #7041 - Enhance var/local display
2017-03-16 14:05:32 +01:00
Giovanni
272786852b
Fix PPC ESIL Emulation
2017-03-02 00:29:29 +01:00
SchumBlubBlub
6c00c9e2d5
Reorganize string macros
2017-02-06 00:00:03 +01:00
pancake
0af4092ee4
More fixes for the emscripten build
2017-01-29 23:54:10 +01:00
Anton Kochkov
257ff5c2c7
Limit the scope for *mask() in PPC
2017-01-29 23:18:24 +03:00
Giovanni
e005a3c4fc
Bad key length fix for des-ecb & patched building issues ( #6602 )
...
* Bad key length fix for des-ecb
* fixed bad char
2017-01-29 00:50:45 +01:00
Álvaro Felipe Melchor
bce5edfae3
Fix some warnings in parse_ppc_pseudo.c
2017-01-28 17:35:00 +01:00
Giovanni
1da79cf791
[MIPS] Patched nonspaced instructions (like syscall)
2017-01-28 12:53:21 +01:00
Giovanni
9ae6280dac
PPC pseudo bad parse due missing uppercase letters & PPC emu (due mistake) ( #6573 )
2017-01-24 18:52:48 +01:00
Giovanni
a0c7ae8131
Implement asm.pseudo for PowerPC
...
* Added most of the standard ppc instructions, missing some altivec and complex instructions
* fixed rot instructions.
* Fixed inv_mask[32/64]
2017-01-24 17:07:11 +01:00
pancake
33f7ef8ede
Fix #6144 - asm.capitalize do not uppercase locals
2016-11-07 05:21:49 +01:00
pancake
d41b577106
Fix #5924 - r_flags -> r_flag
2016-10-27 01:07:58 +02:00
Giulio De Pasquale
69ecf6f528
Added early returns ( #6002 )
2016-10-20 18:58:57 +02:00
pancake
1f2f3f2394
Honor varsub and relsub with asm.ucase for parse.arm
2016-10-18 01:49:32 +02:00
pancake
22dddd9704
Fix #5975 - Honor asm.varsub and asm.relsub with asm.ucase
2016-10-18 00:55:10 +02:00
Álvaro Felipe Melchor
f807f13fca
Fix relsub for arm and esil
2016-10-01 12:05:32 +02:00
pancake
bfbc5c2f7f
Fix #5874 - Implement asm.relsub for arm.cs
2016-09-29 11:25:18 +02:00
Greynad
6ecc34b2c0
add support for jb instruction in pseudo asm ( #5818 )
2016-09-21 16:04:21 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL
to correct syntax
2016-09-19 14:44:47 +02:00
pancake
496da56a9e
Fix sys/ios-static.sh
2016-09-12 20:52:12 +02:00
pancake
46cec371db
Fix asm.filter parse issue for m68k
2016-08-11 02:32:23 +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
Maijin
c274afe748
Fix #3286 - Use stdbool.h
2016-07-12 22:15:19 +02:00
Ahmed Mohamed Abd El-MAwgood
b31dd80724
Args/vars the last commit ( #5245 )
...
renaming afa, afv and afe to afvb afvr, and afvs respectively
making arguments analysis obeys e anal.vars
improving the json format for args/vars
fixing varsub to use the new comands for x86 and arm
fixing var commenting commands to use the new commands var configuration
2016-07-01 16:15:29 +02:00
Ahmed Mohamed Abd El-MAwgood
3bac42eda7
Improving variables on ARM (16, 32, 64) ( #5146 )
...
removing argument detection extension used in af now args are seperately detected by afCa
aa = af + afCa
using aliases as well as real registers
rewritten varsub
Fixing some of Arm esil and optimizing them for arg/var detection
2016-06-20 15:22:09 +02:00
pancake
1629dd2b64
Remove two unused fields in RAnalOp and some deadcode
2016-06-17 14:26:24 +02:00