SlideShare a Scribd company logo
1 of 16
DISASSEMBLER/DECOMPILER
DISASSEMBLER
➢ utility program that convert machine code
into target processor specific assembly code.
➢ It is complementary to assembly or cross
assembly
DECOMPILER
It is a utility program that convert machine
language instruction to high level language
instruction.
➢It Performs reverse operation of compiler or
cross compiler.
DISASSEMBLER/DECOMPILER
• Both are reverse engineering tools.
➢ Reverse engineering is a technology used to reveal
the technology behind the working of a product
✓ used to find out the secret behind popular
proprietary product
✓ helps the reverse engineering process by translating
embedded firmware to assembly /high level instruction
✓ Powerful tools for analyzing the presence of
malicious contents (virus information) in an executable
image
 Are available as either freeware tools readily available for
free download from internet or as commercial tools
SIMULATORS, EMULATORS AND
DEBUGGING
Simulators
• Simulator is a software tool for simulating
various functionality of the application
software.
• IDE itself provides simulator support.
• Simulator simulates target hardware and
firmware execution can be simulate using
simulators
Features of simulator
• Purely software based
• Doesn’t require a real target system
• Very primitive
• Lack of real time
Limitations:
1. Deviation from real behavior
--- Under certain operating conditions we may get
some particular result and it need not be the
same when the firmware runs in a production
environment
2. Lack of real timeliness
--- The major limitation of simulator based
debugging is that it is not real-time in behavior.
The debugging is a developer driven and
moreover in real application the I/O condition
may be varying or unpredictable
Advantage of simulator based
debugging
1. No need of target board
- Purely software oriented, IDE simulates the target
board
- Since real hardware is not needed we can start
immediately after the device interface and
memory maps are finalized this saved
development time
2. Simulated I/O peripherals
- It eliminates the need for connecting IO devices
for debugging the firmware
Advantage of simulator based
debugging
3. Simulates abnormal conditions
- Can input any parameter as input during
debugging hence can check for abnormal
conditions easily
EMULATOR
• It is a piece of hardware that exactly behaves
like the real microcontroller chip with all its
integrated functionality.
• It is the most powerful debugging of all.
• A microcontroller’s functions are emulated in
real-time and non-intrusively.
EMULATOR
All emulators contain 3 essential function:
1. The emulator control logic, including
emulation memory
2. The actual emulation device
3. A pin adapter that gives the emulator’s target
connector the same “package” and pin out as
the microcontroller to be emulated.
EMULATOR
• An emulator is a piece of hardware that looks
like a processor, has memory like a processor,
and executes instructions like a processor but
it is not a processor.
• The advantage is that we can probe points of
the circuit that are not accessible inside a
chip.
• It is a combination of hardware and software.
DEBUGGERS
Why Debugging?
• Debugging in embedded application is the process
of diagnosing the firmware execution, monitoring
the target processor’s registers and memory
while the firmware is running and checking the
signals from various buses of embedded
hardware.
• Classified as
Hardware Debugging
Firmware Debugging
Classification of Debugging
• Hardware Debugging:
Deals with monitoring of various bus signals and
checking the status lines of target hardware.
• Firmware Debugging:
Deals with examining the firmware execution,
execution flow, changes to various CPU registers
and status registers on execution of the firmware
to ensure that the firmware is running as per the
design
Types of On Chip Debugging
• Incremental EEPROM Burning technique
• Inline Breakpoint Based Firmware Debugging
• Monitor program Based firmware Debugging
• ICE Based Firmware Debugging
• On chip Firmware Debugging

More Related Content

What's hot

Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
Pradeep Kumar TS
 
Trends in Embedded system Design
Trends in Embedded system DesignTrends in Embedded system Design
Trends in Embedded system Design
Raman Deep
 
Embedded System Tools ppt
Embedded System Tools  pptEmbedded System Tools  ppt
Embedded System Tools ppt
Halai Hansika
 

What's hot (20)

MicroC/OS-II
MicroC/OS-IIMicroC/OS-II
MicroC/OS-II
 
Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
 
Trends in Embedded system Design
Trends in Embedded system DesignTrends in Embedded system Design
Trends in Embedded system Design
 
RTOS - Real Time Operating Systems
RTOS - Real Time Operating SystemsRTOS - Real Time Operating Systems
RTOS - Real Time Operating Systems
 
Automatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos pptAutomatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos ppt
 
Embedded System Tools ppt
Embedded System Tools  pptEmbedded System Tools  ppt
Embedded System Tools ppt
 
Embedded system design challenges
Embedded system design challenges Embedded system design challenges
Embedded system design challenges
 
Chapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded SystemChapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded System
 
Task communication
Task communicationTask communication
Task communication
 
Loaders
LoadersLoaders
Loaders
 
Target hardware debugging
Target hardware debuggingTarget hardware debugging
Target hardware debugging
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Peripherals
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems PeripheralsSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems Peripherals
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Peripherals
 
Embedded development life cycle
Embedded development life cycleEmbedded development life cycle
Embedded development life cycle
 
Memory Organisation in embedded systems
Memory Organisation in embedded systemsMemory Organisation in embedded systems
Memory Organisation in embedded systems
 
Flash memory
Flash memoryFlash memory
Flash memory
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
 
Embedded _c_
Embedded  _c_Embedded  _c_
Embedded _c_
 
Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)Chapter 8 Embedded Hardware Design and Development (second portion)
Chapter 8 Embedded Hardware Design and Development (second portion)
 

