Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

cs3235 midterm terms, questions and answers _ latest update.pdf

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
17-06-2026
Written in
2025/2026

cs3235 midterm terms, questions and answers _ latest

Institution
Course

Content preview

cs3235 midterm terms, questions and answers |
latest update

Save




Terms in this set (47)



Code Injection Memory exploit that hijacks control to jump to
attackers payload.
Requires:
- Write attack payload in memory
- Have attack payload be executable
- Direct control flow to payload


Code Reuse Hijacks control to jump to attacker controlled code
address.
Requires:
- Have attack payload be executable
- Direct control flow to payload



Data Oriented Attack Manipulate control data.
Requires: Nothing

, Downcasting class Base {int x};
class Derived : public Base {int y};
Base* b = new Base();
Derived d = static_cast<D>(b);
d->y = 0;


y is not in scope


Scope Region of code where a variable can be accessed.


Lifetime Portion of program execution during which storage
is guaranteed.


Use After Free Dereferencing a dangling pointer.


Memory Safety - Create memory pointers via permitted operation.
- Only access memory allocated to the pointer (in
scope)
- All objects spatially disjoint.


Spatial Safety - Associate bounds with each pointer
- Check each pointer before access
- Fat pointers


Fat Pointer | Pointer | [Start, End] |
ptr = malloc(size);
ptr_base = ptr;
ptr_bound = prt + size;
- Check bounds at each dereference
- No checks on pointer arithmetic
- Casts: copy bounds data from old pointer to new
pointer

Written for

Course

Document information

Uploaded on
June 17, 2026
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
profEve

Get to know the seller

Seller avatar
profEve Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
9
Member since
6 months
Number of followers
0
Documents
1347
Last sold
3 days ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions