逆向工程 - IDA Pro - v6.4 - Build NES Plugin



參考資訊:
https://github.com/patois/bankswitch

Debian x64

$ git clone https://github.com/patois/bankswitch
$ mv bankswitch/src/ plugins/bswitch
$ vim vim plugins/makefile +10
    funclist getlines procext custdata custview hexview openform bswitch

$ vim plugins/bswitch/makefile
    PROC=bswitch
    include ../plugin.mak

    # MAKEDEP dependency list ------------------
    $(F)bswitch$(O): $(I)area.hpp $(I)auto.hpp $(I)bytes.hpp $(I)entry.hpp     \
        $(I)fpro.h $(I)funcs.hpp $(I)ida.hpp $(I)idp.hpp          \
        $(I)kernwin.hpp $(I)lines.hpp $(I)llong.hpp               \
        $(I)loader.hpp $(I)nalt.hpp $(I)name.hpp $(I)netnode.hpp  \
        $(I)pro.h $(I)segment.hpp $(I)typeinf.hpp $(I)ua.hpp      \
        $(I)xref.hpp bswitch.cpp  mappers.h  nes.h

$ export __LINUX__=1
$ make

完成