Creating ControlFlowGraph
from Javascript code using biome_js_analyze
crate
#4739
-
Hi, I would like to use Biome toolchain to do static analysis of malicious Javascript code using Rust. I found that there is code for creating Control Flow Graphs from Javascript code but I don't how to use this implementation. I also tried My question is how can I create this ControlFlowGraph from raw Javascript code using Rust? Thanks for help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There hasn't been any use case where we needed to use the CFG outside of the analyzer (analyzer rules), so we didn't create any API for that. You're more than welcome to send a PR for that |
Beta Was this translation helpful? Give feedback.
There hasn't been any use case where we needed to use the CFG outside of the analyzer (analyzer rules), so we didn't create any API for that.
You're more than welcome to send a PR for that