[Open-scap] Stubbed draft of Local Variable evaluation

David Niemoller David.Niemoller at g2-inc.com
Tue Nov 10 19:43:46 UTC 2009


The attached patch includes a stubbed draft of the implementation of
local variable evaluation.  The new code includes

-- an implementation of oval_variable_get_values which includes the
just-in-time evaluation of local variable values.

-- A new function oval_component_evaluate(struct oval_component *,
struct oval_string_map *) that is tasked with generating the oval_values
that result from evaluating an oval_component (FUNCTION,
VARIABLE_REFERENCE, OBJECT_REFERENCE) on the host platform.  The
oval_values generated for the specified oval_component are indexed by
their text values in the specified oval_string_map (the oval_string_map
behaves like a set in this operation).

Other changes noted in the patch include changes that support ANSI and
enforce a consistent path style for .h references.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DCN-20091110.patch
Type: application/octet-stream
Size: 14516 bytes
Desc: DCN-20091110.patch
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20091110/36cb24c0/attachment.obj>


More information about the Open-scap-list mailing list