Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update javascript-api.md #252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions _i18n/en/_docs/javascript-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ Objects returned by e.g. [`Module.load()`](#module-load) and [`Process.enumerate

+ `Module.load(path)`: loads the specified module from the filesystem path
and returns a [`Module`](#module) object. Throws an exception if the specified
module cannot be loaded.
module cannot be loaded. It can be used to load known module before or at the
same time to reduce errors and problems.
{: #module-load}

+ `Module.ensureInitialized(name)`: ensures that initializers of the specified
Expand Down Expand Up @@ -846,7 +847,9 @@ Interceptor.attach(f, {
`glob` and returns their addresses as an array of [`NativePointer`](#nativepointer)
objects.

+ `DebugSymbol.load(path)`: loads debug symbols for a specific module.
+ `DebugSymbol.load(path)`: loads debug symbols for a specific module. This feature is
not fully supported in Windows modules, {modulename}.pdb file must downloaded and
located in the project folder.


### Kernel
Expand Down