Home
last modified time | relevance | path

Searched refs:pe_offset (Results 1 – 25 of 41) sorted by relevance

12

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/nasm/nsis/
H A Dgetpearch.pl42 exit 0 unless (read($fh, my $pe_offset, 4) == 4);
43 $pe_offset = unpack("V", $pe_offset);
45 exit 1 unless (seek($fh, $pe_offset, 0));
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nasm/nsis/
H A Dgetpearch.pl42 exit 0 unless (read($fh, my $pe_offset, 4) == 4);
43 $pe_offset = unpack("V", $pe_offset);
45 exit 1 unless (seek($fh, $pe_offset, 0));
/dports/devel/nasm/nasm-2.15.05/nsis/
H A Dgetpearch.pl42 exit 0 unless (read($fh, my $pe_offset, 4) == 4);
43 $pe_offset = unpack("V", $pe_offset);
45 exit 1 unless (seek($fh, $pe_offset, 0));
/dports/archivers/upx/upx-3.96/src/stub/tools/armpe/
H A Darmpe_tester.c191 unsigned pe_offset = 0; in load() local
198 if (fseek(f, pe_offset, SEEK_SET) in load()
200 return print("read error at %u\n", pe_offset); in load()
205 pe_offset += h.nexepos; in load()
207 pe_offset += h.p512 * 512 + h.m512 - h.m512 ? 512 : 0; in load()
212 return print("bad header at %u\n", pe_offset); in load()
216 printf("pe header found at offset: %u\n", pe_offset); in load()
217 if (fseek(f, pe_offset, SEEK_SET) in load()
/dports/security/md5deep/hashdeep-cd2ed74/src/
H A Dwinpe.cpp67 size_t pe_offset = buffer[0x3c] | (buffer[0x3d] << 8); in is_pe_file() local
70 if (pe_offset + 4 > size) in is_pe_file()
78 const unsigned char * tmp = buffer+pe_offset; in is_pe_file()
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Ddynload_win.c70 DWORD pe_offset, opt_offset; local
83 pe_offset = DWORD_AT(dllbase + 0x3C);
86 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
102 opt_offset = pe_offset + 4 + 20;
/dports/lang/python27/Python-2.7.18/Python/
H A Ddynload_win.c70 DWORD pe_offset, opt_offset; local
83 pe_offset = DWORD_AT(dllbase + 0x3C);
86 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
102 opt_offset = pe_offset + 4 + 20;
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Ddynload_win.c70 DWORD pe_offset, opt_offset; local
83 pe_offset = DWORD_AT(dllbase + 0x3C);
86 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
102 opt_offset = pe_offset + 4 + 20;
/dports/lang/python39/Python-3.9.9/Python/
H A Ddynload_win.c59 DWORD pe_offset, opt_offset; local
72 pe_offset = DWORD_AT(dllbase + 0x3C);
75 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
91 opt_offset = pe_offset + 4 + 20;
/dports/lang/python310/Python-3.10.1/Python/
H A Ddynload_win.c59 DWORD pe_offset, opt_offset; local
72 pe_offset = DWORD_AT(dllbase + 0x3C);
75 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
91 opt_offset = pe_offset + 4 + 20;
/dports/databases/py-sqlite3/Python-3.8.12/Python/
H A Ddynload_win.c65 DWORD pe_offset, opt_offset; local
78 pe_offset = DWORD_AT(dllbase + 0x3C);
81 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
97 opt_offset = pe_offset + 4 + 20;
/dports/databases/py-gdbm/Python-3.8.12/Python/
H A Ddynload_win.c65 DWORD pe_offset, opt_offset; local
78 pe_offset = DWORD_AT(dllbase + 0x3C);
81 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
97 opt_offset = pe_offset + 4 + 20;
/dports/lang/python-tools/Python-3.8.12/Python/
H A Ddynload_win.c65 DWORD pe_offset, opt_offset; local
78 pe_offset = DWORD_AT(dllbase + 0x3C);
81 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
97 opt_offset = pe_offset + 4 + 20;
/dports/lang/python37/Python-3.7.12/Python/
H A Ddynload_win.c83 DWORD pe_offset, opt_offset; local
96 pe_offset = DWORD_AT(dllbase + 0x3C);
99 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
115 opt_offset = pe_offset + 4 + 20;
/dports/lang/python38/Python-3.8.12/Python/
H A Ddynload_win.c65 DWORD pe_offset, opt_offset; local
78 pe_offset = DWORD_AT(dllbase + 0x3C);
81 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
97 opt_offset = pe_offset + 4 + 20;
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/
H A Ddynload_win.c65 DWORD pe_offset, opt_offset; local
78 pe_offset = DWORD_AT(dllbase + 0x3C);
81 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
97 opt_offset = pe_offset + 4 + 20;
/dports/lang/python311/Python-3.11.0a3/Python/
H A Ddynload_win.c62 DWORD pe_offset, opt_offset; local
75 pe_offset = DWORD_AT(dllbase + 0x3C);
78 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {
94 opt_offset = pe_offset + 4 + 20;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/updater/tools/
H A Dcertificate_tag.cc66 uint32_t pe_offset = 0, pe_magic = 0; in Parse() local
73 !CBS_get_u32le(&bin_for_offset, &pe_offset) || in Parse()
74 !CBS_skip(&bin_for_header, pe_offset) || in Parse()
150 pe_offset + 4 + kFileHeaderSize + size_of_optional_header - in Parse()
/dports/misc/vifm/vifm-0.11/src/utils/
H A Dutils_win.c381 uint32_t pe_offset, pe_signature; in get_stream_subsystem() local
393 if(fread(&pe_offset, sizeof(pe_offset), 1U, fp) != 1U) in get_stream_subsystem()
398 if(fseek(fp, pe_offset, SEEK_SET) != 0) in get_stream_subsystem()
411 if(fseek(fp, pe_offset + PE_HDR_SUBSYSTEM_OFFSET, SEEK_SET) != 0) in get_stream_subsystem()
/dports/lang/python-legacy/Python-2.7.18/Tools/msi/
H A Dmsilib.py662 pe_offset = struct.unpack("<i", header[0x3c:0x40])[0]
663 assert header[pe_offset:pe_offset+4] == "PE\0\0"
664 machine = struct.unpack("<H", header[pe_offset+4:pe_offset+6])[0]
/dports/lang/python27/Python-2.7.18/Tools/msi/
H A Dmsilib.py662 pe_offset = struct.unpack("<i", header[0x3c:0x40])[0]
663 assert header[pe_offset:pe_offset+4] == "PE\0\0"
664 machine = struct.unpack("<H", header[pe_offset+4:pe_offset+6])[0]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
H A Dmsilib.py667 pe_offset = struct.unpack("<i", header[0x3c:0x40])[0]
668 assert header[pe_offset:pe_offset+4] == "PE\0\0"
669 machine = struct.unpack("<H", header[pe_offset+4:pe_offset+6])[0]
/dports/archivers/upx/upx-3.96/src/
H A Dpefile.cpp156 pe_offset = 0; in readFileHeader()
160 fi->seek(pe_offset,SEEK_SET); in readFileHeader()
169 if ((pe_offset + delta) < delta // wrap-around in readFileHeader()
170 || (pe_offset + delta) > (unsigned)file_size) { in readFileHeader()
175 pe_offset += delta; in readFileHeader()
184 fi->seek(pe_offset,SEEK_SET); in readFileHeader()
2082 fi->seek(pe_offset+sizeof_ih,SEEK_SET); in readSectionHeaders()
2251 handleStub(fi,fo,pe_offset); in pack0()
2383 int identsplit = pe_offset + sizeof_osection + sizeof(ht); in pack0()
2883 handleStub(fi,fo,pe_offset); in unpack0()
[all …]
H A Dp_w64pep.cpp215 const unsigned swri = pe_offset + sizeof_oh + sizeof(pe_section_t) - 1; in defineSymbols()
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/mpi/cray_shasta/
H A Dapinfo.c61 size_t pe_offset; member
355 hdr->pe_offset = offset; in _build_header()

12