From 4c8f8ff004a080c14c1e010c30fdca784b053f7b Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Sun, 27 Jun 2021 01:23:59 +0000 Subject: [PATCH] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65c1729..2e918f3 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,11 @@ Stage One, or "S1" for short is the first stage in LLO. This stage deconstructs ### File Format Deconstructors - dctors -The term "dctor" is typically refered to class deconstructors, however in the usage in this proposal it refers to file format deconstruction. I went with the "strategy pattern" with my file format deconstruction. +The term "dctor" typically refered to class deconstructors, however the usage in this proposal refers to file format deconstruction. I went with the "strategy pattern" with my file format deconstruction as it seems like the best code pattern to use. *"In computer programming, the strategy pattern is a behavioral software design pattern that enables selecting an algorithm at runtime. Instead of implementing a single algorithm directly, code receives run-time instructions as to which in a family of algorithms to use."* -This is ideal for deconstruction algorithms as there can be different files to deconstruct and thus different algorithms must run. +This is ideal for deconstruction algorithms as there can be different files to deconstruct and thus different algorithms must run. For example, a COFF, PE, ELF, and LIB file all require different deconstruction algorithms. LIB in particular as it is composed of multiple COFF files. I have used "decorator pattern" for my LIB file dctor. + + +*"In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class."*