- Dependencies: in addition to the dependencies of dlt-viewer you'll need python-dev and boost::python (make sure it is built for your
python3
version). - Clone this repository to the "plugin" directory of dlt-viewer sources:
(cd plugin; git clone https://github.com/Equidamoid/pyldtdecoder.git)
- Add
add_subdirectory(dltviewerplugin)
toplugin/CMakeLists.txt
:echo "add_subdirectory(dltviewerplugin)" >> plugin/CMakeLists.txt
- Build dlt-viewer:
mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=$(cd ..; pwd)/prefix; make -j6 install
- Write your plugin (
pydltdecoder.py
has some examples) - Put your plugin (or symlink to it) to
~/.local/pydltdecoder.py