# First we'll clone iPXE
$ git clone git://git.ipxe.org/ipxe.git
# Go into the src directory of the cloned git repo
$ cd ipxe/src
# Compile the UEFI iPXE executable
This file contains 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
// = Requirements: freetype 2.5, libpng, libicu, libz, libzip2 | |
// = How to compile: | |
// % export CXXFLAGS=`pkg-config --cflags freetype2 libpng` | |
// % export LDFLAGS=`pkg-config --libs freetype2 libpng` | |
// % clang++ -o clfontpng -static $(CXXFLAGS) clfontpng.cc $(LDFLAGS) \ | |
// -licuuc -lz -lbz2 | |
#include <cassert> | |
#include <cctype> | |
#include <iostream> | |
#include <memory> |
This file contains 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
; AMI | |
[GUID_FILE] | |
; ACPI tables | |
16D0A23E-C09C-407d-A14A-AD058FDD0CA1=ACPI | |
11D8AC35-FB8A-44d1-8D09-0B5606D321B9=DSDT | |
95DFCAE5-BB28-4d6b-B1E2-3AF3A6BF434F=PTID | |
FB045DB2-598E-485A-BA30-5D7B1B1BD54D=AOAC | |
60AC3A8F-4D66-4CD4-895A-C3F06E6665EE=iFfsAcpiTables | |
5B232086-350A-42c7-A70E-3497B5765D85=OEMSSDT | |
299141BB-211A-48a5-92C0-6F9A0A3A006E=PPMACPI |
This file contains 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
// https://godbolt.org/z/5G3Ah3 | |
// API: constexpr int const_strcmp( "foo", "bar" ); | |
// Much more readable version here: https://gist.github.com/kaidokert/dfc08be8e75a3fc650d3daf8e89c3fe9 | |
// but that doesn't work with GCC before version 7 | |
#include <cstddef> | |
#include <utility> | |
namespace detail { |
This file contains 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 <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// yousif, namazso, can1357, defcon42 | |
namespace packet | |
{ | |
constexpr size_t be_xor_key = 0xd774f59d; |
This file contains 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
/* | |
* run over the memory till find the sys call talbe | |
* doing so, by searching the sys call close. | |
*/ | |
unsigned long * obtain_syscall_table_bf(void) | |
{ | |
unsigned long *syscall_table; | |
unsigned long int i; | |
for (i = (unsigned long int)sys_close; i < ULONG_MAX; |
- Example with Qt 5.15.0
- Using MSVC and VS2019
- TODO: Add more details about
configure
- TODO: jom notes.
Prerequisites:
This file contains 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
0. Install Visual Studio 2017 (Community Edtion or whatever), select "Windows XP support". | |
1. Download and unpack OpenSSL 1.0.x sources and prepare build. Mind the paths. | |
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 | |
set PATH=C:\Jom;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH% | |
set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;%INCLUDE% | |
set LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib;%LIB% | |
set CL=/D_USING_V110_SDK71_ |
Vendor Id | Vendor Name |
---|---|
0x0033 | Paradyne Corp. |
0x003D | master |
0x0070 | Hauppauge Computer Works Inc. |
0x0100 | USBPDO-8 |
0x0123 | General Dynamics |
0x0315 | SK - Electronics Co., Ltd. |
0x0402 | Acer aspire one |
0x046D | Logitech Inc. |
NewerOlder