I hereby claim:
- I am vaioco on github.
- I am vaioco (https://keybase.io/vaioco) on keybase.
- I have a public key ASDVhShvtyuVqiqRJfrIqAV6v7dUDJAH_wXD3CyL8k_qFgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class ReplacementsTest : public MatchFinder::MatchCallback { | |
using reps_t = std::map<std::string, Replacements>; | |
public: | |
ReplacementsTest(reps_t *reps) : Replace(reps) {} | |
virtual void run(const MatchFinder::MatchResult &Result) { | |
clang::ASTContext *Context = Result.Context; | |
const clang::FunctionDecl *FS = Result.Nodes.getNodeAs<clang::FunctionDecl>("funcdecl"); | |
if (!FS || !Context->getSourceManager().isWrittenInMainFile(FS->getLocStart())) |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
import jeb.api.IScript; | |
import jeb.api.JebInstance; | |
import jeb.api.ast.*; | |
import jeb.api.ast.Class; | |
import jeb.api.dex.Dex; | |
import jeb.api.dex.DexCodeItem; | |
import jeb.api.dex.DexFieldData; | |
import jeb.api.dex.DexMethod; | |
import jeb.api.ui.JavaView; | |
import jeb.api.ui.View; |