interceptor: replace custom Command class by proto class

Though this removes the lazy evaluation of args and env to a be always
done now, this hardly every was truly omitted. Hence, this is not a
regression. Instead the code could be tidied up to have only one data
format that also serializes.

No functional change intended.

Bug: 205577427
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ia3790d36c5477eb39dd6980d35b638803726d49d
5 files changed
tree: 67ae69e61cebcde41c2946db0f305884a5f594d7
  1. analysis.cc
  2. Android.bp
  3. CMakeLists.txt
  4. interceptor.cc
  5. interceptor.h
  6. log.proto
  7. main.cc
  8. OWNERS