asm2vec
asm2vec copied to clipboard
how did you get the assembly code from binary?
Hi, I want to know how did you get the assembly code from binary? What tools did you use? And can the tool mark the function boundary in assembly code? Thanks for your help!
It seems that the format of the assembly have to be parsed by yourself from either r2pipe, objdump, or gcc -S
It seems that the format of the assembly have to be parsed by yourself from either r2pipe, objdump, or gcc -S
i want use IDA pro,but i think the .asm's format is not suitable for this model
It seems that the format of the assembly have to be parsed by yourself from either r2pipe, objdump, or gcc -S
i want use IDA pro,but i think the .asm's format is not suitable for this model
Try IDAPython ;)
It seems that the format of the assembly have to be parsed by yourself from either r2pipe, objdump, or gcc -S
i want use IDA pro,but i think the .asm's format is not suitable for this model
Try IDAPython ;)
hi,did you mean use IDAPython generate the format like estimate.s ? thank you very much
Use GetMnem()
and GetOpnd()
to get the assembly code.
Use
GetMnem()
andGetOpnd()
to get the assembly code.
thank you very much, and another question is how to construct flowchart?
idaapi.FlowChart(idaapi.get_func(func_addr))
For more examples you can see, https://github.com/idapython/src/blob/master/examples/core/dump_flowchart.py
Use
GetMnem()
andGetOpnd()
to get the assembly code.
thank you very much!
idaapi.FlowChart(idaapi.get_func(func_addr))
For more examples you can see, https://github.com/idapython/src/blob/master/examples/core/dump_flowchart.py
thank you very much!
https://github.com/oalieno/asm2vec-pytorch I have made an implementation of asm2vec using pytorch. And the repo also include a tool to extract functions from binary.