- Remove plugin prefixes
- It was unnecessary complicated
- Remove unused code
- Some RAPIfication
- Rename _set( methods into _use(
- Simplify some string processing
- r_parse is working again
- Sync all those api changes in r_core
- External static plugin lists moved to .c
- Fix some cast-related segfaults in core
* Review the r_search API
- RAPIfication
- Allow to pass NULL as binmask
- Added TODO with some more ideas
17 lines
319 B
C
17 lines
319 B
C
#include "r_parse.h"
|
|
|
|
int main()
|
|
{
|
|
char str[128];
|
|
struct r_parse_t *p;
|
|
p = r_parse_new();
|
|
printf("List: \n");
|
|
r_parse_list(p);
|
|
printf("Using plugin: \n");
|
|
r_parse_use(p, "x86.pseudo");
|
|
str[0]='\0';
|
|
r_parse_assemble(p, str, strdup("eax=1;int 0x80"));
|
|
printf("--output--\n");
|
|
printf("%s\n", str);
|
|
return 0;
|
|
}
|