Coder Social home page Coder Social logo

dwarfcore's Introduction

DwarfCore

The JavaScript core of https://github.com/iGio90/Dwarf

IMPORTANT: This is a work in progress and not ready for production use

Setup

git clone https://github.com/iGio90/DwarfCore.git
cd DwarfCore
npm install

For full build run

npm run build

core.js and docs are in ./dist types in ./dwarf-typings

dwarfcore's People

Contributors

dependabot[bot] avatar igio90 avatar marbink avatar pinkiepiestyle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dwarfcore's Issues

ReferenceError: 'logDebug' is not defined

Hi,
I have attempted to compile my script with DwarfTypes, after compiling is completed and runing the script i have got "ReferenceError: 'logDebug' is not defined".

MyScript:

import { DwarfApi } from "../src/DwarfApi";

const api = DwarfApi.getInstance();

api.addModuleLoadHook("libc-2.31.so", {
onLeave: function() {
const module = Process.getModuleByName("libc-2.31.so");
console.log(name: ${module.name} base: ${module.base} size: ${module.size} path: ${module.path});
}
});

compiling commands:
npm run tslint && frida-compile --no-sourcemap ./agent/agent.ts -o _agent.js

Error:

ReferenceError: 'logDebug' is not defined
at DwarfApi (/_agent.js:1098)
at (/_agent.js:1106)
at (/_agent.js:5)
at call (native)
at o (/_agent.js:1)
at r (/_agent.js:1)
at (/_agent.js:7084)

other info:

node version: v18.6.0
npm version: 8.13.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.