mirror of https://github.com/yasm/yasm.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Johnson
13665a69db
|
17 years ago | |
---|---|---|
.. | ||
CMakeLists.txt | 17 years ago | |
README | 17 years ago | |
dbg-objfmt.c | ||
init_plugin.c |
README
This directory demonstrates how to build a basic plugin.
It does not need access to the yasm source, only an installed yasm.
To build:
mkdir objdir
cd objdir
cmake ..
make
Testing (on Windows):
yasm -N Release/dbgmod.dll -f dbg -
db 5
^Z
Testing (on Unix):
yasm -N ./libdbgmod.so -f dbg -
db 5
^D
Result lines will have PLUGIN prefixed to the function calls; this
demonstrates the plugin is being used rather than the builtin dbg module.