Docs  /  Reference

REST API Server

From js/server/server.js: the same 42-endpoint REST API that powers the in-browser Playground. Run it locally with node js/server/server.js to point the web UI at your own binaries.

node js/server/server.js
# PORT=8080 node js/server/server.js

Default port 7070 - Web UI at https://rerius.sbs

All endpoints: POST with Content-Type: application/json and { "file": "/absolute/path" }.

Path Extra body fields Description
/api/info - Binary metadata
/api/sections - Section table
/api/symbols - Symbol table
/api/functions - Function list
/api/xrefs - All xrefs
/api/xrefs-to address Xrefs to address
/api/xrefs-from address Xrefs from address
/api/blocks - CFG basic blocks
/api/cfg funcIdx? CFG for a function, plain text
/api/cfg/json funcIdx? CFG for a function, structured
/api/callgraph - Call graph, plain text
/api/callgraph/json - Call graph, structured
/api/loops - Loop detection
/api/switch-detect - Switch/jump table detection
/api/unicode - Unicode strings
/api/strings - ASCII strings
/api/disasm section? Plain-text disasm
/api/disasm/json section?, group?, limit? Structured disasm
/api/disasm/func funcIdx? Disassemble a single function
/api/disasm/range address, nInsns? Disassemble N instructions from an address
/api/analyze - Full analysis pipeline
/api/sym-at address Symbol at address
/api/func-at address Function at address
/api/section-at address Section at address
/api/hottest n? Hottest functions
/api/read-bytes address, length Raw bytes
/api/symexec funcIdx? Symbolic execution
/api/ssa funcIdx? SSA/NR form
/api/decompile funcIdx? Pseudo-C
/api/emulate funcIdx?, initRegs? Concrete emulation
/api/entropy - Entropy analysis
/api/rda section? Recursive descent disassembly
/api/ivf - Instruction validity filter
/api/poly - Polymorphic obfuscation map, plain text
/api/poly/json - Polymorphic obfuscation map, structured
/api/obfuscation-score - IVF/poly obfuscation score
/api/vm-detect - VM dispatch pattern detection
/api/vm-trace - VM dispatch trace
/api/aire - AIRE heuristic insights, plain text
/api/aire/json - AIRE heuristic insights, structured
/api/comment address, text Add an annotation comment
/api/save-daxc output Save a .daxc snapshot (path required)

address values: "0x..." hex strings. bigint values in responses: "0x..." hex strings.


Edit this page on GitHub Source: js/README.md · Rerius v1.0.0
On this page
REST API Server
ESC
↑↓ navigate openesc close