mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Be more clever about finding the yasm executable on Windows. svn path=/trunk/yasm/; revision=2103 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| 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:
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)