#import "@preview/polylux:0.4.0": *
#import "slides/lib.typ": *

#show link: it => if type(it.dest) == label {
  context {
    if query(it.dest).len() == 0 {
      it.body
    } else {
      it
    }
  }
} else {
  it
}

#set text(lang: "en")
#show: sns-polylux-template.with(
  txt-font: "New Computer Modern",
  title-font: "TeX Gyre Heros",
  aspect-ratio    : "16-9",
  title           : [From Large Scale Analysis to Dynamic Deobfuscation],
  subtitle        : [The Woes of Android Reverse Engineering],
  event           : [], //[PhD Defense],
  short-title     : [], //[PhD Defense],
  //short-event     : [Rennes, 2025/12/9],
  title-size      : 32pt,
  //logo-1          : image("slides/imgs/logo_irisa.png"),
  //logo-2          : image("slides/imgs/logo_pirat.png"),
  //
  colormap        : sns-polylux-template_sns-pirat,
  authors         : (
    {
      set text(weight: "bold")
      [MINEAU Jean-Marie]
      v(1em)
    },
    [LALANDE Jean-François, PhD supervisor],
    [VIET TRIEM TONG Valérie, PhD co-supervisor]
  ),
  date            : datetime(year: 2025, month: 12, day: 9),
)

#title-slide(
  logo: grid(columns: 2, 
    image("slides/imgs/logo_pirat.png"),
    image(width: 500pt, "slides/imgs/logo_cs.png"),
    image("slides/imgs/logo_irisa.png"),
    image("slides/imgs/platypus.png"),
  )
)

#slide(
  new-sec: true, 
  title: [Introduction], 
  hide-title: true,
  foreground: {
    ghost-5(dx: 10%, dy: 30pt)
    ghost-4(dx: 95%, dy: 80%)
    //ghost-4(dx: 45%, dy: 43%)
  }
)[
  Intro 1
]

#slide[
  Intro 2

]

#new-section-slide([Tool Reusability])

#slide[
  Rasta 1
  /*
  #stack(dir: ltr,
    scale(40%, reflow: true, get_figure(<tab:rasta-tools>)),
    scale(55%, reflow: true, get_figure(<tab:rasta-sources>)),
  )*/
]

#slide[
  Rasta 2

]

#new-section-slide([Class Shadowing])

#slide[Shadow 1

]
#slide[Shadow 2

]
#slide[Shadow 3

]

#new-section-slide([The Application of Theseus])

#slide[Th 1

]
#slide[Th 2

]

#new-section-slide([Conclusion])

#slide[Conclusion 1

]
#slide[Conclusion 2

]


#empty-slide[
  Questions
]


/*

#slide()[
  #get_figure(<fig:th-cg-before-after>))
]

#slide()[
/*
  #pl.toolbox.slide-number
  #context({
    pl.toolbox.all-sections((sections, current) => {
      for i in sections {
        repr(i.at("body").at("text"))
      }
    })
  })
  */
  #sections()
]

// #toc-slide( title: [Outline] )



#slide(
  title: [A slide without subtitle],
)[
  This slide does not have a subtitle, but belongs to the first section.
]

#new-section-slide([Second section])

#slide(
  title: [Title],
  subtitle: [Subtitle],
)[
  plop
]

#slide(
  subtitle: [Hidden subtitle],
)[
  This slide however does not have a title. It belongs to the second section.
]

#new-section-slide([Third section])

#focus-slide()[
  This is a _focus-slide_.
]

#slide(new-sec: true, title: [Fourth section],)[
  A slide can also open a new section...
]

#focus-slide(new-sec: [Fifth section],)[
  ... and also a focus-slide can do it!
]

#empty-slide()[
  Ending slide
]
*/




/*
* Notes:
*
* Intro:
* Dear jury, gentle people of the audience, here and online, thank you for your presence.
* I am Jean-Marie Mineau, and today I will be defending my thesis about Android Application reverse engineering and the many difficulties a reverse engineer might encounter.
* This thesis was suppervised by Jean-François Lalande and Valerie Viet Triem Tong, within the PIRAT research team at IRISA.
*
*/

#pagebreak()
#set page(height: auto, margin: 25mm)
#bibliography("bibliography.bib")
