Replies: 1 comment 4 replies
-
I agree with the change and believe it's relatively easy to change, however, I am a bit confused about the difference between an |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, capa-scripts uses function call specific features different to capa. Intuitively, I'd expect that capa.NET rules "just work" on C# source and vice versa.
A) capa's current understanding:
api
: standard APIs, e.g.System.Convert.ToBase64String
function-name
: user-defined functions, e.g.my_awesome_callout_function
; identified using technologies like FLIRT, or .NET metadata, or source code...import
: an imported functionB) Per discussion with Adam, the current capa-script implementation is:
api
: not definedfunction-name
: a function from some imported namespace, can be staticimport
: a newly instantiated object from some imported namespaceC) How I would see these in capa-script:
api
: like abovefunction-name
: like above, differ toapi
in that they are defined in the current fileimport
: like above (equals allapi
s in the file?!)Do you agree with C) and if so, how can we get there?
Beta Was this translation helpful? Give feedback.
All reactions