since few days, i've tried to see if SCA could be useful for our team. I've tried the tutorial and read the documentation, and i've succeded in some queries ... except the ones which search for static C functions.
I think it should be a bug, because it works for variables (for examples) but not for functions ...
Despite SCA official documentation :
And I don't see any limitations regarding the functions ... which are symbols tooa C static declaration creates a symbol that has a module-specific symbol domain
Excerpt from the source code:
Code: Select all
$search sca$example:type_example.c static
static void routine1 () ;
static void routine2 () ;
Which is not the case at all
And the queries to reproduce this issue:
Code: Select all
$sca find in (type_example and occurrence=compilation_unit, symbol=function and occurrence=primary and domain=module_specific)
%SCA-W-NOOCCUR, no symbol occurrence matches your selection criteria
$sca find in (type_example and occurrence=compilation_unit, symbol=function and occurrence=primary and domain=global)
routine1 procedure
TYPE_EXAMPLE\138 void function definition declaration
routine2 procedure
TYPE_EXAMPLE\144 void function definition declaration
type_example procedure
TYPE_EXAMPLE\108 void function definition declaration
If needed, some informations about our system :
Code: Select all
$ product show product openvms
------------------------------------ ----------- ---------
PRODUCT KIT TYPE STATE
------------------------------------ ----------- ---------
HP I64VMS OPENVMS V8.4 Platform Installed
------------------------------------ ----------- ---------
$ sca sho version
%SCA-S-VERSION, this is SCA version V5.1-01
Thanks for any help !