Datasets:
sample_id stringlengths 32 32 | repository_id stringclasses 668
values | revision stringclasses 668
values | license stringclasses 7
values | relative_path stringlengths 5 165 | project stringlengths 10 152 ⌀ | is_test bool 2
classes | source_sha256 stringlengths 64 64 | caret_utf16_offset int32 0 741k | caret_line_zero_based int32 0 13.9k | caret_column_utf16_zero_based int32 0 232 | caret_byte_offset int64 0 741k | target_end_utf16_offset int32 4 741k | target_end_byte_offset int64 4 741k | line_start_utf16_offset int32 0 741k | line_end_utf16_offset int32 4 741k | caret_kind stringclasses 11
values | caret_subkind stringclasses 259
values | tags listlengths 0 6 | left_context_start_utf16_offset int32 0 735k | left_context_truncated bool 2
classes | left_context stringlengths 0 6k | target_text stringlengths 1 200 | right_context stringlengths 0 1k | right_context_end_utf16_offset int32 19 742k | right_context_truncated bool 2
classes | end_of_line stringclasses 4
values | indentation stringclasses 190
values | quality_flags listlengths 0 4 | split_group stringclasses 668
values | semantic_status stringclasses 3
values | semantic_reason stringclasses 2
values | config_version stringclasses 1
value | generator stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54c7505073fb14b6a6250d07179e4699 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 50 | 2 | 17 | 53 | 55 | 58 | 33 | 55 | member_access | qualified_name | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml. | Linq; |
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
... | 1,055 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
fb2dd3789bdd9b43d31f418f0edf8f3e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 57 | 3 | 0 | 60 | 74 | 77 | 57 | 74 | line_start | using_directive | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
| using System.Xml; |
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(st... | 1,074 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
f8d28687f5e4af71613db3270477696e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 141 | 6 | 13 | 144 | 161 | 164 | 128 | 161 | member_access | qualified_name | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System. | Collections.Generic; |
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
... | 1,161 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
5ecc7d67bd5a20bfc2023cacd984fdc0 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 176 | 7 | 13 | 179 | 200 | 203 | 163 | 200 | member_access | qualified_name | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System. | Runtime.InteropServices; |
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
... | 1,200 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3fa4aeb9bed26b533266397fa605f553 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 232 | 9 | 0 | 235 | 284 | 287 | 232 | 284 | line_start | using_directive | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
| using System.Security.Cryptography.X509Certificates; |
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
}
if(args[0].ToLower() == "help")
{
... | 1,284 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3a3fa552bb571f3fa9aa1eaeeb9dc6f6 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 270 | 9 | 38 | 273 | 284 | 287 | 232 | 284 | identifier_partial | prefix | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X50 | 9Certificates; |
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
}
if(args[0].ToLower() == "help")
{
... | 1,284 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
85100110b7d3efefdb0200d799fac679 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 286 | 10 | 0 | 289 | 308 | 311 | 286 | 308 | line_start | using_directive | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
| using Microsoft.Win32; |
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
}
if(args[0].ToLower() == "help")
{
Usage();
... | 1,308 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
79f0f13db7f6dadfedba8bd4c815463e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 559 | 24 | 23 | 562 | 579 | 582 | 536 | 579 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ToLower() == "help") |
{
Usage();
return;
}
var watch = System.Diagnostics.Stopwatch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('... | 1,579 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7c8f40dacb1731449b06913e80b7d282 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 612 | 26 | 16 | 615 | 620 | 623 | 596 | 620 | line_start | invocation | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Usage(); |
return;
}
var watch = System.Diagnostics.Stopwatch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
... | 1,620 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
28dcecaf7dc69b86aab60892f20a4ec2 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 686 | 29 | 24 | 689 | 726 | 729 | 662 | 726 | after_operator | initializer | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | System.Diagnostics.Stopwatch.StartNew(); |
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
... | 1,726 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6d40b5cc990abc3b0ac4d2ad6acd1edd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 709 | 29 | 47 | 712 | 726 | 729 | 662 | 726 | identifier_partial | prefix | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | watch.StartNew(); |
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
... | 1,726 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
45e8ef99cf6a6dca85379135faeb3cf0 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 762 | 31 | 32 | 765 | 791 | 794 | 730 | 791 | after_keyword | new | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Dictionary<string, string>(); |
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
// TODO: Add write to file
// TODO: Finish A... | 1,791 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7297a59364dd81bdb8af1dfcca2f6ebd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 956 | 36 | 21 | 959 | 1,023 | 1,026 | 935 | 1,023 | identifier_partial | prefix | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | rguments[argument.Substring(0, idx)] = argument.Substring(idx + 1); |
}
// TODO: Add write to file
// TODO: Finish Autoruns
string binp = string.Empty;
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments... | 2,023 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3fe57e79bce41a9ec8f152dc321a9ec8 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,004 | 36 | 69 | 1,007 | 1,023 | 1,026 | 935 | 1,023 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Substring(idx + 1); |
}
// TODO: Add write to file
// TODO: Finish Autoruns
string binp = string.Empty;
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments... | 2,023 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
1f4e9f5cbe2db2c3c5907ae11ed043d4 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,155 | 42 | 33 | 1,158 | 1,161 | 1,164 | 1,122 | 1,161 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Empty; |
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
... | 2,161 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
611c2f4cb06a951ec50169c24af07d19 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,175 | 43 | 12 | 1,178 | 1,209 | 1,212 | 1,163 | 1,209 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | string servicename = string.Empty; |
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("... | 2,209 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
88b50f132a92cb2eae665d51b404a6ab | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,223 | 44 | 12 | 1,226 | 1,242 | 1,245 | 1,211 | 1,242 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | bool quiet = false; |
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths... | 2,242 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
394ac06e4e7de7a0509a1ffb2c7ecc32 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,292 | 46 | 12 | 1,295 | 1,314 | 1,317 | 1,280 | 1,314 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | bool electron = false; |
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths"].ToString().ToLower() == "true")
{
allpa... | 2,314 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
cee4729998f90ecd7733e5216e960173 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,457 | 50 | 16 | 1,460 | 1,473 | 1,476 | 1,441 | 1,473 | line_start | assignment | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | electron = true; |
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths"].ToString().ToLower() == "true")
{
allpaths = true;
}
if (arguments.ContainsKey("quiet") && arguments["quiet"].ToString().ToLower() == "true")
{
... | 2,473 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
9c6f57766e5b7cc7081ad26dff9bcc5e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,755 | 56 | 93 | 1,758 | 1,762 | 1,765 | 1,662 | 1,762 | after_operator | == | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | "true") |
{
quiet = true;
}
if (arguments.ContainsKey("path"))
{
string path = arguments["path"].ToString();
if (File.Exists(path))
{
try
{
... | 2,762 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
07be2bde939e6255427cd51d526b177e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,853 | 61 | 26 | 1,856 | 1,873 | 1,876 | 1,827 | 1,873 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ContainsKey("path")) |
{
string path = arguments["path"].ToString();
if (File.Exists(path))
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string... | 2,873 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7f4d48326e9c875375068fc2d836a39c | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,920 | 63 | 30 | 1,923 | 1,949 | 1,952 | 1,890 | 1,949 | after_operator | initializer | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | arguments["path"].ToString(); |
if (File.Exists(path))
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string asar))
{
Elec... | 2,949 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
881d6eae013fa8882fe684d99020d1f7 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,983 | 64 | 32 | 1,986 | 1,989 | 1,992 | 1,951 | 1,989 | argument_list | open_paren | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | path)) |
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string asar))
{
ElectronChecks(path, arguments, asar);
... | 2,989 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
33ff1e3cd1d71dbca3f5aa0b5c5f03dd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,984 | 64 | 33 | 1,987 | 1,989 | 1,992 | 1,951 | 1,989 | identifier_partial | prefix | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ath)) |
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string asar))
{
ElectronChecks(path, arguments, asar);
... | 2,989 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
89fc8331056bd49aa34e81de55a00a69 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,163 | 70 | 32 | 2,166 | 2,200 | 2,203 | 2,131 | 2,200 | control_flow | if | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | IsElectronApp(path, out string asar)) |
{
ElectronChecks(path, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(path);
... | 3,200 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
ecd62e17419d085f07d9316ee264323a | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,505 | 77 | 85 | 2,508 | 2,511 | 2,514 | 2,420 | 2,511 | argument_list | open_paren | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | path); |
AssemblyChecks(path, arguments);
}
}
catch { }
}
else
{
if (arguments.ContainsKey("recurse") && arguments["recurse"].ToString().ToLower() == "true"... | 3,511 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6527e7195f444569168bc0f26d2bf8ea | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,562 | 78 | 49 | 2,565 | 2,573 | 2,576 | 2,513 | 2,573 | argument_list | after_comma | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | arguments); |
}
}
catch { }
}
else
{
if (arguments.ContainsKey("recurse") && arguments["recurse"].ToString().ToLower() == "true")
{
List<string>... | 3,573 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e6b21c258bf8369e6d862bba4932dba1 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,754 | 87 | 34 | 2,757 | 2,832 | 2,835 | 2,720 | 2,832 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ContainsKey("recurse") && arguments["recurse"].ToString().ToLower() == "true") |
{
List<string> files = DirSearch(path, allpaths, quiet);
foreach (var f in files)
{
try
{
if (electron == true)
... | 3,832 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
970accbd17c23c67c7de4f7b036cef56 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 3,223 | 96 | 55 | 3,226 | 3,242 | 3,245 | 3,168 | 3,242 | token_boundary | IdentifierToken | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | , out string asar)) |
{
ElectronChecks(f, arguments, asar);
}
}
else
{
AssemblyName assemb... | 4,242 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
835561aca0fef6ac9bea9f4603ffff06 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 3,930 | 113 | 42 | 3,933 | 3,955 | 3,958 | 3,888 | 3,955 | after_keyword | in | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Directory.GetFiles(path)) |
{
try
{
if (electron == true)
{
if (IsElectronApp(f, out string asar))
{
... | 4,955 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
44dfe7a802e46d36d386ea79d9db224b | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,092 | 117 | 44 | 4,095 | 4,101 | 4,104 | 4,048 | 4,101 | token_boundary | IdentifierToken | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | == true) |
{
if (IsElectronApp(f, out string asar))
{
ElectronChecks(f, arguments, asar);
}
}
... | 5,101 | true | CRLF | [
"target_starts_with_whitespace"
] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8538914db790d1ed07a8a1a03a704473 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,322 | 121 | 69 | 4,325 | 4,328 | 4,331 | 4,253 | 4,328 | argument_list | after_comma | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | asar); |
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(f);
AssemblyChecks(f, arguments);
... | 5,328 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8caa3eaf2bdfbaf6f7ca827e0f0877fe | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,570 | 126 | 93 | 4,573 | 4,573 | 4,576 | 4,477 | 4,573 | argument_list | open_paren | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | f); |
AssemblyChecks(f, arguments);
}
}
catch { continue; }
}
}
}
watch.Stop();
var ct = watch.Elaps... | 5,573 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e7e2bfc3ea4500af9bdeb751f724d118 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,873 | 135 | 16 | 4,876 | 4,917 | 4,920 | 4,857 | 4,917 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | var ct = watch.ElapsedMilliseconds / 1000.0; |
Console.WriteLine("\n\n[+++] Completed in {0} seconds", ct);
}
else if (arguments.ContainsKey("file"))
{
string file = arguments["file"].ToString();
if (!File.Exists(file))
{
Console.WriteLin... | 5,917 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
232e1eea8060afa5d0964af424089407 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,120 | 140 | 40 | 5,123 | 5,139 | 5,142 | 5,080 | 5,139 | argument_list | open_bracket | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | "file"].ToString(); |
if (!File.Exists(file))
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
try
{
if (electron == true)
... | 6,139 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
85ba521cdd2102d2b61057f5b583f000 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,128 | 140 | 48 | 5,131 | 5,139 | 5,142 | 5,080 | 5,139 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ToString(); |
if (!File.Exists(file))
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
try
{
if (electron == true)
... | 6,139 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
ca5434fc891e03d1c22a92b7274b372e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,167 | 141 | 26 | 5,170 | 5,180 | 5,183 | 5,141 | 5,180 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Exists(file)) |
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
try
{
if (electron == true)
{
... | 6,180 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
edb5cd9b4d599b3f558ef1da4ef1fc95 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,229 | 143 | 28 | 5,232 | 5,265 | 5,268 | 5,201 | 5,265 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | WriteLine("[-] File doesn't exist"); |
return;
}
else
{
try
{
if (electron == true)
{
if (IsElectronApp(file, out string asar))
{
... | 6,265 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
5b541b93912eb23dcaa9e64d02b0d1aa | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,432 | 150 | 28 | 5,435 | 5,449 | 5,452 | 5,404 | 5,449 | control_flow | if | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | electron == true) |
{
if (IsElectronApp(file, out string asar))
{
ElectronChecks(file, arguments, asar);
}
}
else
{
... | 6,449 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
24633067ce959baaf73ff53fb5275fea | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,506 | 152 | 28 | 5,509 | 5,547 | 5,550 | 5,478 | 5,547 | line_start | control_flow | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | if (IsElectronApp(file, out string asar)) |
{
ElectronChecks(file, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(file);
... | 6,547 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e7d906b8e2d1f8581e8e77e26ee62530 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,836 | 159 | 69 | 5,839 | 5,858 | 5,861 | 5,767 | 5,858 | member_access | dot | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | GetAssemblyName(file); |
AssemblyChecks(file, arguments);
}
}
catch { }
}
}
else if (arguments.ContainsKey("collection"))
{
string file = arguments["collection"].ToString();
... | 6,858 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 |
C# full-line completion dataset (Roslyn)
Caret-based full-line completion samples extracted from permissively licensed C# repositories with
csharp-dataset-prepare. Each sample is an exact editor position:
left_context ends at the caret, target_text is the rest of the physical line (no newline), right_context follows it.
Original source is reconstructable from offsets; every row carries repository_id, revision, relative_path and license
for attribution.
| Config | Content |
|---|---|
samples |
canonical samples (flc-sample/v1 fields) |
semantic |
Roslyn facts computed on the target-free editor snapshot (flc-semantic/v1, editor_snapshot policy, safe adhoc tier) |
prompts |
ready flc-prompt/v2 pairs: prompt (special tokens as text) + completion ending with `< |
repos |
per-repository provenance and processing status |
corpus |
whole accepted source files for causal pretraining (exact content, has_bom/newline_style recorded; same licence, generated-code, secret and cross-repository dedup rules) |
engine/cs-16384/ (files, not a config) |
corpus encoded with the plugin engine's tokenizer cs-16384.bpe in the training-shard format of idea-ml-completion (lm = train, validation, test: *.tokens.u16, *.offsets.u64, *.repo.u32, *.files.txt, *.meta.json); its train.py --data reads them unchanged |
Splits are assigned per repository group (forks/near-copies together); cross-repository duplicate files are kept once. No code was built or executed. See the builder repository for the data contract, leakage policy and benchmarks.
How the semantic context is produced
For every sample the builder removes the hidden target from the file (editor-equivalent snapshot) and asks Roslyn what is
visible at the caret: RET return type, EXPECT expected type, ARG parameters, LOCAL locals declared before the caret,
FIELD/PROPERTY/METHOD members of the current type, RECV/MEMBER receiver and its accessible members after .,
CALL overload candidates inside an argument list, TYPE contracts of nearby project types. Facts never come from the hidden
target (per-record leakage audit). The samples table is the canonical, model-agnostic record without facts; the facts live
in semantic (join by sample_id), and prompts already contains both rendered as training pairs.
from datasets import load_dataset
repo = "dvislobokov/csharp-ml-complation"
prompts = load_dataset(repo, "prompts", split="train") # ready prompt/completion pairs
samples = load_dataset(repo, "samples", split="train") # canonical samples (no semantic columns)
semantic = load_dataset(repo, "semantic", split="train") # structured Roslyn facts, same sample_id
Examples (real rows from the prompts config)
prompt ends at the caret with <|complete|>; the model must produce completion (rest of the line + <|eol|>).
Code is shortened here to its last lines; stored prompts keep up to 4,000 characters of code.
Empty line (start of a statement)
github.com/caxzy/LynxOptimizer · Lynx Source/Pages/HelpPage.cs:21 · sample_id 00047773b7681cc90e39e7cd6cb35efb
<|cs|><|path|>Lynx Source/Pages/HelpPage.cs
<|sem|>
RET void
ARG e:EventArgs sender:object
LOCAL discordurl:string
METHOD pictureBox1_Click(object sender, EventArgs e)->void
<|code|>
…
}
private void pictureBox1_Click(object sender, EventArgs e)
{
string discordurl = "https://discord.com/invite/JVEWR9CGk5";
try
{
Process.Start(new ProcessStartInfo
{
FileName = discordurl,
<|complete|>
completion: UseShellExecute = true<|eol|>
After . (receiver members)
github.com/serilog/serilog-expressions · src/Serilog.Expressions/ParserConstruction/Display/TokenAttribute.cs:19 · sample_id 000352b7a3778b642991896e1ce4e695
<|cs|><|path|>src/Serilog.Expressions/ParserConstruction/Display/TokenAttribute.cs
<|sem|>
RECV namespace Serilog.ParserConstruction
MEMBER Combinators; Display; Model; Parse; ParseException; ParserExtensions; Parsers; TextParser; TokenListParser; Tokenizer; Util
<|code|>
…
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ReSharper disable UnusedAutoPropertyAccessor.Global, ClassNeverInstantiated.Global
namespace Serilog.ParserConstruction.<|complete|>
completion: Display;<|eol|>
Inside an argument list (overload candidates)
github.com/Cysharp/R3 · sandbox/ConsoleApp1/Program.cs:19 · sample_id 000e16c178cc6f6c0867150c48dff404
<|cs|><|path|>sandbox/ConsoleApp1/Program.cs
<|sem|>
RET void
EXPECT string
ARG args:string[]
LOCAL subject:Subject<string> x:IReadOnlyBindableReactiveProperty<string?>
TYPE Subject<string>: IsDisposed:bool; Dispose()->void +1; OnCompleted(Result result)->void; OnErrorResume(Exception error)->void; OnNext(string value)->void; Subscribe(Observer<string> observer)->IDisposable
TYPE IReadOnlyBindableReactiveProperty<string?>: EnableValidation()->IReadOnlyBindableReactiveProperty<string?> +3; ForceValidate()->IReadOnlyBindableReactiveProperty<string?>; HasErrors:bool; IsValidationEnabled:bool; Value:string?; AsObservable()->Observable<string?>; ErrorsChanged:EventHandler<System.ComponentModel.DataErrorsChangedEventArgs>?; PropertyChanged:System.ComponentModel.PropertyChangedEventHandler?; Dispose()->void; GetErrors(string? propertyName)->System.Collections.IEnumerable
CALL Dump(string msg)->void @0 msg:string
<|code|>
…
// Observable.Range(1,10).MinBy(
// Enumerable.Range(1,10).MinBy(
var subject = new Subject<string>();
var x = subject!.ToReadOnlyBindableReactiveProperty().EnableValidation(x =>
{
return string.IsNullOrEmpty(x) ? new InvalidDataException("Invalid X") : null;
}).ForceValidate();
x.HasErrors.Dump(<|complete|>
completion: "After initialized"); // (1) False<|eol|>
After a keyword (nearby project types)
github.com/edbmods/EdBPrepareCarefully · Source/PawnLayerBody.cs:12 · sample_id 001b4eb2f91eea61969e54199679a388
<|cs|><|path|>Source/PawnLayerBody.cs
<|sem|>
FIELD options:List<PawnLayerOption> swatches:List<Color>
PROPERTY ColorSelectorType:ColorSelectorType ColorSwatches:List<Color> Options:List<PawnLayerOption> Apparel:bool ApparelLayer:ApparelLayerDef Controller:ControllerTabViewPawns Label:string Name:string
METHOD GetSelectedColor(CustomizedPawn pawn)->Color +1; GetSelectedIndex(CustomizedPawn pawn)->int? +1; GetSelectedOption(CustomizedPawn pawn)->PawnLayerOption +1
TYPE PawnLayerOption: Label:string; Selectable:bool
TYPE ColorSelectorType: None:ColorSelectorType; RGB:ColorSelectorType; Skin:ColorSelectorType; CompareTo(object? target)->int; Equals(object? obj)->bool +1; Format(Type enumType, object value, string format)->string; GetHashCode()->int +1; GetName(Type enumType, object value)->string? +1; GetNames(Type enumType)->string[] +1; GetTypeCode()->TypeCode
TYPE ControllerTabViewPawns: Customizer:PawnCustomizer; PawnManager:ManagerPawns; ProviderPassions:ProviderPassions; RelationshipManager:ManagerRelationships; State:ModState; ViewState:ViewState; AddAbility(AbilityDef def)->void; AddApparel(CustomizationsApparel apparel)->void; AddColonyPawn()->void; AddImplant(Implant implant)->void
TYPE PawnLayer: Apparel:bool; ApparelLayer:ApparelLayerDef; ColorSelectorType:ColorSelectorType; ColorSwatches:List<Color>; Controller:ControllerTabViewPawns; Label:string; Name:string; Options:List<PawnLayerOption>; GetSelectedColor(CustomizedPawn pawn)->Color; GetSelectedIndex(CustomizedPawn pawn)->int?
<|code|>
…
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
using Verse;
namespace EdB.PrepareCarefully {
public class PawnLayerBody : PawnLayer {
private List<PawnLayerOption> options = new <|complete|>
completion: List<PawnLayerOption>();<|eol|>
Progress (updated each batch)
| Status | Repositories | Samples |
|---|---|---|
| failed | 6 | 0 |
| packed | 16 | 15322 |
| pending | 31 | 8290 |
| skipped | 538 | 0 |
| uploaded | 28968 | 148284136 |
Last update: 2026-10-10T05:54:38Z
- Downloads last month
- 831