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
575c26f329
Fix some format string warnings in the mingw ci job
2021-12-21 00:31:28 +01:00
pancake
eb5d38e34d
Finish the dechip from asm
2021-12-17 12:11:05 +01:00
pancake
681323267d
Refactor, improve and move chip8 support out of libr/asm ##asm
2021-12-17 11:21:52 +01:00
pancake
d24bf5b654
More build fixes, googlefuzz integration, add r_asm_cpus() api via the wip 'al' command
2021-12-17 00:15:38 +01:00
pancake
9986b6e464
Remove asm.ebc and merge disasm into the anal ##refactor
2021-12-16 18:27:45 +01:00
Sergi Àlvarez i Capilla
cc217494b2
Disable the disassembler logic in the asm plugin for 8051 ##asm
...
* Avoid compile+link the same code twice for asm & anal
2021-12-14 10:16:58 +01:00
Sergi Àlvarez i Capilla
350c269901
Bind anal into rasm2
2021-12-14 00:32:45 +01:00
gogo2464
720f7f86c7
Handle registers on push on 8051 ##assembler
2021-12-13 23:45:18 +01:00
Sergi Àlvarez i Capilla
4982055f30
Fix the last covs reported in pyc/avr/aao
2021-12-13 23:07:41 +01:00
gogo2464
fbb32d6875
Avoid UB in 8051 assembler and improve error message
2021-12-12 22:53:42 +01:00
pancake
2ddcdea581
Use cs_disasm_iter in anal.x86.cs to use less heap ##analysis
2021-12-12 21:48:09 +01:00
pancake
2e49776cce
Use cs_disasm_iter to save few allocations ##disasm
2021-12-12 21:48:09 +01:00
gogo2464
d6d100938c
Handle jbc [reg] in 8051 assembler ##asm
2021-12-12 20:43:30 +01:00
pancake
49f40816d3
Fix indent issues, pass out buffer size and fix disasm return value
2021-12-09 09:51:29 +01:00
gogo
2f950f5ebe
add registers sreg, adcl and adch
...
replace spaces by tabs and add registers rampz and eind
remove comments from avr analysis plugin
add some registers to the register list
add more registers
add more registers
ajust register sizes
list all remininders full registers
analyze the binary
check for environment variable to fix tests
Use r_str_get() instead of manual string null checks in AVR plugin
move sreg instruction in numerical order
split the .assemble function with new files assemble.c and assemble.h
reassemble new instructions with operand spl and sreg
can reassemble old hex input as well as new input with register names. Register sph added.
use r_strbuf apis
Add file disassemble.c to meson
Fix is_register_found is ONLY set to true when current_register is != NULL
Fix size logic on return value.
Modify tests
fix review
2021-12-09 09:51:29 +01:00
pancake
08f66e3daa
Fix #19464 - incorrect assembly for adrp on arm64 ##asm
2021-12-05 16:29:11 +01:00
pancake
e9b8b4fb66
Use null plugin when using unexistent asm plugin ##asm
...
* Fixes anal disasm warnings and related problems
2021-12-05 11:53:31 +01:00
Sergi Àlvarez i Capilla
0290c24758
Fix r2pm -s
when more than one result is found.
2021-12-03 12:29:39 +01:00
pancake
a0d003ba53
Initial support for VLIW on hexagon ##disasm
2021-12-03 01:39:26 +01:00
pancake
e6f2cd0b2a
Remove trailing spaces ( #19460 )
...
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing
$ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
2021-12-02 17:39:59 +01:00
condret
c80d1dd49a
Fix meson-linux-spaces build
2021-11-24 19:29:16 +01:00
slowhand99
652c24b096
Changes to be committed:
...
modified: meson.build
2021-11-24 19:29:16 +01:00
slowhand99
ba1a0c1134
Changes to be committed:
...
modified: libr/asm/meson.build
2021-11-24 19:29:16 +01:00
condret
081d6f903c
Use r_strbuf_setf instead of sdb_fmt in jd8dis.c
2021-11-24 19:29:16 +01:00
condret
5c3f647180
Fix meson build
2021-11-24 19:29:16 +01:00
Ashwin Kumar
850e4a0806
Update libr/asm/arch/jdh8/jdh8dis.c
...
Co-authored-by: pancake <pancake@nowsecure.com>
2021-11-24 19:29:16 +01:00
slowhand99
32f5322756
Replace sdb_fmt with snprintf
...
modified: libr/asm/arch/jdh8/jdh8dis.c
2021-11-24 19:29:16 +01:00
slowhand99
8156f33083
Implemented suggested changes modified: jdh8dis.c
2021-11-24 19:29:16 +01:00
slowhand99
b6e7f437c5
Implemented suggested modifications
...
modified: libr/asm/arch/jdh8/jdh8dis.c
2021-11-24 19:29:16 +01:00
slowhand99
3776e618a7
Changes to be committed:
...
modified: libr/asm/p/asm_jdh8.c
Updated TODO
2021-11-24 19:29:16 +01:00
slowhand99
6b519408d5
Changes to be committed:
...
modified: asm/arch/jdh8/jdh8dis.c
Updated TODO
2021-11-24 19:29:16 +01:00
slowhand99
6b9d11908d
Changes to be committed:
...
modified: asm/arch/jdh8/jdh8dis.c
Updated TODO
2021-11-24 19:29:16 +01:00
condret
7345d1f5e1
Fix build and codingstyle for jdh-8 disassembler
2021-11-24 19:29:16 +01:00
slowhand99
8c861b38f2
Changes to be committed:
...
modified: libr/asm/arch/jdh8/jdh8dis.c
2021-11-24 19:29:16 +01:00
slowhand99
cd1b1aaeec
Changes to be committed:
...
modified: libr/asm/arch/jdh8/jdh8dis.c
2021-11-24 19:29:16 +01:00
slowhand99
a38f37dd23
Changes to be committed:
...
modified: libr/asm/arch/jdh8/jdh8dis.c
2021-11-24 19:29:16 +01:00
slowhand99
bed0bac310
Changes to be committed:
...
modified: jdh8dis.c
2021-11-24 19:29:16 +01:00
condret
67db06009f
Add jdh-8 asm-plugin template
2021-11-24 19:29:16 +01:00
Lazula
2255bf8b5d
Many indentation style fixes
...
* Change several 8-space indents to tabs
* Apply tab indent style when breaking long lines
* Move operators from EOL to start of next line
* Fix ternary formatting
2021-11-18 10:43:52 +01:00
pancake
7362d74ae4
Use more join_paths along the meson
2021-11-14 22:25:05 +01:00
pancake
07a4b25adc
Dont sync capstone all the time
2021-11-05 10:08:23 +01:00
Sergi Àlvarez i Capilla
55dfb5cae8
Fix metadata for some asm/anal ARM plugins
2021-10-28 13:16:12 +02:00
Sergi Àlvarez i Capilla
33243ea7f4
Update v35.armv7 dependency in preconfigure
...
* Fix build on Termux and Gitlab CI
2021-10-26 20:39:42 +02:00
pancake
e8d4e5cc9f
Fix the windows build regressions
2021-10-19 22:17:47 +02:00
pancake
fdde9caaad
Fix builds issues on meson, windows, ios, static and wasi
2021-10-19 20:57:19 +02:00
pancake
6ae90339fd
Add armv7 to the arm.v35 plugin ##disasm
2021-10-19 20:21:36 +02:00
Sergi Àlvarez i Capilla
8f31696ae2
Update to the latest v35-arm64 for mingw
2021-10-19 18:01:11 +02:00
Sergi Àlvarez i Capilla
77fcda89aa
Static build fix
2021-10-19 15:15:01 +02:00
pancake
3548e2e8a4
Final mingw fixes
2021-10-19 12:52:00 +02:00