Безопасность компьютерных систем 2017/Бинарные программы 1 — различия между версиями
Материал из Wiki - Факультет компьютерных наук
Gamajun (обсуждение | вклад) (Новая страница: «== Материалы семинара №1 по бинарным уязвимостям == === Ссылки на IDA PRO === You can download the IDA demo from…») |
Gamajun (обсуждение | вклад) (→Материалы семинара №1 по бинарным уязвимостям) |
||
| (не показана одна промежуточная версия этого же участника) | |||
| Строка 4: | Строка 4: | ||
You can download the IDA demo from the following links: | You can download the IDA demo from the following links: | ||
| − | + | https://www.hex-rays.com/products/ida/support/download.shtml | |
| − | * | + | |
| − | * | + | === Тестовый пример на семинаре === |
| + | |||
| + | #include <cstdlib> | ||
| + | #include <string> | ||
| + | void foo(char *arr, int b) | ||
| + | { | ||
| + | int c; | ||
| + | int t; | ||
| + | char arr_local[35]; | ||
| + | strcpy(arr_local, arr); | ||
| + | } | ||
| + | int main(int argc, char *argv[]) | ||
| + | { | ||
| + | foo(argv[1], 5); | ||
| + | } | ||
Текущая версия на 13:37, 31 октября 2017
Материалы семинара №1 по бинарным уязвимостям
Ссылки на IDA PRO
You can download the IDA demo from the following links:
https://www.hex-rays.com/products/ida/support/download.shtml
Тестовый пример на семинаре
#include <cstdlib>
#include <string>
void foo(char *arr, int b)
{
int c;
int t;
char arr_local[35];
strcpy(arr_local, arr);
}
int main(int argc, char *argv[])
{
foo(argv[1], 5);
}