iGio90 / r2dwarf

r2 plugin for Dwarf
GNU General Public License v3.0
29 stars 2 forks source link

r2dwarf had some problems!!! #1

Open zbx91 opened 5 years ago

zbx91 commented 5 years ago

1.what version of radare2.exe used by r2dwarf in windows? 2.code "cmd_result = self.pipe.cmdj('afij').replace(' ', '')" return None in windows!!!! 3.can you design function like Cheatengine? 4.my English too bad。 5.i used r2pipe,but thumb no show well。

iGio90 commented 5 years ago

Can you post it in english please :)

PinkiePieStyle commented 5 years ago

tried with

radare2.exe -v
radare2 3.6.0 1 @ windows-x86-64 git.3.6.0
commit: ff3bb6e3b2e6a519b4c975d05758c171a5186389 build: Mon 06/24/2019__15:10:34.53

(last release from github)

return from self.pipe.cmdj('afij').replace(' ', '')

cmd_result = '[{"offset":2003043200,"name":"sub.77640380","size":30,"is-pure":"false","realsz":30,"stackframe":28,"calltype":"amd64","cost":20,"cc":1,"bits":32,"type":"fcn","nbbs":1,"edges":0,"ebbs":1,"signature":"sub.77640380 (int32_t arg_8h, int32_t arg_ch, int32_t arg_10h, int32_t arg_14h);","minbound":2003043200,"maxbound":2003043230,"callrefs":[{"addr":2003043696,"type":"CALL","at":2003043221}],"datarefs":[0],"indegree":0,"outdegree":1,"nlocals":0,"nargs":4,"bpvars":[{"name":"arg_8h","kind":"arg","type":"int32_t","ref":{"base":"ebp","offset":8}},{"name":"arg_ch","kind":"arg","type":"int32_t","ref":{"base":"ebp","offset":12}},{"name":"arg_10h","kind":"arg","type":"int32_t","ref":{"base":"ebp","offset":16}},{"name":"arg_14h","kind":"arg","type":"int32_t","ref":{"base":"ebp","offset":20}}],"spvars":[],"regvars":[],"difftype":"new"}]\r'
iGio90 commented 5 years ago

also, radare2 installation on windows (the exe available on rada.re) still have something which break dwarf.

master of radare2 got fixes for dwarf so if you have any chance to build and install master everything should work as expected

zbx91 commented 5 years ago

thanks for your answer! i used r2pipe for this problem 。

zbx91 commented 5 years ago

can your write some txt for some coder like me?

iGio90 commented 5 years ago

all the documentation for plugins (made by me) and dwarf will be posted here:

http://www.giovanni-rocca.com/dwarf/

i'll do r2dwarf anytime soon