text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
<|fim_suffix|>intf "[ %08x ]" (vec.ToUInt32()) + Environment.NewLine
| expr -> // XXX FIXME
sprintf "[ %A ]" expr + Environment.NewLine
type ROPValue =
| Expr of ROPExpr
| Gadget of Gadget
module ROPValue =
let inline ofGadget g = Gadget g
let inline ofExpr e = Expr e
let inline ofUInt32 num = R... | fim | B2R2-org/B2R2 | fsharp |
(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without li... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>mt with
| ISMark _ | IEMark _ | LMark _ -> state
| Put(Var(_, _, reg, _), value, _) -> evalPutVar state reg value
| Put(TempVar(_, reg, _), value, _) -> evalPutTemp state reg value
| Store(endian, addr, value, _) -> evalStore state endian addr value
| CJmp(condE, trueE, falseE, _) -> e... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>how
| NoInput
| SwitchParser
module ReplCommand =
let fromString (str: string) =
match str.Trim() with
| "" -> NoInput
| "q" | "quit" | "exit" | "stop" -> Quit
| "switch-parser" | "switchparser" -> SwitchParser
| "show" -> Show
| str -> StmtInput str
<|fim_prefix|>(*
B2R2 ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>tice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFR... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>, v)
let currTmp = rstate.Temporaries.ToArray()
let regdelta = this.ComputeDelta(prevReg, currReg)
prevReg <- currReg
prevTmp <- currTmp
regdelta
member private _.Filter regPairs =
if doFiltering then
regPairs
|> List.filter (fun (r, _) -> Set.contains r generalRegs)... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|> CountAction() =
let rec count (o: obj) =
let typ = o.GetType()
if typ.IsArray then countArrayResult o
elif typ = typeof<Binary> then countBinary o
else Terminator.futureFeature ()
and countArrayResult (o: obj) =
let arr = o :?> _[]
if Array.isEmpty arr then 0 else 1
and co... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|> elms[n].Status <- Visited
cluster.Add elms[n].ElementName |> ignore
elif elms[n].Status <> Unvisited then ()
else
elms[n].Status <- Visited
cluster.Add elms[n].ElementName |> ignore
let newNeighbors = findNeighbor... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>YLim = box.YLim }
|> cmpChangedLines kvd dd1 dd2
let myersDiff dd1 dd2 =
let nDiags = dd1.Len + dd2.Len + 3
let kvd =
{ XOffsets = Array.zeroCreate (2 * nDiags + 2)
IdxForward = dd2.Len + 1
IdxBackward = dd2.Len + 1 + nDiags }
{ XOff = 0; XLim = dd1.Len; YOff = 0... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without li... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 201<|fim_suffix|>Collection<|fim_middle|>6
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in th... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>ut limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*)
namespace B2R2.RearEnd.Transformer
open System.Text
... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>[ "sects" ] | [ "ss" ] ->
{ Values = collection.Values |> Array.map listSections }
| _ -> invalidArg (nameof args) "Invalid argument."
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of c... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without li... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>eActionMap Map.empty
|> parseActions [ "help" ]
|> ignore
| "-d" :: file :: args ->
loadUserDLL file
|> retrieveActionMap
|> parseActions args
|> ignore
| args ->
retrieveActionMap Map.empty
|> parseActions args
|> ignore
0<|fim_prefix|>(*
B2R2 - the Next-Genera... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>ceBySectionName bin secName |> box
| _ -> invalidArg (nameof args) "Invalid argument."
let slice args (input: obj) =
match input with
| :? Binary as bin -> sliceBin args bin
| _ -> invalidArg (nameof input) "Invalid input type."
interface IAction with
member _.ActionID with get()... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
<|fim_suffix|>HER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*)
module B2R2.RearEnd.Transformer.Utils
open System
open System.IO.Hashing
open B2R2.FrontEnd.BinLifter
let [<Literal>] MaxByteSho... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|> OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*)
/// Provides utility functions for parsing command line options.
module B2R2.RearEnd.Utils.CmdOpts
open System
open B2R2
open B2R2.FsOptParse
/// Creates a colored intro string for B2R2.
let makeIntroString () =
Co... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>toColoredString (s: string) col =
ColoredString().Append(col, s)
[<AutoOpen>]
module StringUtils =
/// Converts a string to a ColoredString with no color.
let inline noCol s =
String.toColoredString s NoColor
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) So... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>iteVerticesToLayer vertices
let private phase1 g layout isDown from maxLayer =
let mutable changed = false
if isDown then
for layer = from to maxLayer do
changed <- reorderLayerByBarycenter g layout isDown layer || changed
else
for layer = from downto 0 do
changed <- reorderLaye... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>hen (* BackEdge *)
edge.Label.IsBackEdge <- true
match (vGraph: VisGraph).TryFindEdge(dst, src) with
| Some _ -> (src, dst, edge, false) :: backEdgeList
| None -> (src, dst, edge, true) :: backEdgeList
else backEdgeList
let private dfsCollectBackEdges vGraph backEdgeList =
let _, orde... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>ph) src dst dummies =
let rec loop acc cur = function
| dummy :: rest ->
let e = g.FindEdge(cur, dummy)
loop ((cur, dummy, e.Label) :: acc) dummy rest
| [] ->
let e = g.FindEdge(cur, dst)
List.rev ((cur, dst, e.Label) :: acc)
loop [] src dummies
let private collectMerg... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|> addEdge src (src, kind) sets.SelfCycleEdge
reverseEdges sets.FwdInEdges
reverseEdges sets.FwdOutEdges
reverseEdges sets.BwdInEdges
reverseEdges sets.BwdOutEdges
reverseEdges sets.SelfCycleEdge
sets
and [<RequireQualifiedAccess>] EdgeFlow =
| Incoming
| Outgoing
<|fim_prefix... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>h roots g =
let jsonStr = toStr roots g
File.WriteAllText(path, jsonStr, Encoding.UTF8)
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softw... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>Address with get() = blk.BlockAddress
interface IVisualizable with
member _.BlockAddress with get() = blk.BlockAddress
member _.LineAddrRanges with get() = blk.LineAddrRanges
member _.Visualize() = visualizableAsm
interface IAddressable with
member _.PPoint with get() = addressable... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>
member _.Points with get() = points and set(v) = points <- v<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>(*
B2R2 - the Next-Generation Reversing Platform
Copyright (c) SoftSec Lab. @ KAIST, since 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | fim | B2R2-org/B2R2 | fsharp |
<|fim_suffix|>HER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*)
module B2R2.RearEnd.Visualization.Visualizer
#if DEBUG
open B2R2
#endif
open B2R2.MiddleEnd.BinGraph
let private convert iGr... | fim | B2R2-org/B2R2 | fsharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using Klocman.Extensions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Thre... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>#include <iostream>
#include <Windows.h>
#include <tchar.h>
#include <cstring>
#include <string>
std::wstring ExePath()
{
TCHAR buffer[MAX_PATH] = { 0 };
GetModuleFileName(NULL, buffer, MAX_PATH);
std::wstring::size_type pos = std::wstring(buffer).find_last_of(L"\\/");
return std::wstring(buffer).su... | fim | BCUninstaller/Bulk-Crap-Uninstaller | cpp |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by BCU-launcher.rc
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALU... | fim | BCUninstaller/Bulk-Crap-Uninstaller | c |
<|fim_suffix|>nHelp.Name = "buttonHelp";
buttonHelp.UseVisualStyleBackColor = true;
buttonHelp.Click += buttonHelp_Click;
//
// textBoxPatternInput
//
resources.ApplyResources(textBoxPatternInput, "textBoxPatternInput");
textBoxPatter... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions;
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> }
public static IEnumerable<ClipboardCopyItem> Items { get; }
private static Func<ApplicationUninstallerEntry, object>[] FormatGetterFuncs { get; }
public Func<ApplicationUninstallerEntry, object> Getter { get; }
public string Name { get; }
public string FancyNa... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>lse;
//
// flowLayoutPanel1
//
resources.ApplyResources(flowLayoutPanel1, "flowLayoutPanel1");
flowLayoutPanel1.Name = "flowLayoutPanel1";
//
// openFileDialog1
//
openFileDialog1.DereferenceLin... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> goto RewindDropLoop;
}
}
catch (Exception ex)
{
PremadeDialogs.GenericError(ex);
}
}
else
{
try
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Controls
{
partial class ListLegend
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions.ApplicationList;
using Klocman.Forms.Tools;
namespace BulkCrapUninsta... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Forms
{
partial class RelatedUninstallerAdder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> Enabled = false;
}
private bool _enabled;
public bool Enabled
{
get { return _enabled; }
set { _enabled = value; }
}
public ApplicationUninstallerEntry Entry { get; }
public I... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>lectedAsFilters;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton toolStripButtonDelete;
}
}
<|fim_prefix|>namespace BulkCrapUninstaller.Controls
{
partial class AdvancedFilters
{
/// <summary>
/... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>ms(filters);
RepopulateList();
}
public void RepopulateList()
{
uninstallListEditor1.PopulateList();
//OnCurrentListChanged(this, EventArgs.Empty);
OnFiltersChanged(this, EventArgs.Empty);
}
private void toolStripBu... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Controls.Settings
{
partial class CacheSettings
{
/// <summary>
/// Required designer variable.
<|fim_suffix|> /// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System.Windows.Forms;
using Klocman.Binding.Settings;
namespace BulkCrapUninstaller.Controls.Settings
{
public partial class CacheSettings : UserControl
{
private readonly SettingBinder<Prop... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>this");
AutoScaleMode = AutoScaleMode.Font;
Controls.Add(groupBox1);
Controls.Add(groupBox2);
Name = "PropertiesSidebar";
groupBox2.ResumeLayout(false);
groupBox2.PerformLayout();
flowLayoutPanel2.ResumeLayout(false);
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> }
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public int GetSuggestedWidth()
{
var maxWidth = typeof(PropertiesSidebar)
.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
.Where(x => x... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>formLayout();
((System.ComponentModel.ISupportInitialize)numericUpDownMaxConcurrent).EndInit();
groupBox2.ResumeLayout(false);
groupBox2.PerformLayout();
flowLayoutPanel4.ResumeLayout(false);
flowLayoutPanel4.PerformLayout();
groupBox... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>(checkBoxSimulate, x => x.AdvancedSimulate, this);
sb.BindControl(checkBoxAutoKillQuiet, x => x.QuietAutoKillStuck, this);
sb.BindControl(checkBoxRetryQuiet, x => x.QuietRetryFailedOnce, this);
sb.BindControl(checkBoxGenerate, x => x.QuietAutomatization, this);... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Windows.Forms;
namespace BulkCrapUninstaller.Controls
{
public class TabControlWithoutHeader : TabControl
{
public TabControlWithoutHeader()
{
if (!De... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label labelInfo2;
}
}<|fim_prefix|>namespace BulkCrapUninstaller.Forms
{
partial class UninstallConfirmation
{
/// <summary>
/// Required designer variable.
/// </summary>
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using BrightIdeasSoftware;
using BulkCrapUninstaller.Functions;
using UninstallTools.Uninstaller;
namespace BulkCrapUninstaller.Forms
{
public partial class UninstallConfirmation : UserControl
{
public Unins... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>using BulkCrapUninstaller.Properties;
using Klocman.Extensions;
using Klocman.Tools;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
namespace BulkCrapUninstaller
{
public static class CultureConfigurator
{
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> }
}
else
{
CustomMessageBox.ShowDialog(null, new CmbBasicSettings("BCUninstaller is already running", "BCUninstaller is already running", "You can start only one instance of BCUninstaller. Close previous instances and try again. If you... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Forms
{
partial class AdvancedClipboardCopyWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bein... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions;
using Klocman.Forms.Tools;
using UninstallTools;
namespace BulkCrapUninstaller.Forms
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>using System.ComponentModel;
using System.Windows.Forms;
namespace BulkCrapUninstaller.Forms
{
partial class DebugWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean u... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions;
using BulkCrapUninstaller.Functions... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>l5.ResumeLayout(false);
this.flowLayoutPanel5.PerformLayout();
this.flowLayoutPanel1.ResumeLayout(false);
this.flowLayoutPanel1.PerformLayout();
this.flowLayoutPanel2.ResumeLayout(false);
this.flowLayoutPanel2.PerformLayout();
this.fl... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Windows.Forms;
using BulkCrapUninstaller.Properties;
namespace BulkCrapUninstaller.Forms
{
public partial class FeedbackBox : Form
{
public static void Sho... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Forms
{
partial class FeedbackWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel<|fim_suffix|> /// <summary>
/// Required method for Designer support - do not modify
/// ... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Windows.Forms;
namespace<|fim_suffix|> false;
//webBrowser.Visible = false;
}
public static void ShowFeedbackDialog()
{
us... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Forms
{
partial class ListLegendWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> {
if (Opacity < .9)
opacityResetTimer.Start();
}
private void ListLegendWindow_EnabledChanged(object sender, EventArgs e)
{
if (Opacity < .9)
opacityResetTimer.Start();
}
private void opacityResetTimer_Ti... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>;
Controls.Add(tableLayoutPanel1);
Controls.Add(label3);
Controls.Add(linkLabel7);
Controls.Add(linkLabel4);
Controls.Add(linkLabel3);
Controls.Add(linkLabel2);
Controls.Add(linkLabel6);
Controls.Add(linkLabel5... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions;
using BulkCrapUninstaller.Properties;
namespace BulkCrapUninstaller.Forms
{
public partial class NewsPopup : Form
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>es.ApplyResources(tabPage2, "tabPage2");
tabPage2.Name = "tabPage2";
tabPage2.UseVisualStyleBackColor = true;
//
// dataGridView1
//
dataGridView1.AllowUserToAddRows = false;
dataGridView1.AllowUserToDeleteRows = false;
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> {
try
{
File.WriteAllText(saveFileDialog1.FileName, content.GetText());
}
catch (Exception ex)
{
MessageBoxes.ExportFailed(ex.Message, this);
}
}
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>namespace BulkCrapUninstaller.Forms
{
partial class RatingPopup
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|> }
}
}<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions.Ratings;
namespace BulkCrapUninstaller.Forms
{
public partial c... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>
private System.Windows.Forms.GroupBox groupBox2;
private Controls.FileTargeter fileTargeter1;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>);
DirectoriesSelected?.Invoke(this, e);
}
private void WindowTargeter1OnPickingStarted(object sender, EventArgs e)
{
_setMainWindowVisible(false);
}
private void WindowTargeterWindowSelected(object sender, Klocman.Subsystems.WindowHoverEve... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>lickAction_DoNothing))] DoNothing = 0,
[LocalisedName(typeof (Localisable),nameof(Localisable.UninstallerListDoubleClickAction_Properties))] OpenProperties,
[LocalisedName(typeof (Localisable), nameof(Localisable.UninstallerListDoubleClickAction_Uninstall))] Uninstall
}
<|fim_prefix|>using BulkCr... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>using System.ComponentModel;
using System.Windows.Forms;
using BulkCrapUninstaller.Functions.Tracking;
namespace BulkCrapUninstaller.Forms
{
partial class AboutBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
using BulkCrapUninstaller.Properties;
using Klocman.Extensions;... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_prefix|>using System.ComponentModel;
using System.Windows.Forms;
using BrightIdeasSoftware;
using BulkCrapUninstaller.Functions.Tracking;
namespace BulkCrapUninstaller.Forms
{
partial class JunkRemoveWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
pr... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using BrightIdeasSoftware;
using BulkCrapUni... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
<|fim_suffix|>.StartProcessingThread(_listView.FilteredUninstallers);
else
{
_uninstallerListPostProcesser.StopProcessingThread();
SafeRefreshObjects(_listView.AllUninstallers.Where(u => u.IsCertificateValid(true).HasValue));
}
}
priv... | fim | BCUninstaller/Bulk-Crap-Uninstaller | csharp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.