Cs675 software reverse engineering sadia afroz omar badran dan moyer
Download
1 / 6

CS675 Software Reverse Engineering Sadia Afroz, Omar Badran, Dan Moyer - PowerPoint PPT Presentation


  • 63 Views
  • Uploaded on

CS675 Software Reverse Engineering Sadia Afroz, Omar Badran, Dan Moyer. Lab1 Presentation Feature Rich Java App. Java Email Server. Basic SMTP and POP3 email server written in Java JES User Features POP3 and SMTP services Other Features Supports basic user account configuration

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' CS675 Software Reverse Engineering Sadia Afroz, Omar Badran, Dan Moyer' - skip


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Cs675 software reverse engineering sadia afroz omar badran dan moyer

CS675 Software Reverse EngineeringSadia Afroz,Omar Badran, Dan Moyer

Lab1 Presentation

Feature Rich Java App


Java email server
Java Email Server

  • Basic SMTP and POP3 email server written in Java

  • JES User Features

    • POP3 and SMTP services

  • Other Features

    • Supports basic user account configuration

      • User name

      • Password

      • Mail forwarding

    • Supports basic activity logging

      • Logs user activity

      • Logs system errors/exceptions


Java email server1
Java Email Server

  • JES Architecture

    • SMTP Processor

      • Mail client connects to send messages

    • SMTP Sender

      • Monitors for messages to send. If local, puts msg’s in local users in-box. If remote, passes msg to SMTP Remote Sender

    • SMTP Remote Sender

      • Sends non-local msg’s by connecting to other SMTP Processor’s of other mail servers

    • POP3 Processor

      • Mail client connects to retrieve messages.


Java email server2
Java Email Server

  • JUnit testing overview

    • 21 classes

      • 1 class where main() is defined

      • 15 functional classes

      • 1 interface definition

      • 1 constants definition

      • 3 exception definitions

    • Unit test architecture is organized as

      • Test suite launches the email server

      • Each test case acts as a client to the email server


Java email server3
Java Email Server

  • JUnit testing overview cont…

    • Test cases are organized in to two basic categories

      • Invalid user commands

      • Normal e-mail operation

    • Invalid user commands includes

      • Invalid commands

      • Invalid command order

      • Invalid command arguments

    • Normal e-mail operation includes

      • Sending local and remote messages

      • Retrieving the local messages


Java email server4
Java Email Server

  • JUnit testing code coverage

    • Used Emma for code coverage

  • JUnit testing results

    • Achieved 74% code coverage

    • Achieving near 100% is challenging because

      • Some defined methods can never be invoked because no other methods calls them

      • From a user’s point of view, can’t induce the type of exceptions needed to execute exception path


ad