Skip to content

Commit

Permalink
Avoid QuickJS bytecode and use plain JS instead
Browse files Browse the repository at this point in the history
Turns out the format is too volatile for it to be a good idea to use it
in this context.
  • Loading branch information
oleavr committed Dec 1, 2020
1 parent 161627e commit 02fc5fe
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 516 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,4 @@
/app/agent.qjs
/app/agent.js
/app/agent/node_modules/
/cryptoshark.pro.user
/ext/frida-core/
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -32,10 +32,9 @@ Run the `build` script. This will output a binary at:

Run the `bootstrap` script and then open `cryptoshark.pro` in Qt Creator.

### Building agent.qjs
### Building agent.js

This is the bytecode representation of the JavaScript that Cryptoshark injects
into target processes.
This is the instrumentation code that Cryptoshark injects into target processes.

For a one-off build:

Expand All @@ -48,7 +47,7 @@ And to watch while developing:
$ npm run watch

This will monitor the TypeScript source code and incrementally compile
`app/agent.qjs`. Note that the agent is included as a resource, so remember to
`app/agent.js`. Note that the agent is included as a resource, so remember to
`build`.

## Building a portable binary
Expand Down

0 comments on commit 02fc5fe

Please sign in to comment.