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
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/LocalStep.cc:65:5: warning: The right operand of '<' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult] | |
for (int i = 0; i < n_vertices; ++i) { | |
^ | |
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/LocalStep.cc:53:42: note: Left side of '&&' is false | |
if (soup_->getVertexShiftsComputed() && !recompute_shifts_) { | |
^ | |
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/LocalStep.cc:65:5: note: The right operand of '<' is a garbage value | |
for (int i = 0; i < n_vertices; ++i) { | |
^ | |
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/LocalStep.cc:65:5: warning: Value stored to 'i' is never read [clang-analyzer-deadcode.DeadStores] |
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 <vector> | |
#include <iostream> | |
int main() { | |
std::vector<int> v {1,2,3}; | |
for (auto it = v.begin(); it != v.end(); | |
#ifdef PRE | |
++it | |
#else | |
it++ |
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
Thread 6 (Thread 0x7ff4eefda700 (LWP 19115)): | |
#0 __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95 | |
#1 0x00007ff50165e35a in __GI___libc_malloc (bytes=0x7ff460000020, bytes@entry=0x38) at malloc.c:2909 | |
#2 0x00007ff505ff8197 in _dl_map_object_deps (map=map@entry=0x7ff506017000, preloads=preloads@entry=0x0, npreloads=npreloads@entry=0x0, trace_mode=trace_mode@entry=0x0, open_mode=open_mode@entry=0x80000000) at dl-deps.c:499 | |
#3 0x00007ff505ffe7c2 in dl_open_worker (a=a@entry=0x7ff4eefd8940) at dl-open.c:280 | |
#4 0x00007ff505ffa284 in _dl_catch_error (objname=objname@entry=0x7ff4eefd8930, errstring=errstring@entry=0x7ff4eefd8938, mallocedp=mallocedp@entry=0x7ff4eefd892f, operate=operate@entry=0x7ff505ffe6b0 <dl_open_worker>, args=args@entry=0x7ff4eefd8940) at dl-error.c:187 | |
#5 0x00007ff505ffe227 in _dl_open (file=0x7ff501749266 "libgcc_s.so.1", mode=0x80000001, caller_dlopen=0x7ff5016da075 <init+21>, nsid=0xfffffffffffffffe, argc=0x2, argv=<optimized out>, env=0x7fffc84d0c50) at |
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
17223@1473185079.199881:bfin_reg_memory_write write 0x00001300 (ITEST_COMMAND) length 4 with 0x0 | |
17223@1473185079.199922:bfin_reg_memory_write write 0x00000300 (DTEST_COMMAND) length 4 with 0x0 | |
17223@1473185079.199985:bfin_reg_memory_write write 0x00000008 (EVT2) length 4 with 0x6d910 | |
17223@1473185079.199990:bfin_reg_memory_write write 0x0000000c (EVT3) length 4 with 0x6d910 | |
17223@1473185079.199993:bfin_reg_memory_write write 0x00000010 (EVT4) length 4 with 0x6d910 | |
17223@1473185079.199996:bfin_reg_memory_write write 0x00000014 (EVT5) length 4 with 0x6d910 | |
17223@1473185079.199998:bfin_reg_memory_write write 0x00000018 (EVT6) length 4 with 0x6d910 | |
17223@1473185079.200001:bfin_reg_memory_write write 0x0000001c (EVT7) length 4 with 0x6d910 | |
17223@1473185079.200003:bfin_reg_memory_write write 0x00000020 (EVT8) length 4 with 0x6d910 | |
17223@1473185079.200006:bfin_reg_memory_write write 0x00000024 (EVT9) length 4 with 0x6d910 |
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
[ 6119.829787] INFO: task rtkit-daemon:1747 blocked for more than 120 seconds. | |
[ 6119.829801] Tainted: G OE 4.5.0-2-amd64 #1 | |
[ 6119.829803] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
[ 6119.829808] rtkit-daemon D ffff88022f395980 0 1747 1 0x00000000 | |
[ 6119.829817] ffff880036bdc300 ffff8802255c2f80 ffff8800c3104000 ffff8800c3103e40 | |
[ 6119.829824] ffff88022277d880 ffff88022277d868 ffffffff00000000 ffffffff00000001 | |
[ 6119.829829] ffffffff815b4fa1 ffff880036bdc300 ffffffff815b7973 ffff8800c3103de0 | |
[ 6119.829834] Call Trace: | |
[ 6119.829848] [<ffffffff815b4fa1>] ? schedule+0x31/0x80 | |
[ 6119.829854] [<ffffffff815b7973>] ? rwsem_down_write_failed+0x203/0x330 |
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
2 glXChooseFBConfig(dpy = 0x7faa9ca97000, screen = 0, attribList = {GLX_X_RENDERABLE, True, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_DOUBLEBUFFER, True, GLX_STEREO, False, GLX_CONFIG_CAVEAT, GLX_NONE, 0}, nitems = &2) = {0x107, 0x19e} | |
14 glXGetVisualFromFBConfig(dpy = 0x7faa9ca97000, config = 0x107) = &{visual = 0x7faa9cb07070, visualid = 36, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} | |
57 glXCreateContextAttribsARB(dpy = 0x7faa9ca97000, config = 0x107, share_context = NULL, direct = True, attrib_list = {GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 2, GLX_CONTEXT_FLAGS_ARB, 0x0, 0}) = 0x7faa9cbc6140 | |
58 glXMakeCurrent(dpy = 0x7faa9ca97000, drawable = 69206018, ctx = 0x7faa9cbc6140) = True | |
59 glViewport(x = 0, y = 0, width = 1463 |
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
import idaapi as a | |
import idautils as u | |
import idc | |
import datetime | |
MAX_INSN_BACKTRACK=10 | |
regnames = a.ph_get_regnames() | |
print regnames | |
dx = regnames.index("dx") |
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
src/reloading_program.rs:46:28: 46:40 error: the trait `core::convert::From<&glium::program::ProgramCreationInput<'_>>` is not implemented for the type `glium::program::ProgramCreationInput<'_>` [E0277] | |
src/reloading_program.rs:46 let prog = Program::new(self.facade, test); | |
^~~~~~~~~~~~ | |
src/reloading_program.rs:46:28: 46:40 help: run `rustc --explain E0277` to see a detailed explanation | |
src/reloading_program.rs:46:28: 46:40 help: the following implementations were found: | |
src/reloading_program.rs:46:28: 46:40 help: <glium::program::ProgramCreationInput<'a> as core::convert::From<glium::program::SourceCode<'a>>> | |
src/reloading_program.rs:46:28: 46:40 help: <glium::program::ProgramCreationInput<'a> as core::convert::From<glium::program::Binary>> | |
src/reloading_program.rs:46:28: 46:40 note: required by `glium::program::program::Program::new` | |
error: aborting due to previous error |
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
extern crate glium; | |
use glium::Program; | |
use glium::program::{ProgramCreationError, ProgramCreationInput}; | |
use glium::backend::Facade; | |
pub struct ReloadingProgram<'a, F: Facade + 'a> { | |
current: Option<Result<Program, ProgramCreationError>>, | |
facade: &'a F, | |
input: Box<ProgramCreationInput<'a>>, |
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
from strings import stringlist | |
import re | |
import json | |
re_stringaccess = re.compile(r"_\$_447d\[([0-9]+)\]") | |
def main(): | |
def repl(matchobj): | |
numstr = matchobj.groups()[0] | |
idx = json.loads(numstr) |