Similar to DISASSEMBLER-DECOMPILER.pptx

Embedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptxEmbedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptx
lematadese670
 
Reverse Engineering.pptx
Reverse Engineering.pptxReverse Engineering.pptx
Reverse Engineering.pptx
Sameer Sapra
 

Similar to DISASSEMBLER-DECOMPILER.pptx (20)

Debugging Tools.pptx
Debugging Tools.pptxDebugging Tools.pptx
Debugging Tools.pptx
 
Disassembler and simulators
Disassembler and simulatorsDisassembler and simulators
Disassembler and simulators
 
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
 
embeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfembeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdf
 
Embedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptxEmbedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptx
 
Emulator vs Simulator
Emulator vs SimulatorEmulator vs Simulator
Emulator vs Simulator
 
Neethu Narayanan- Operating System
 Neethu Narayanan- Operating System Neethu Narayanan- Operating System
Neethu Narayanan- Operating System
 
Reverse Engineering.pptx
Reverse Engineering.pptxReverse Engineering.pptx
Reverse Engineering.pptx
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer Softwares
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
Ss debuggers
Ss debuggersSs debuggers
Ss debuggers
 
Embedded System PPT
Embedded System PPTEmbedded System PPT
Embedded System PPT
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginners
 
Embedded systems tools & peripherals
Embedded systems   tools & peripheralsEmbedded systems   tools & peripherals
Embedded systems tools & peripherals
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Reverse engineering in software engineering vaibhav
Reverse engineering in software engineering vaibhavReverse engineering in software engineering vaibhav
Reverse engineering in software engineering vaibhav
 
CLASSIFICATION OF DEBUGGERS
CLASSIFICATION OF DEBUGGERSCLASSIFICATION OF DEBUGGERS
CLASSIFICATION OF DEBUGGERS
 
Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 11Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 11
 
Microkontroler
MicrokontrolerMicrokontroler
Microkontroler
 

Recently uploaded

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (20)

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 

DISASSEMBLER-DECOMPILER.pptx

  • 2. DISASSEMBLER ➢ utility program that convert machine code into target processor specific assembly code. ➢ It is complementary to assembly or cross assembly
  • 3. DECOMPILER It is a utility program that convert machine language instruction to high level language instruction. ➢It Performs reverse operation of compiler or cross compiler.
  • 4. DISASSEMBLER/DECOMPILER • Both are reverse engineering tools. ➢ Reverse engineering is a technology used to reveal the technology behind the working of a product ✓ used to find out the secret behind popular proprietary product ✓ helps the reverse engineering process by translating embedded firmware to assembly /high level instruction ✓ Powerful tools for analyzing the presence of malicious contents (virus information) in an executable image  Are available as either freeware tools readily available for free download from internet or as commercial tools
  • 6. Simulators • Simulator is a software tool for simulating various functionality of the application software. • IDE itself provides simulator support. • Simulator simulates target hardware and firmware execution can be simulate using simulators
  • 7. Features of simulator • Purely software based • Doesn’t require a real target system • Very primitive • Lack of real time
  • 8. Limitations: 1. Deviation from real behavior --- Under certain operating conditions we may get some particular result and it need not be the same when the firmware runs in a production environment 2. Lack of real timeliness --- The major limitation of simulator based debugging is that it is not real-time in behavior. The debugging is a developer driven and moreover in real application the I/O condition may be varying or unpredictable
  • 9. Advantage of simulator based debugging 1. No need of target board - Purely software oriented, IDE simulates the target board - Since real hardware is not needed we can start immediately after the device interface and memory maps are finalized this saved development time 2. Simulated I/O peripherals - It eliminates the need for connecting IO devices for debugging the firmware
  • 10. Advantage of simulator based debugging 3. Simulates abnormal conditions - Can input any parameter as input during debugging hence can check for abnormal conditions easily
  • 11. EMULATOR • It is a piece of hardware that exactly behaves like the real microcontroller chip with all its integrated functionality. • It is the most powerful debugging of all. • A microcontroller’s functions are emulated in real-time and non-intrusively.
  • 12. EMULATOR All emulators contain 3 essential function: 1. The emulator control logic, including emulation memory 2. The actual emulation device 3. A pin adapter that gives the emulator’s target connector the same “package” and pin out as the microcontroller to be emulated.
  • 13. EMULATOR • An emulator is a piece of hardware that looks like a processor, has memory like a processor, and executes instructions like a processor but it is not a processor. • The advantage is that we can probe points of the circuit that are not accessible inside a chip. • It is a combination of hardware and software.
  • 14. DEBUGGERS Why Debugging? • Debugging in embedded application is the process of diagnosing the firmware execution, monitoring the target processor’s registers and memory while the firmware is running and checking the signals from various buses of embedded hardware. • Classified as Hardware Debugging Firmware Debugging
  • 15. Classification of Debugging • Hardware Debugging: Deals with monitoring of various bus signals and checking the status lines of target hardware. • Firmware Debugging: Deals with examining the firmware execution, execution flow, changes to various CPU registers and status registers on execution of the firmware to ensure that the firmware is running as per the design
  • 16. Types of On Chip Debugging • Incremental EEPROM Burning technique • Inline Breakpoint Based Firmware Debugging • Monitor program Based firmware Debugging • ICE Based Firmware Debugging • On chip Firmware Debugging