Skip to content

Instantly share code, notes, and snippets.

View overfl0's full-sized avatar

Lukasz Taczuk overfl0

View GitHub Profile
@overfl0
overfl0 / idapython_ctree.md
Created September 8, 2025 01:56 — forked from icecr4ck/idapython_ctree.md
Notes on CTREE usage with IDAPython

IDAPython CTREE

Important links

Description

The CTREE is built from the optimized microcode (maturity at CMAT_FINAL), it represents an AST-like tree with C statements and expressions. It can be printed as C code.

@overfl0
overfl0 / gist:678c50d9c75308de8d1d3bffccce4914
Created March 11, 2017 01:18
Import appveyoy settings from local appveyor.yml file
curl -H "Authorization: Bearer <APPVEYOR API TOKEN>" -T appveyor.yml https://ci.appveyor.com/api/projects/<OWNER>/<PROJECT>/settings/yaml
@overfl0
overfl0 / robot.js
Created December 18, 2012 14:58 — forked from f6p/robot.js
NecroBadger
// helpers
function areEnemies(robot, sighted) {
var sightedIsChild = (robot.id == sighted.parentId);
var sightedIsParent = (robot.parentId == sighted.id);
return !(sightedIsChild || sightedIsParent);
};
function baseStep(robot) {
@overfl0
overfl0 / robot.js
Created December 13, 2012 20:18 — forked from rafaheringer/robot.js
[qx3] Dr. Dree
var Robot = function(robot) {
this.turnToRight = true;
this.invertedDirection = false;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if(this.turnToRight == true) {
robot.turn(5);
@overfl0
overfl0 / robot.js
Created December 12, 2012 13:01 — forked from sinbonders/robot.js
cloned_by_mistake
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {