Live data from Hacker News

Discontinue Sourcetrail

sourcetrail.com

1–10 of 41 posts

Re: Discontinue Sourcetrail

#3
Hmm. Hard to monetize I guess. Does anyone know of any code analysis software that looks at dataflow? Specifically for embedded contexts, a lot of code is written in a very non-functional style, where the output of one module is a series of global variables. That variable is then picked up by other modules as an input, and used to calculate that modules output, etc etc. I'd pay big $$$ for any software that would tell me "modifying variable X will affect downstream Y which will affect Z"

Re: Discontinue Sourcetrail

#5

Hmm. Hard to monetize I guess. Does anyone know of any code analysis software that looks at dataflow ? Specifically for embedded contexts, a lot of code is written in a very non-functional style, where the output of one module is a series of global variables. That variable is then picked up by other modules as an input, and used to calculate that modules output, etc etc. I'd pay big $$$ for any software that would te…

Sounds like a task for symbolic execution engines?

https://en.wikipedia.org/wiki/Symbolic_execution

Re: Discontinue Sourcetrail

#6

Hmm. Hard to monetize I guess. Does anyone know of any code analysis software that looks at dataflow ? Specifically for embedded contexts, a lot of code is written in a very non-functional style, where the output of one module is a series of global variables. That variable is then picked up by other modules as an input, and used to calculate that modules output, etc etc. I'd pay big $$$ for any software that would te…

That’s effectively what Sourcetrail/Coati does in C/C++. Coati was super-helpful for me many years ago when I had to dissect and analyze some crappy vendor code. It also helped me get up to speed on a bunch of C++ spaghetti code on the same project. They hit the nail on the head with their tool and I’ve been using it off and on ever since. I’m actually wondering now if it could be used to analyze Yocto project dependencies and build steps.

Re: Discontinue Sourcetrail

#8

Hmm. Hard to monetize I guess. Does anyone know of any code analysis software that looks at dataflow ? Specifically for embedded contexts, a lot of code is written in a very non-functional style, where the output of one module is a series of global variables. That variable is then picked up by other modules as an input, and used to calculate that modules output, etc etc. I'd pay big $$$ for any software that would te…

I read a paper a while back that does almost the inverse of what you're asking (given Z, how could I get a Y and an X). I tried the code and it almost worked, but gave up and had to move on unfortunately. Still, you might find it useful.

https://dl.acm.org/doi/10.1145/3052973.3053038

Re: Discontinue Sourcetrail

#9

Hmm. Hard to monetize I guess. Does anyone know of any code analysis software that looks at dataflow ? Specifically for embedded contexts, a lot of code is written in a very non-functional style, where the output of one module is a series of global variables. That variable is then picked up by other modules as an input, and used to calculate that modules output, etc etc. I'd pay big $$$ for any software that would te…

Will Crichton just open sourced flowistry for Rust:

https://github.com/willcrichton/flowistry

It's a vscode plugin that analyzes the data flow graph, and lets you do things like highlight statements that depend on the current one, etc.

Re: Discontinue Sourcetrail

#10

Hmm. Hard to monetize I guess. Does anyone know of any code analysis software that looks at dataflow ? Specifically for embedded contexts, a lot of code is written in a very non-functional style, where the output of one module is a series of global variables. That variable is then picked up by other modules as an input, and used to calculate that modules output, etc etc. I'd pay big $$$ for any software that would te…

IntelliJ has some tools for this for Java.
Post reply on HN