Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1471

Formulating Security in Programming Languages

From Seima Rao <seimarao@gmail.com>
Newsgroups comp.compilers
Subject Formulating Security in Programming Languages
Date 2015-01-15 17:49 +0530
Organization Compilers Central
Message-ID <15-01-014@comp.compilers> (permalink)

Show all headers | View raw


Hi,

    I came up with this notation in stating the goal of security in
programming languages:

    Programming Language Construct = Syntax + Semantics + Side Effect.

    N# semantics N# syntax = Syntax + Semantics + Side Effects

   Security = N# semantics N# syntax - Side Effects

    I will explain via a C example:

    N# (malloc-semantics) N# (malloc-syntax, free-opt-syntax) = Memory
Allocation + Memory Deallocation + Memory Leak

    In the above, the LHS says, apply the combined syntaxes of malloc
and optional-free to the semantics of malloc. The result is that
Memory Leak is a side effect. So, the goal of security is to remove
Memory Leaks.

   Does the approach specified in the above paragraphs occur to you as
brute force esp when generalizing over the entire grammar(small &
manageable) if not the semantics(the whole large LRM)?

   Is anyone interested in this topic ?

   Are there any other formal approaches to investigating security in
Programming Languages?

Sincerely,
Seima Rao.

Back to comp.compilers | Previous | Next | Find similar | Unroll thread


Thread

Formulating Security in Programming Languages Seima Rao <seimarao@gmail.com> - 2015-01-15 17:49 +0530

csiph-web