First part of TD9

This commit is contained in:
Yorick Barbanneau 2023-04-20 02:08:52 +02:00
parent 553cdc440c
commit 4907f833e2
5 changed files with 537 additions and 0 deletions

View file

@ -0,0 +1,18 @@
pframe:
curl -o pframe.tgz https://dept-info.labri.fr/~thibault/SecuLog/pframe.tgz && \
tar -xf pframe.tgz &&\
rm -rf pframe.tgz
.gdbinit:
configure: pframe .gdbinit
$(shell echo "python import pframe" > .gdbinit)
PHONY: %
gdb: configure
PYTHONPATH=${PWD}/pframe${PYTHONPATH:+:${PYTHONPATH}} \
gdb hackme
PHONY: clean
clean:
@rm -rf $(BUILD_DIR) pframe .gdbinit