Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP) Use anal types sdb in emuwrite disasm hints #6086

Merged
merged 1 commit into from Nov 1, 2016

Conversation

mrmacete
Copy link
Collaborator

  • resolve function calls and arguments type
  • add size_t for 32 / 64 bits
  • change 'char *' to 'z' instead of '*z' to work with both
    register and stack calling conventions

related to #5759

current sample output is:

│           0x0804845b      lea eax, [ebp - local_18h]                 ; eax=0x177fe4
│           0x0804845e      mov dword [esp + local_4h], str.250382     ; [0x804858f:4]=0x33303532 LEA str.250382 ; "250382" @ 0x804858f
│           0x08048466      mov dword [esp], eax
│           0x08048469      call sym.imp.strcmp                        ; int strcmp(const char * s1 : (*0x177fe4)0x00177fb4 =, const char * s2 : (*0x804858f)0x00177fb8 = 250382);

- resolve function calls and arguments type
- add size_t for 32 / 64 bits
- change 'char *' to 'z' instead of '*z' to work with both
register and stack calling conventions
@Maijin
Copy link
Contributor

Maijin commented Oct 31, 2016

Ok, only 7 tests to fix 👍

@radare
Copy link
Collaborator

radare commented Nov 1, 2016

Can you fix them @Maijin ?

im a bit curious about this one:

+WARNING: no format for type ''

@Maijin Maijin merged commit 19a0f9c into radareorg:master Nov 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants