[Bro-Dev] [JIRA] (BIT-1386) topic/jsiwek/missing-pac-deps

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Wed Apr 22 12:19:00 PDT 2015


Jon Siwek created BIT-1386:
------------------------------

             Summary: topic/jsiwek/missing-pac-deps
                 Key: BIT-1386
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1386
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: git/master
            Reporter: Jon Siwek


This branch may help the recent problems w/ binpac analyzer dependency tracking.

To get binpac target dependencies fully automated, I think we need support in CMake itself for custom dependency scanners, like mentioned in these:

http://public.kitware.com/Bug/view.php?id=2172
http://www.mail-archive.com/cmake@cmake.org/msg30396.html

The problem is that if we tried to do our own dependency scan for %includes at configure-time (like in a CMake script), then a .pac file is modified to have more %includes, those later ones don’t get included in the dependency chain unless a CMake configuration runs again.

Explicitly specifying all the dependency .pac files may have to do for now.  This was always the case, but mostly recent analyzers didn't strictly adhere to this rule (which isn't very clear if just copy-pasting the CMake stuff from another analyzer).



--
This message was sent by Atlassian JIRA
(v6.5-OD-01-120#65000)



More information about the bro-dev mailing list