Open 0x456de opened 3 months ago
Reachables slicing requires a valid application. So there must be a package.json, lock file, and deep mode bom.json file to be present in the same directory. Can you check if all these exists?
So, I spend some hours for deep diving in it
I have this js-code
import http from 'http';
let server;
function myfunc(u) {
sandbox(u);
}
server = http.createServer(function (req, res)
{
myfunc(req.url);
});
And, I notice that "url" and "sanbox" identediers are maked as framework-in and framework-our correspondanly. As I understand, algorightma use this tags for building full paths.
If u know, why exactly this identifiers, please, explain me :)
By the way, all attempts (last one and this one) were made whith deep bom.json, package, package-lock files. And, I removed before operation last *.atom file.
It's a lengthy explanation. Can you join one of our office hour? It will resume in September.
Do you mean return to this question in September?
Hi! I try to understand how exactly reachables slices are created. So, I use following dummy sample code.
Next, I generate bom.json in deep mode within cdxgen and get reachables. Result for my sample code:
However, when I change code to this one:
I have empty results. It's strange behaviour as for me. And I can't understands reasons of it. Could u explain, please?