a0rtega / metame

metame is a metamorphic code engine for arbitrary executables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use r2.cmdj not r2.cmd

Maijin opened this issue · comments

Stop using r2.cmd when using Json command ! Use r2.cmdj

Oh I didn't know this one. On the other hand, it doesn't make a big difference right? Just returns the parsed json dict.

Using r2.cmd I can choose my own parser (simplejson in this case).

it just looks less ugly... json.loads(self.r2.cmd("ij").replace("\\", "\\\\")) wtf

This handles this bug that I reported.

It is fixed in radare2 master now, but there may be people using the release version or previous versions so I kept it.

I would definitely recommend using r2.cmdj, that's all ;P