Безопасность компьютерных систем 2017/Бинарные программы 1: различия между версиями
Перейти к навигации
Перейти к поиску
Gamajun (обсуждение | вклад) Новая страница: «== Материалы семинара №1 по бинарным уязвимостям == === Ссылки на IDA PRO === You can download the IDA demo from…» |
Gamajun (обсуждение | вклад) Нет описания правки |
||
| Строка 7: | Строка 7: | ||
* Linux: http://out7.hex-rays.com/demo/download/linux | * Linux: http://out7.hex-rays.com/demo/download/linux | ||
* Mac OS X: http://out7.hex-rays.com/demo/download/mac | * Mac OS X: http://out7.hex-rays.com/demo/download/mac | ||
=== Тестовый пример на семинаре === | |||
#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); | |||
} | |||
Версия от 09:59, 31 октября 2017
Материалы семинара №1 по бинарным уязвимостям
Ссылки на IDA PRO
You can download the IDA demo from the following links:
- Windows: http://out7.hex-rays.com/demo/download/windows
- Linux: http://out7.hex-rays.com/demo/download/linux
- Mac OS X: http://out7.hex-rays.com/demo/download/mac
Тестовый пример на семинаре
#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);
}