From d5e7b073574b501c3382d6af2deba947dc39fa12 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 31 Mar 2020 18:21:49 -0400 Subject: css and js --- docs/guide/type.md | 138 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 78 insertions(+), 60 deletions(-) (limited to 'docs/guide') diff --git a/docs/guide/type.md b/docs/guide/type.md index 6ad952ee..f3f091d4 100644 --- a/docs/guide/type.md +++ b/docs/guide/type.md @@ -14,72 +14,90 @@ There are two main ways to interact with types from within a binary view. The fi New to stable version 1.3.2015 is the "Smart Structures" feature. Rather than manually create a type in the type view and then apply it to disassembly, you can create structures directly from disassembly using the `s` hotkey. Consider the following example (created using [taped](http://captf.com/2011/gits/taped) from the 2011 Ghost in the Shellcode CTF if you'd like to play along at home): -
    -
  1. Assembly view of the start of 0x8048e20
  2. -
  3. MLIL view of the same basic block
  4. -
  5. MLIL view after selecting the return of calloc and pressing s
  6. -
  7. MLIL view after selecting the offset and pressing s to turn it into a member access
  8. -
  9. MLIL view after selecting the remaining offsets and pressing s in turn
  10. -
  11. Viewing the structure automatically created after this workflow
  12. -
  13. Selecting the remaining bytes and turning them into an array using 1 to turn them all into uint_8 variables, and then * to turn them all into an array
  14. -
      - -

      Taped 1 of 7

      -
        -
      • - Structure Workflow 1 -
      • -
      • - Structure Workflow 2 -
      • -
      • - Structure Workflow 3 -
      • -
      • - Structure Workflow 4 -
      • -
      • - Structure Workflow 5 -
      • -
      • - Structure Workflow 6 -
      • -
      • - Structure Workflow 7 -
      • -
      +
      +
        +
      1. Assembly view of the start of 0x8048e20
      2. +
      3. MLIL view of the same basic block
      4. +
      5. MLIL view after selecting the return of calloc and pressing s
      6. +
      7. MLIL view after selecting the offset and pressing s to turn it into a member access
      8. +
      9. MLIL view after selecting the remaining offsets and pressing s in turn
      10. +
      11. Viewing the structure automatically created after this workflow
      12. +
      13. Selecting the remaining bytes and turning them into an array using 1 to turn them all into uint_8 variables, and then * to turn them all into an array
      14. +
      + +
      +
        +
      • + Structure Workflow 1 +
      • +
      • + Structure Workflow 2 +
      • +
      • + Structure Workflow 3 +
      • +
      • + Structure Workflow 4 +
      • +
      • + Structure Workflow 5 +
      • +
      • + Structure Workflow 6 +
      • +
      • + Structure Workflow 7 +
      • +
      +
      +
      -- cgit v1.3.1