This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=evtest | |
| version=1.33 | |
| revision=1 | |
| short_desc="Command line tool for displaying device input information" | |
| maintainer="sen <ethan.k.shackelford@gmail.com>" | |
| license="GPLv2" | |
| build_style=gnu-configure | |
| homepage="https://cgit.freedesktop.org/evtest/" | |
| distfiles="https://cgit.freedesktop.org/evtest/snapshot/evtest-${version}.tar.xz" | |
| hostmakedepends="autoconf automake" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pwn | |
| plt_system = pwn.p64(0x401040) | |
| plt_puts = pwn.p64(0x401030) | |
| pop_rdi = pwn.p64(0x40120b) | |
| main = pwn.p64(0x40115f) | |
| buf_heap_addr = pwn.p64(0x405670) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <sys/stat.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define LOADOFFSET 0x40000000 // RAM is mapped to 0x40000000, added to account for this | |
| int main(int argc, char **argv) { | |
| FILE *needle; | |
| FILE *haystack; |