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

[wasm] enrich calls with symbols #12225

Closed
wargio opened this issue Nov 19, 2018 · 2 comments
Closed

[wasm] enrich calls with symbols #12225

wargio opened this issue Nov 19, 2018 · 2 comments
Assignees
Projects

Comments

@wargio
Copy link
Contributor

wargio commented Nov 19, 2018

Currently the WASM disassembly is not enriched with the symbol name when the call opcode is shown.

[0x00002198]> pdf
/ (fcn) entry0 3
|   entry0 ();
|           0x00002198      1004           call 4
|           ; CODE XREF from sym.test (+0x3)
\           0x0000219a      0b             end
[0x00002198]> s sym.test 
[0x00002193]> pdf
/ (fcn) sym.test 3
|   sym.test ();
|           0x00002193      412a           i32.const 42
|           ; CODE XREF from sym..morecore (+0x37)
\           0x00002195      0b             end

How it should be shown (mockup):

[0x00002198]> pdf
/ (fcn) entry0 3
|   entry0 ();
|           0x00002198      1004           call sym.test
|           ; CODE XREF from sym.test (+0x3)
\           0x0000219a      0b             end
[0x00002198]> s sym.test 
[0x00002193]> pdf
/ (fcn) sym.test 3
|   sym.test ();
|           0x00002193      412a           i32.const 42
|           ; CODE XREF from sym..morecore (+0x37)
\           0x00002195      0b             end
@XVilka XVilka added this to To do in Analysis via automation Nov 20, 2018
@radare
Copy link
Collaborator

radare commented Nov 21, 2018 via email

@wargio
Copy link
Contributor Author

wargio commented Jan 21, 2019

this is fixed, actually.

@wargio wargio closed this as completed Jan 21, 2019
Analysis automation moved this from To do to Done Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Analysis
  
Done
Development

No branches or pull requests

3 participants