Skip to content

Instantly share code, notes, and snippets.

View Feandil's full-sized avatar

Vincent Brillault Feandil

View GitHub Profile
@Feandil
Feandil / Centos.txt
Last active January 10, 2018 14:04
intel-ucode/06-4f-01 in Fedora and RedHat
% rpm2cpio <(curl -s http://mirror.centos.org/centos/7/updates/x86_64/Packages/microcode_ctl-2.1-22.2.el7.x86_64.rpm -o -) | cpio --extract --to-stdout ./lib/firmware/intel-ucode/06-4f-01 | iucode_tool -tb -L -
2606 blocks
microcode bundle 1: (stdin)
001/001: sig 0x000406f1, pf_mask 0xef, 2017-11-18, rev 0xb000025, size 27648
@Feandil
Feandil / Makefile
Last active March 18, 2017 20:05
GCC-Plugin reproducer
HOST_GCC:=g++
TARGET_GCC:=gcc
GCCPLUGINS_DIR:= $(shell $(TARGET_GCC) -print-file-name=plugin)
CXXFLAGS+= -I$(GCCPLUGINS_DIR)/include -fPIC -fno-rtti -O2 -std=gnu++98 -fvisibility=hidden
PLUGIN_NUMBER:= 11
NUMBERS = $(shell seq 1 $(PLUGIN_NUMBER))
PLUGINS = $(addsuffix .so, $(addprefix basic_plugin_, $(NUMBERS)))
LOAD_PLUGINS = $(addprefix -fplugin=./,$(PLUGINS))

Keybase proof

I hereby claim:

  • I am Feandil on github.
  • I am feandil (https://keybase.io/feandil) on keybase.
  • I have a public key whose fingerprint is 6270 53F7 3832 6919 8843 24AC DBCD 6E77 AB27 F92C

To claim this, I am signing this object: